/* SEO That Sells — shared styles */
:root {
  --ink: #0d1b2a;
  --ink-2: #33415c;
  --muted: #5c677d;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --brand: #0a7d4f;
  --brand-dark: #075c3a;
  --brand-tint: #e6f4ee;
  --accent: #ffb400;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(13, 27, 42, 0.08);
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; color: var(--ink); text-decoration: none; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 9px; background: var(--brand);
  display: grid; place-items: center; color: #fff;
}
.logo-mark svg { width: 20px; height: 20px; }
.logo b { color: var(--brand); }
.menu { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.menu a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-weight: 500; }
.menu a:hover { background: var(--bg-soft); color: var(--ink); }
.menu a[aria-current="page"] { color: var(--brand); }
.menu .btn { margin-left: 8px; color: #fff; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; display: block; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 10px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background .15s, transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(10, 125, 79, 0.25); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-light:hover { color: var(--ink); border-color: var(--ink-2); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { color: var(--ink); filter: brightness(0.96); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* Hero */
.hero { padding: 72px 0 64px; background: linear-gradient(180deg, var(--bg-soft), #fff); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-tint); padding: 5px 12px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 em { font-style: normal; color: var(--brand); }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 560px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 22px; }
.trust { display: flex; gap: 22px; flex-wrap: wrap; color: var(--muted); font-size: .92rem; }
.trust span::before { content: "✓ "; color: var(--brand); font-weight: 700; }
.hero-media { position: relative; }
.hero-media img { border-radius: 18px; box-shadow: var(--shadow); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.float-card {
  position: absolute; left: -24px; bottom: -24px; background: #fff; border-radius: 12px;
  box-shadow: var(--shadow); padding: 14px 18px; display: flex; gap: 12px; align-items: center;
}
.float-card strong { display: block; font-size: 1.4rem; color: var(--brand); line-height: 1.1; }
.float-card small { color: var(--muted); }

/* Page hero (inner pages) */
.page-hero { padding: 64px 0 48px; background: var(--ink); color: #fff; }
.page-hero .lead { color: #c9d3e0; }
.page-hero .eyebrow { background: rgba(255, 255, 255, .1); color: #8ee0b9; }

/* Sections */
section { padding: 80px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

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

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.card-body p { color: var(--muted); }
.card-body .more { margin-top: auto; font-weight: 700; text-decoration: none; }

.icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--brand-tint); color: var(--brand);
  display: grid; place-items: center; margin-bottom: 14px;
}
.icon svg { width: 24px; height: 24px; }
.feature { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.feature p { color: var(--muted); margin: 0; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat strong { display: block; font-size: 2.4rem; color: var(--brand); line-height: 1.1; }
.stat span { color: var(--muted); }

/* Split rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split + .split { margin-top: 80px; }
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: 16px; box-shadow: var(--shadow); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.checks { list-style: none; padding: 0; margin: 18px 0 0; }
.checks li { padding-left: 30px; position: relative; margin-bottom: 10px; color: var(--ink-2); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a7d4f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Process */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; padding: 26px 22px 22px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-weight: 800; font-size: 1.6rem; color: var(--brand); display: block; margin-bottom: 8px;
}
.step p { color: var(--muted); margin: 0; }

/* Case studies */
.case-metrics { display: flex; gap: 18px; flex-wrap: wrap; margin: 6px 0 14px; }
.case-metrics div { background: var(--brand-tint); border-radius: 10px; padding: 8px 12px; }
.case-metrics strong { display: block; color: var(--brand-dark); font-size: 1.25rem; line-height: 1.2; }
.case-metrics small { color: var(--ink-2); }
.tag { display: inline-block; font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { border: 1px solid var(--line); border-radius: 18px; padding: 32px 28px; background: #fff; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); position: relative; }
.plan.featured::before {
  content: "Most popular"; position: absolute; top: -13px; left: 28px; background: var(--brand); color: #fff;
  font-size: .78rem; font-weight: 700; padding: 3px 12px; border-radius: 999px;
}
.plan .price { font-size: 2.6rem; font-weight: 800; line-height: 1; margin: 12px 0 4px; }
.plan .price small { font-size: 1rem; color: var(--muted); font-weight: 500; }
.plan p { color: var(--muted); }
.plan .checks { flex: 1; margin-bottom: 26px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* CTA band */
.cta-band { background: var(--brand); color: #fff; border-radius: 22px; padding: 56px 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0; color: #d4efe2; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.field label .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); padding: 12px 14px; border: 1px solid #cfd6e0; border-radius: 10px; background: #fff;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--brand-tint); border-color: var(--brand); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-weight: 600; }
.form-status.ok { background: var(--brand-tint); color: var(--brand-dark); }
.form-status.err { background: #fdecec; color: #a12a2a; }
.contact-info { list-style: none; padding: 0; margin: 0; }
.contact-info li { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info .icon { margin: 0; flex: none; }
.contact-info strong { display: block; }
.contact-info span { color: var(--muted); }
.side-img { border-radius: 16px; margin-top: 8px; aspect-ratio: 3 / 2; object-fit: cover; }

/* Footer */
.site-footer { background: var(--ink); color: #b6c2d2; padding: 56px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #b6c2d2; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .logo { color: #fff; margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid #22324a; margin-top: 40px; padding-top: 22px; font-size: .9rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-media { order: 0; }
  .grid-3, .plans { grid-template-columns: 1fr 1fr; }
  .grid-4, .steps, .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .float-card { left: 12px; bottom: -18px; }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .menu {
    display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; padding: 12px 20px 20px; border-bottom: 1px solid var(--line);
  }
  .menu.open { display: flex; }
  .menu .btn { margin: 8px 0 0; }
}
@media (max-width: 620px) {
  section { padding: 56px 0; }
  .grid-2, .grid-3, .plans, .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 24px; }
  .form-card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
