/* ============================================================
   Lumen — Digital Marketing Landing
   Light, spacious, professional. Blue/teal accents.
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --bg-tint: #eef4fb;
  --ink: #0f172a;
  --ink-soft: #475569;
  --ink-mute: #64748b;
  --line: #e6ecf3;
  --line-soft: #eef2f7;
  --primary: #2563eb;
  --primary-ink: #1d4ed8;
  --teal: #0ea5a4;
  --amber: #f59e0b;
  --white: #ffffff;

  --radius: 16px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04);
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, .12);
  --shadow-lift: 0 18px 40px -16px rgba(37, 99, 235, .22);

  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Sora', 'Inter', system-ui, sans-serif;

  --maxw: 1160px;
  --gutter: clamp(20px, 5vw, 40px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -48px;
  background: var(--ink); color: #fff; padding: 10px 16px;
  border-radius: 8px; z-index: 200; transition: top .2s;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .45);
  outline-offset: 2px;
  border-radius: 6px;
}

/* -------------------- Buttons & links -------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-family: var(--font-head); font-weight: 600;
  font-size: 0.98rem; padding: 13px 24px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--teal));
  color: #fff; box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-block { width: 100%; }

.link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary-ink); font-weight: 600; font-size: 0.94rem;
  transition: gap .18s ease, color .18s ease;
}
.link:hover { gap: 10px; color: var(--teal); }

.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.76rem; font-weight: 600; color: var(--primary);
  margin-bottom: 14px;
}

/* -------------------- Header -------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-name {
  font-family: var(--font-head); font-weight: 700;
  font-size: 1.22rem; letter-spacing: -0.02em;
}
.nav { display: flex; align-items: center; }
.nav-list {
  display: flex; align-items: center; gap: 30px;
  list-style: none; margin: 0; padding: 0;
}
.nav-list a { color: var(--ink-soft); font-weight: 500; font-size: 0.96rem; transition: color .18s; }
.nav-list a:hover { color: var(--ink); }
.nav-cta {
  color: var(--primary-ink) !important; font-weight: 600 !important;
  border: 1px solid var(--line); padding: 9px 18px; border-radius: 999px;
  transition: border-color .2s, background .2s;
}
.nav-cta:hover { border-color: var(--primary); background: var(--bg-tint); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span {
  width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* -------------------- Hero -------------------- */
.hero { position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.72) 0%, rgba(255,255,255,.86) 55%, #fff 100%),
    linear-gradient(120deg, rgba(37,99,235,.10), rgba(14,165,164,.08)),
    url('../images/hero-marketing.jpg') center/cover no-repeat;
}
.hero-inner {
  position: relative; z-index: 1;
  padding-block: clamp(72px, 12vw, 130px);
  max-width: 760px;
}
.hero h1 {
  font-size: clamp(2.3rem, 6vw, 3.7rem);
  margin-bottom: 20px;
}
.hero-sub {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--ink-soft); max-width: 560px; margin-bottom: 32px;
}
.hero-form {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  max-width: 520px;
}
.hero-form .field { flex: 1 1 240px; margin: 0; }
.hero-form input {
  width: 100%; padding: 14px 18px; font-size: 1rem;
  border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink); font-family: var(--font-body);
  transition: border-color .18s, box-shadow .18s;
}
.hero-form input:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37,99,235,.14);
}
.hero-note { margin-top: 16px; color: var(--ink-mute); font-size: 0.92rem; }
.form-error {
  flex-basis: 100%; color: #dc2626; font-size: 0.9rem; margin: 2px 0 0;
}
.form-success {
  flex-basis: 100%; color: var(--teal); font-weight: 600;
  font-size: 0.95rem; margin: 4px 0 0;
}

/* -------------------- Sections -------------------- */
.section { padding-block: clamp(64px, 9vw, 108px); }
.section-alt { background: var(--bg-soft); border-block: 1px solid var(--line-soft); }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: 14px; }
.section-lead { color: var(--ink-soft); font-size: 1.08rem; }

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

.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
}

/* Services */
.service-card {
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(37,99,235,.35);
}
.service-icon {
  width: 76px; height: 76px; border-radius: 18px;
  display: grid; place-items: center; margin-bottom: 6px;
  background: linear-gradient(135deg, var(--bg-tint), #eefaf9);
  border: 1px solid var(--line-soft);
}
.service-icon img { width: 52px; height: 52px; object-fit: contain; }
.service-card h3 { font-size: 1.18rem; }
.service-card p { color: var(--ink-soft); font-size: 0.98rem; flex: 1; }
.service-card .link { margin-top: 6px; }

.section-cta {
  margin-top: 52px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.section-cta p { color: var(--ink-soft); font-size: 1.05rem; }

/* Why / values */
.value-grid { gap: 20px 40px; }
.value { display: flex; gap: 18px; align-items: flex-start; }
.value-badge {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.value h3 { font-size: 1.12rem; margin-bottom: 6px; }
.value p { color: var(--ink-soft); font-size: 0.98rem; }

/* Testimonials */
.quote-card { display: flex; flex-direction: column; gap: 16px; }
.stars { display: flex; gap: 3px; }
.quote-card blockquote {
  margin: 0; font-size: 1.05rem; color: var(--ink); line-height: 1.6;
}
.quote-card figcaption { display: flex; flex-direction: column; }
.quote-card .name { font-weight: 600; font-family: var(--font-head); }
.quote-card .role { color: var(--ink-mute); font-size: 0.9rem; }

/* Lead capture */
.section-cta-lead {
  background:
    radial-gradient(1000px 400px at 50% -10%, rgba(37,99,235,.08), transparent 70%),
    var(--bg-soft);
}
.lead-card {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px;
  align-items: center;
  background: #fff; border: 1px solid var(--line);
  border-radius: 24px; padding: clamp(28px, 5vw, 52px);
  box-shadow: var(--shadow);
}
.lead-copy h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: 14px; }
.lead-sub { color: var(--ink-soft); font-size: 1.06rem; margin-bottom: 22px; }
.lead-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lead-points li {
  position: relative; padding-left: 28px; color: var(--ink-soft);
}
.lead-points li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 16px; height: 16px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--teal));
}

.lead-form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.field .req { color: #dc2626; }
.field .optional { color: var(--ink-mute); font-weight: 400; }
.field input {
  padding: 13px 16px; font-size: 1rem; font-family: var(--font-body);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink);
  transition: border-color .18s, box-shadow .18s;
}
.field input:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37,99,235,.14);
}
.field input[aria-invalid="true"] { border-color: #dc2626; }
.field-error { color: #dc2626; font-size: 0.85rem; }
.lead-success {
  margin-top: 4px; color: var(--teal); font-weight: 600;
  background: #ecfdf5; border: 1px solid #a7f3d0;
  padding: 12px 16px; border-radius: var(--radius-sm);
}

/* -------------------- Footer -------------------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px; padding-block: 56px 40px;
}
.footer-desc { color: var(--ink-soft); font-size: 0.96rem; margin: 14px 0; max-width: 340px; }
.footer-email { color: var(--primary-ink); font-weight: 600; }
.footer-links h4, .footer-social h4 {
  font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-mute); margin-bottom: 16px;
}
.footer-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { color: var(--ink-soft); font-size: 0.96rem; transition: color .18s; }
.footer-links a:hover { color: var(--ink); }
.social-row { display: flex; gap: 12px; }
.social-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--ink-soft);
  background: #fff; transition: color .18s, border-color .18s, transform .18s;
}
.social-btn:hover { color: var(--primary); border-color: var(--primary); transform: translateY(-2px); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 22px; border-top: 1px solid var(--line);
  color: var(--ink-mute); font-size: 0.9rem;
}
.footer-legal { color: var(--ink-mute); }
.footer-legal:hover { color: var(--ink); }

/* -------------------- Reveal animation -------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* -------------------- Responsive -------------------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .lead-card { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-list {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 14px var(--gutter) 22px;
    box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: transform .22s ease, opacity .22s ease;
  }
  .nav-list.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-list li { width: 100%; }
  .nav-list a { display: block; padding: 10px 4px; }
  .nav-cta { text-align: center; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}

@media (max-width: 460px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero-form { flex-direction: column; align-items: stretch; }
  .hero-form .btn { width: 100%; }
}

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