:root {
  --bg: #f8f6f1;
  --surface: #ffffff;
  --surface-muted: #efece4;
  --text: #1f2933;
  --muted: #596775;
  --border: #d8d2c8;
  --primary: #143d5f;
  --primary-dark: #0e2b43;
  --accent: #b9832f;
  --shadow: 0 18px 45px rgba(31, 41, 51, 0.1);
  --radius: 18px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
}

.container {
  width: min(100% - 32px, var(--max-width));
  margin-inline: auto;
}

.narrow {
  max-width: 760px;
}

.section {
  padding: 72px 0;
}

.section-muted {
  background: var(--surface-muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 246, 241, 0.92);
  border-bottom: 1px solid rgba(216, 210, 200, 0.8);
  backdrop-filter: blur(14px);
}

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

.logo {
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.text-link:hover,
.text-link:focus-visible,
.footer-content a:hover,
.footer-content a:focus-visible {
  color: var(--primary);
}

.hero {
  padding-top: 84px;
}

.hero-grid,
.offer-grid,
.contact-grid,
.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 44px;
  align-items: center;
}

.hero h1,
.section h2 {
  margin: 0;
  color: var(--text);
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}

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

p {
  margin: 0;
}

p + p,
h2 + p,
.hero-subtitle,
.section-heading p {
  margin-top: 18px;
}

.hero-subtitle {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.eyebrow,
.card-label {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

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

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--primary-dark);
}

.button-secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--primary);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--primary);
  background: rgba(20, 61, 95, 0.05);
}

.full-width {
  width: 100%;
}

.hero-card,
.service-card,
.sample-card,
.offer-box,
.contact-form {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 30px;
}

.hero-card h2 {
  margin: 0 0 12px;
  font-size: 2rem;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.hero-card p,
.service-card p,
.sample-card p,
.section-heading p,
.narrow p,
.product-grid p,
.contact-grid p,
.process-list p,
.form-note {
  color: var(--muted);
}

.check-list,
.product-list {
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

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

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

.large-list {
  margin-top: 0;
  margin-bottom: 26px;
}

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

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

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

.service-card,
.sample-card {
  padding: 26px;
}

.service-card {
  min-height: 230px;
}

.sample-card {
  min-height: 220px;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
}

.highlight {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
}

.highlight h2,
.highlight p,
.highlight .eyebrow {
  color: #fff;
}

.highlight .eyebrow {
  opacity: 0.78;
}

.offer-box {
  padding: 30px;
  color: var(--text);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  padding: 8px 15px;
  color: var(--primary);
  font-weight: 750;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  border-top: 3px solid var(--accent);
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--surface);
  padding: 22px;
  box-shadow: var(--shadow);
}

.step-number {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
}

.product-list {
  display: grid;
  gap: 12px;
  margin-top: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 26px;
  box-shadow: var(--shadow);
}

.product-list li {
  margin-bottom: 0;
  font-weight: 750;
}

.contact-section {
  background: var(--surface-muted);
}

.contact-form {
  padding: 26px;
}

.form-field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

label {
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font: inherit;
  padding: 12px 14px;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--primary);
  outline: 3px solid rgba(20, 61, 95, 0.16);
}

.form-note {
  margin-top: 12px;
  font-size: 0.9rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 26px 0;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-content a {
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 900px) {
  .hero-grid,
  .offer-grid,
  .contact-grid,
  .product-grid,
  .three-column,
  .process-list {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 56px;
  }

  .section {
    padding: 58px 0;
  }

  .service-card,
  .sample-card {
    min-height: auto;
  }
}

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

  .nav {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 13vw, 3.4rem);
  }

  .button,
  .stacked-mobile .button {
    width: 100%;
  }

  .hero-card,
  .service-card,
  .sample-card,
  .offer-box,
  .contact-form,
  .product-list,
  .process-list li {
    padding: 22px;
  }

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

.hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-submit-frame {
  display: none;
  width: 0;
  height: 0;
  border: 0;
}

button:disabled,
.button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.thank-you-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.thank-you-main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 72px 0;
}

.thank-you-card {
  max-width: 720px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(28px, 6vw, 52px);
  box-shadow: var(--shadow);
  text-align: center;
}

.thank-you-card h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2.2rem, 6vw, 4rem);
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.thank-you-card p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.05rem;
}

.thank-you-card .button {
  margin-top: 28px;
}

.payment-page {
  min-height: 100vh;
}

.payment-hero {
  padding-top: 84px;
}

.payment-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 44px;
  align-items: center;
}

.payment-copy h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2.45rem, 6vw, 4.8rem);
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.payment-note {
  max-width: 760px;
  margin-top: 18px;
  color: var(--muted);
}

.payment-card,
.payment-panel,
.paypal-box,
.detail-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.payment-card {
  padding: 30px;
}

.payment-panel {
  padding: clamp(24px, 5vw, 42px);
}

.payment-heading {
  margin-bottom: 26px;
}

.paypal-box {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: clamp(24px, 5vw, 38px);
  text-align: center;
}

.paypal-fallback-button {
  min-width: min(100%, 280px);
}

.payment-details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.detail-card {
  padding: 22px;
}

.inline-link {
  display: inline;
  margin-top: 0;
}

@media (max-width: 900px) {
  .payment-grid,
  .payment-details-grid {
    grid-template-columns: 1fr;
  }

  .payment-hero {
    padding-top: 56px;
  }
}
