/* =========================================================
   Auryra — Modern, SEO-optimized websites
   Mobile-first, pure HTML/CSS design system
   Type: Space Grotesk (display) + Archivo (text)
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Fonts — Space Grotesk (display) + Archivo (text); ui-ux-pro-max pairing */
  --font-display: "Space Grotesk", "Archivo", system-ui, sans-serif;
  --font-sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Color — "Trust & Authority" palette (ui-ux-pro-max): professional navy + blue CTA */
  --ink: #0f172a; /* slate-900 — headings */
  --body: #475569; /* slate-600 — body text */
  --muted: #64748b; /* slate-500 */
  --line: #e2e8f0; /* slate-200 */
  --line-2: #eef2f7;
  --bg: #ffffff;
  --bg-soft: #f8fafc; /* slate-50 */
  --navy: #0f172a; /* dark sections / footer */
  --navy-2: #1e293b; /* slate-800 */

  --accent: #1e3a8a; /* navy blue — CTA / links */
  --accent-strong: #1e40af; /* navy blue — hover */
  --accent-ink: #1e3a8a; /* navy blue — text on soft tint */
  --accent-soft: #dbeafe; /* blue-100 — tint bg */
  --accent-bright: #3b82f6; /* blue-500 — highlight / glow on dark */

  /* Radius */
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-pill: 999px;

  /* Shadow (subtle) */
  --sh-sm: 0 1px 2px rgba(15, 17, 21, 0.05);
  --sh: 0 4px 16px rgba(15, 17, 21, 0.06);
  --sh-md: 0 12px 32px rgba(15, 17, 21, 0.08);

  /* Layout */
  --container: 1140px;
  --pad: 20px;
  --nav-h: 62px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  font-family: var(--font-sans);
  color: var(--body);
  background: var(--bg);
  font-size: 1rem; /* 16px */
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* ---------- Keyboard focus ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}
.nav__burger:focus-visible,
.hero a:focus-visible,
.page-head a:focus-visible,
.section--dark a:focus-visible,
.cta a:focus-visible,
.footer a:focus-visible {
  outline-color: #fff;
  outline-offset: 3px;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.4rem);
  line-height: 1.04;
}
h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.07;
}
h3 {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.015em;
}
p {
  color: var(--body);
}

.accent-text {
  color: var(--accent);
}

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  color: var(--body);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section {
  padding-block: clamp(60px, 9vw, 120px);
}
.section--soft {
  background: var(--bg-soft);
}
.section--dark {
  position: relative;
  background:
    radial-gradient(75% 120% at 88% -10%, rgba(59, 130, 246, 0.2), transparent 55%),
    radial-gradient(70% 110% at -5% 110%, rgba(30, 58, 138, 0.32), transparent 55%),
    var(--navy);
  color: #c3c9e6;
}
.section--dark h2,
.section--dark h3 {
  color: #fff;
}
.section--dark .lead,
.section--dark p {
  color: #c3c9e6;
}
.section--dark .feature-list li {
  color: #d4d9ef;
}
.section--dark .feature-list svg {
  color: var(--accent-bright);
}
.section--dark .btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}
.section--dark .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
  color: #fff;
}
.section--dark .seo-mock {
  box-shadow: 0 40px 80px -28px rgba(0, 0, 0, 0.6);
}
.section--dark .step__num {
  background: var(--accent-bright);
  box-shadow: 0 10px 24px -10px rgba(59, 130, 246, 0.6);
}
.section--dark .steps::before {
  background: rgba(255, 255, 255, 0.16);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem; /* 12px */
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 12px;
}
.section--dark .eyebrow {
  color: #aab2e6;
}

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
}
.section-head p {
  margin-top: 16px;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.9375rem; /* 15px */
  font-weight: 500;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
  line-height: 1;
  min-height: 44px;
}
.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}
.btn:hover svg {
  transform: translateX(2px);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}
.btn--dark {
  background: var(--ink);
  color: #fff;
}
.btn--dark:hover {
  background: #000;
  transform: translateY(-1px);
}
.btn--ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn--light {
  background: #fff;
  color: var(--ink);
}
.btn--light:hover {
  transform: translateY(-1px);
  box-shadow: var(--sh-md);
}
.btn--lg {
  padding: 14px 24px;
  font-size: 1rem;
}
.btn--block {
  width: 100%;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
}
.nav__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* logo left · links centered · actions right */
  align-items: center;
  gap: 16px;
}
.nav__inner .brand {
  justify-self: start;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.nav__links {
  display: none;
  justify-self: center;
}
.nav__right {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
}
.btn--nav {
  display: none;
}

.lang {
  display: inline-flex;
  align-items: center;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 2px;
}
.lang__btn {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #565d6b;
  padding: 7px 11px;
  border-radius: var(--r-pill);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.lang__btn.is-active {
  background: var(--ink);
  color: #fff;
}

.nav__burger {
  display: inline-flex;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  margin-right: -6px;
}
.nav__burger svg {
  width: 24px;
  height: 24px;
}
.nav__burger .icon-close {
  display: none;
}
body.menu-open .nav__burger .icon-open {
  display: none;
}
body.menu-open .nav__burger .icon-close {
  display: block;
}

body.menu-open {
  overflow: hidden;
}
.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 90;
  background: #fff;
  padding: 20px var(--pad) 40px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
body.menu-open .mobile-menu {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.mobile-menu .m-link {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  padding: 14px 2px;
  border-bottom: 1px solid var(--line-2);
}
.mobile-menu .btn {
  margin-top: 18px;
}

/* ---------- Hero ---------- */
.hero {
  padding-top: calc(var(--nav-h) + 44px);
  padding-bottom: 56px;
  background:
    radial-gradient(110% 120% at 100% 0%, var(--accent-soft) 0%, transparent 55%),
    var(--bg);
}
.hero__grid {
  display: grid;
  gap: 36px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent-ink);
  background: var(--accent-soft);
  border: 1px solid #bfdbfe;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 18px;
}
.hero__badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.hero__lead {
  margin-top: 16px;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--body);
  max-width: 520px;
}
.hero__cta {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero__reassure {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--muted);
}
.hero h1 {
  font-size: clamp(2.3rem, 6.2vw, 3.9rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

/* Hero demo — a real mini-site preview (proof of craft; no client claims, no photos) */
.demo {
  position: relative;
  max-width: 460px;
  margin-inline: auto;
  filter: drop-shadow(0 28px 56px rgba(15, 23, 42, 0.18));
}
.demo__frame {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.demo__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  background: #eef2f7;
  border-bottom: 1px solid var(--line);
}
.demo__bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c8d0db;
}
.demo__url {
  margin-left: 10px;
  flex: 1;
  height: 22px;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding-inline: 12px;
  font-size: 0.66rem;
  color: var(--muted);
}
.demo__site {
  --d: #1c6a4a;
  --d-ink: #0e2c20;
}
.demo__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
}
.demo__wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--d-ink);
  letter-spacing: -0.01em;
}
.demo__nav {
  display: flex;
  gap: 11px;
}
.demo__nav i {
  width: 22px;
  height: 6px;
  border-radius: 3px;
  background: #d6e3dc;
}
.demo__book {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: var(--d);
  padding: 6px 11px;
  border-radius: var(--r-pill);
}
.demo__feature {
  position: relative;
  margin: 0 16px;
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 78% 12%, rgba(255, 255, 255, 0.22), transparent 52%),
    linear-gradient(152deg, #1c6a4a 0%, #2f9e6f 58%, #62c08c 100%);
}
.demo__feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(75% 95% at 16% 96%, rgba(221, 142, 58, 0.45), transparent 58%);
  mix-blend-mode: soft-light;
}
.demo__feature-copy {
  position: relative;
  z-index: 1;
  padding: 24px 20px 26px;
}
.demo__kicker {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 9px;
}
.demo__headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 15px;
}
.demo__cta {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--d-ink);
  background: #fff;
  padding: 8px 14px;
  border-radius: var(--r-pill);
}
.demo__dishes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 16px;
}
.demo__dish {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.demo__thumb {
  aspect-ratio: 1 / 1;
  border-radius: 10px;
}
.demo__thumb.d1 { background: linear-gradient(135deg, #e0623f, #f1a85f); }
.demo__thumb.d2 { background: linear-gradient(135deg, #2f9e6f, #8fd6a8); }
.demo__thumb.d3 { background: linear-gradient(135deg, #c99a36, #ecd07a); }
.demo__dish i {
  display: block;
  height: 6px;
  width: 72%;
  border-radius: 3px;
  background: #e2e8f0;
}
/* floating phone — same brand, responsive (honest "every device" proof) */
.demo__phone {
  position: absolute;
  left: -14px;
  bottom: -26px;
  z-index: 2;
  width: 92px;
  background: #fff;
  border: 3px solid #0f172a;
  border-radius: 15px;
  padding: 8px;
  box-shadow: 0 20px 38px -12px rgba(15, 23, 42, 0.55);
}
.demo__phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
}
.demo__phone-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.52rem;
  color: #0e2c20;
}
.demo__phone-burger {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.demo__phone-burger i {
  width: 9px;
  height: 1.5px;
  border-radius: 2px;
  background: #94a3b8;
}
.demo__phone-feature {
  border-radius: 9px;
  padding: 9px;
  min-height: 62px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 5px;
  margin-bottom: 7px;
  background: linear-gradient(152deg, #1c6a4a, #2f9e6f);
}
.demo__phone-h {
  height: 7px;
  width: 82%;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.95);
}
.demo__phone-sub {
  height: 5px;
  width: 56%;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.6);
}
.demo__phone-btn {
  height: 9px;
  width: 48%;
  border-radius: var(--r-pill);
  background: #fff;
  margin-top: 3px;
}
.demo__phone-card {
  height: 18px;
  border-radius: 7px;
  background: #eef2f7;
}

/* ---------- Trust strip ---------- */
.trust {
  padding-block: 26px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust p {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--body);
  margin-bottom: 16px;
}
.trust__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.trust__row li {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: var(--r-pill);
}

/* ---------- Grid + cards ---------- */
.grid {
  display: grid;
  gap: 16px;
}

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
  height: 100%;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    240px circle at var(--mx, 50%) var(--my, 50%),
    rgba(37, 99, 235, 0.13),
    transparent 62%
  );
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.card:hover::before {
  opacity: 1;
}
.card > * {
  position: relative;
  z-index: 1;
}
.card:hover {
  transform: translateY(-6px);
  border-color: #c5cff2;
  box-shadow: 0 22px 44px -18px rgba(31, 58, 138, 0.3);
}
.card__icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 16px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
    color 0.3s var(--ease);
}
.card:hover .card__icon {
  transform: scale(1.08);
  background: var(--accent);
  color: #fff;
}
.card__icon svg {
  width: 21px;
  height: 21px;
}
.card h3 {
  margin-bottom: 7px;
}
.card p {
  font-size: 0.95rem;
}

/* ---------- Service list panel (Home "What we do") ---------- */
.svc-panel {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(26px, 5vw, 48px) clamp(20px, 5vw, 56px) clamp(14px, 3vw, 28px);
}
.svc-panel__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(18px, 3vw, 30px);
}
.svc-panel__head h2 {
  font-size: clamp(1.5rem, 3vw, 2.05rem);
}
.svc-panel__head p {
  margin-top: 12px;
  font-size: 1rem;
  color: var(--body);
}
.svc-item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 6px 18px;
  padding-block: clamp(22px, 3vw, 30px);
  border-top: 1px solid var(--line);
  transition: background 0.25s var(--ease);
}
.svc-item:hover {
  background: rgba(31, 58, 138, 0.035);
}
.svc-item__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
    color 0.3s var(--ease);
}
.svc-item:hover .svc-item__icon {
  transform: scale(1.06);
  background: var(--accent);
  color: #fff;
}
.svc-item__icon svg {
  width: 24px;
  height: 24px;
  display: block;
}
.svc-item__text h3 {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  margin-bottom: 7px;
}
.svc-item__text p {
  font-size: 1rem;
  color: var(--body);
  max-width: 62ch;
}

@media (min-width: 720px) {
  .svc-item {
    gap: 6px 28px;
  }
}

.feature-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.92rem;
  color: var(--body);
}
.feature-list svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}

/* ---------- Work / portfolio cards (placeholder media, no photos) ---------- */
.work-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.work-card:hover {
  border-color: #dcdef0;
  box-shadow: var(--sh);
  transform: translateY(-3px);
}
.work-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #dbeafe 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--line);
}
.work-card__media svg {
  width: 46px;
  height: 46px;
  color: var(--accent);
  opacity: 0.85;
}
.work-card__media--alt {
  background: linear-gradient(135deg, #e7f0ff 0%, #f4f8ff 100%);
}
.work-card__media--alt2 {
  background: linear-gradient(135deg, #ccfbf1 0%, #f0fdfa 100%);
}
.work-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  padding: 5px 10px;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.work-card__tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}
.work-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.work-card__body h3 {
  margin-bottom: 6px;
}
.work-card__body p {
  font-size: 0.92rem;
  margin-bottom: 14px;
}
.work-card .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.work-card .chips span {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--body);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 4px 9px;
  border-radius: var(--r-pill);
}
.work-card .btn {
  margin-top: auto;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  gap: 28px;
}
.step__num {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 24px -10px rgba(30, 58, 138, 0.55);
}
.step h3 {
  margin-bottom: 7px;
}
.step p {
  font-size: 0.95rem;
}

/* ---------- Split ---------- */
.split {
  display: grid;
  gap: 32px;
  align-items: center;
}
.split h2 {
  margin-bottom: 14px;
}
.split__copy .btn {
  margin-top: 22px;
}
.split__cta {
  margin-top: 28px;
}

/* SEO mock visual (no photos) */
.seo-mock {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh);
  padding: 20px;
}
.seo-mock__search {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 10px 16px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}
.seo-mock__search svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.seo-result {
  padding: 12px 14px;
  border-radius: var(--r-sm);
  margin-bottom: 10px;
  border: 1px solid transparent;
}
.seo-result--top {
  background: var(--accent-soft);
  border-color: #bfdbfe;
}
.seo-result__rank {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-ink);
  margin-bottom: 6px;
}
.seo-result__title {
  height: 10px;
  width: 70%;
  border-radius: 4px;
  background: var(--accent);
  margin-bottom: 7px;
}
.seo-result--top .seo-result__title {
  width: 80%;
}
.seo-result__line {
  height: 7px;
  border-radius: 3px;
  background: var(--line);
  margin-bottom: 5px;
}
.seo-result__line.w90 { width: 90%; }
.seo-result__line.w60 { width: 60%; }

/* ---------- Pricing ---------- */
.price-grid {
  display: grid;
  gap: 16px;
  align-items: stretch;
}
.price {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.price::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    280px circle at var(--mx, 50%) var(--my, 50%),
    rgba(37, 99, 235, 0.11),
    transparent 62%
  );
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.price:hover::before {
  opacity: 1;
}
.price > * {
  position: relative;
  z-index: 1;
}
.price:hover {
  transform: translateY(-6px);
  border-color: #c5cff2;
  box-shadow: 0 24px 48px -18px rgba(31, 58, 138, 0.28);
}
.price--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--sh-md);
}
.price__flag {
  position: absolute;
  z-index: 2;
  top: -11px;
  left: 22px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  padding: 4px 11px;
  border-radius: var(--r-pill);
}
.price h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}
.price__desc {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 16px;
  min-height: 36px;
}
.price__amount {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.price__list {
  margin: 20px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price__list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.9rem;
}
.price__list svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}
.price .btn {
  margin-top: auto;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 720px;
  margin-inline: auto;
}
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--r);
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.faq__item:hover {
  border-color: #c5cff2;
  box-shadow: var(--sh-sm);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__item summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.25s var(--ease);
  line-height: 1;
}
.faq__item[open] summary::after {
  transform: rotate(45deg);
}
.faq__item p {
  padding: 0 20px 20px;
  font-size: 0.93rem;
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(85% 130% at 50% -25%, rgba(59, 130, 246, 0.28), transparent 55%),
    var(--navy);
  border-radius: var(--r-lg);
  padding: clamp(48px, 7vw, 92px) 24px;
  text-align: center;
}
.cta h2 {
  color: #fff;
  font-size: clamp(2rem, 4.6vw, 3.25rem);
  max-width: 18ch;
  margin: 0 auto 14px;
}
.cta p {
  color: #b8bedd;
  max-width: 500px;
  margin: 0 auto 24px;
  font-size: 1rem;
}
.cta__note {
  max-width: 500px;
  margin: -10px auto 26px;
  font-size: 0.9rem;
  color: #9aa3c4;
}

/* Inline mid-page conversion prompt (after a grid) */
.section-cta {
  margin-top: 40px;
  text-align: center;
}
.section-cta__line {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 16px;
}
.section-cta__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Footer credibility line */
.footer__meta {
  margin-top: 12px;
  font-size: 0.82rem;
  color: #969ec4;
}
.cta__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  gap: 32px;
  align-items: start;
}
.contact-info h2 {
  margin-bottom: 12px;
}
.contact-method {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 20px;
}
.contact-method__icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-method__icon svg {
  width: 20px;
  height: 20px;
}
.contact-method h3 {
  font-size: 0.98rem;
  margin-bottom: 2px;
}
.contact-method a,
.contact-method p {
  font-size: 0.93rem;
  color: var(--body);
}
.contact-method a:hover {
  color: var(--accent);
}
.socials {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.socials a {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}
.socials a:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.socials svg {
  width: 18px;
  height: 18px;
}

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 38px);
  box-shadow: var(--sh-md);
}
.field {
  margin-bottom: 16px;
}
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
}
.field input,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem; /* 16px — prevents iOS zoom */
  color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.field input::placeholder,
.field textarea::placeholder {
  color: #5b6170;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea {
  resize: vertical;
  min-height: 120px;
}
.form-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 12px;
  text-align: center;
}
.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #15803d;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 16px;
}
.form-success.show {
  display: flex;
}
.form-success svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: #9aa1c7;
  padding-block: 48px 26px;
}
.footer__grid {
  display: grid;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer .brand {
  color: #fff;
  margin-bottom: 14px;
}
.footer__about {
  font-size: 0.92rem;
  max-width: 340px;
  margin-bottom: 14px;
  line-height: 1.6;
}
.footer__mail {
  font-weight: 500;
  color: #cdd2ec;
}
.footer__mail:hover {
  color: #fff;
}
.footer h3 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer__links li {
  margin-bottom: 10px;
}
.footer__links a {
  font-size: 0.92rem;
  color: #9aa1c7;
  transition: color 0.2s var(--ease);
}
.footer__links a:hover {
  color: #fff;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 22px;
}
.footer__bottom p {
  font-size: 0.82rem;
  color: #969ec4;
}
.footer__social {
  display: flex;
  gap: 10px;
}
.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9aa1c7;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.footer__social a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.footer__social svg {
  width: 17px;
  height: 17px;
}

/* ---------- Page head (inner pages) ---------- */
.page-head {
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: 40px;
  text-align: center;
  background:
    radial-gradient(120% 130% at 50% 0%, var(--accent-soft) 0%, transparent 55%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.page-head h1 {
  margin-top: 4px;
}
.page-head p {
  color: var(--body);
  max-width: 560px;
  margin: 14px auto 0;
  font-size: 1.0625rem;
}

/* ---------- Scroll reveal (progressive enhancement) ---------- */
/* Content is visible by default; only hidden once JS is confirmed (html.js). */
html.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  will-change: opacity, transform;
}
html.js .reveal.in {
  opacity: 1;
  transform: none;
}
.reveal[data-delay="1"] { transition-delay: 0.07s; }
.reveal[data-delay="2"] { transition-delay: 0.14s; }
.reveal[data-delay="3"] { transition-delay: 0.21s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Breakpoints (mobile-first → up)
   ========================================================= */

/* ---- >= 600px : small tablets ---- */
@media (min-width: 600px) {
  .grid { gap: 18px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .btn { width: auto; }
}

/* ---- >= 880px : show desktop nav, larger type ---- */
@media (min-width: 880px) {
  :root {
    --nav-h: 72px;
    --pad: 24px;
  }
  .hero__lead { font-size: 1.25rem; }
  .price__amount { font-size: 1.85rem; }

  .nav__links {
    display: flex;
    align-items: center;
    gap: 28px;
  }
  .nav__link {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--body);
    position: relative;
    transition: color 0.2s var(--ease);
  }
  .nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    height: 2px;
    width: 100%;
    background: var(--accent);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--ease);
  }
  .nav__link:hover,
  .nav__link.is-active { color: var(--ink); }
  .nav__link:hover::after,
  .nav__link.is-active::after { transform: scaleX(1); }

  .nav__burger { display: none; }
  .mobile-menu { display: none; }
  .btn--nav { display: inline-flex; }

  .hero {
    padding-top: calc(var(--nav-h) + 64px);
    padding-bottom: 80px;
  }
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
  }

  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .steps {
    grid-template-columns: repeat(4, 1fr);
    position: relative;
  }
  .steps::before {
    content: "";
    position: absolute;
    top: 27px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: var(--line);
    z-index: 0;
  }
  .step {
    text-align: center;
  }
  .step__num {
    margin-inline: auto;
  }
  .price-grid { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 0.85fr 1.15fr; }

  .cta { padding: 56px 40px; }
  .page-head { padding-top: calc(var(--nav-h) + 56px); padding-bottom: 56px; }
}

/* ---- >= 1080px : roomier gutters ---- */
@media (min-width: 1080px) {
  :root {
    --pad: 32px;
  }
}
