/* getseoglasgow.co.uk – minimal, fast */
:root {
  --bg: #0f172a;
  --text: #f8fafc;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --accent-hover: #7dd3fc;
  --card: #1e293b;
  --radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

.container { max-width: 960px; margin: 0 auto; padding: 0 1.25rem; }
.hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3.5rem 1.25rem 4rem;
  overflow: hidden;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15,23,42,0.7) 0%, rgba(15,23,42,0.92) 100%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-subhead { margin-bottom: 1.25rem; }
.form-trust {
  font-size: 0.9375rem;
  color: var(--muted);
  max-width: 380px;
  margin: 0 auto 1.25rem;
  line-height: 1.5;
}
.social-proof-lead {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
}
.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.875rem, 4.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--text);
}
.hero p {
  margin: 0 0 1.5rem;
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 44ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}
.cta {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent);
  border: none;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}
.cta:hover { background: var(--accent-hover); }
.cta-secondary {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.cta-secondary:hover { background: rgba(56, 189, 248, 0.15); }
.section-cta { margin-top: 1.5rem; margin-bottom: 0; text-align: center; }

nav {
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
}
nav .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; }
.nav-links { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}
nav a:hover { color: var(--accent); }
nav .nav-cta {
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: var(--bg);
  border-radius: var(--radius);
  font-weight: 600;
}
nav .nav-cta:hover { background: var(--accent-hover); color: var(--bg); }

section { padding: 3.25rem 0; }
section[id] { scroll-margin-top: 1rem; }

.section-panel {
  background: rgba(30, 41, 59, 0.35);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.section-alt {
  background: rgba(15, 23, 42, 0.5);
}
.section-title {
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  border-bottom: 2px solid rgba(56, 189, 248, 0.35);
  display: inline-block;
}
.section-lead {
  font-size: 1.0625rem;
  color: var(--muted);
  margin: 0 0 1rem;
  line-height: 1.65;
  max-width: 65ch;
}
.section-note {
  margin: 1rem 0 0;
  font-size: 0.9375rem;
  color: var(--muted);
  font-style: italic;
}

.benefit-list {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
  color: var(--muted);
  line-height: 1.7;
}
.benefit-list li {
  margin-bottom: 0.5rem;
  position: relative;
}
.benefit-list li::marker { color: var(--accent); }

section h2 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
section p { margin: 0 0 1rem; color: var(--muted); line-height: 1.65; }
section ul { margin: 0 0 1rem; padding-left: 1.25rem; color: var(--muted); }
section li { margin-bottom: 0.5rem; }

.service-cards {
  display: grid;
  gap: 1.25rem;
  margin: 1.25rem 0;
}
@media (min-width: 640px) { .service-cards { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  border-left: 3px solid var(--accent);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  border-left-color: var(--accent-hover);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.service-card-title {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
}
.service-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.6;
}

.steps { display: grid; gap: 1.5rem; }
@media (min-width: 600px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  padding: 1.25rem;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.06);
}
.step strong { display: block; margin-bottom: 0.5rem; color: var(--text); }

.cta-section {
  text-align: center;
  padding: 3.25rem 1.25rem;
  background: linear-gradient(180deg, var(--card) 0%, rgba(30, 41, 59, 0.95) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  margin: 0 1.25rem 2rem;
}
.cta-section h2 { margin-bottom: 0.5rem; }
.cta-section p { margin-bottom: 1.25rem; }

.site-footer {
  padding: 2.5rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(15, 23, 42, 0.6);
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
}
.footer-inner { max-width: 400px; margin: 0 auto; }
.footer-brand {
  margin: 0 0 0.25rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
}
.footer-tagline { margin: 0 0 0.5rem; }
.footer-contact { margin: 0; }
.site-footer a { color: var(--accent); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.hero-img {
  width: 100%;
  max-height: 42vh;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Lead form – multistep, form-CRO */
.hero-form-card {
  max-width: 400px;
  margin: 0 auto;
  padding: 1.75rem 1.5rem;
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
  backdrop-filter: blur(8px);
}
.lead-form {
  max-width: 100%;
  margin: 0;
  text-align: left;
}
.form-progress {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
  letter-spacing: 0.02em;
}
.lead-form label {
  display: block;
  font-weight: 500;
  margin: 0 0 0.25rem;
  color: var(--text);
  font-size: 0.9375rem;
}
.lead-form input,
.lead-form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  margin-bottom: 1rem;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  min-height: 44px;
}
.lead-form textarea { min-height: 80px; resize: vertical; }
.lead-form input::placeholder,
.lead-form textarea::placeholder { color: var(--muted); opacity: 0.8; }
.lead-form .optional { font-weight: 400; color: var(--muted); }
.form-privacy {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0 0 1rem;
}
.lead-form .cta { width: 100%; margin-top: 0.25rem; min-height: 44px; }
.form-step[hidden] { display: none !important; }
.field-error { display: block; color: #f87171; font-size: 0.875rem; margin-top: 0.25rem; }
.lead-form .input-invalid { border-color: #f87171; }

nav .logo-wrap { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; color: var(--text); }
nav .logo-wrap:hover { color: var(--accent); }
nav .logo-wrap img { width: 28px; height: 28px; display: block; }

/* Thank you page */
.thank-you-page { padding: 3rem 0 4rem; }
.thank-you-card {
  max-width: 480px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  text-align: center;
}
.thank-you-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  background: var(--accent);
  border-radius: 50%;
  position: relative;
}
.thank-you-icon::after {
  content: '✓';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--bg);
  line-height: 1;
}
.thank-you-page h1 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}
.thank-you-lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.0625rem;
}
.thank-you-next {
  text-align: left;
  margin: 0 0 1.75rem;
  padding: 1.25rem 1.25rem 1.25rem 2rem;
  background: rgba(15,23,42,0.5);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}
.thank-you-next h2 {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}
.thank-you-next ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.thank-you-next li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}
.thank-you-next li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
}
.thank-you-next li:last-child { margin-bottom: 0; }
.thank-you-card .cta { margin-top: 0.25rem; }
.thank-you-card-error .thank-you-icon { background: var(--muted); }
.thank-you-card-error .thank-you-icon::after { display: none; }
.thank-you-card-error .thank-you-icon::before {
  content: '!';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bg);
}

/* FAQ */
.faq-section { padding: 3rem 0; }
.faq-list { margin: 0; }
.faq-list dt {
  font-weight: 600;
  color: var(--text);
  margin: 1.25rem 0 0.4rem;
}
.faq-list dt:first-of-type { margin-top: 0; }
.faq-list dd {
  margin: 0 0 0 0;
  color: var(--muted);
  line-height: 1.6;
}
.faq-cards dt {
  padding: 1rem 1.25rem;
  margin: 0.75rem 0 0;
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  border-left: 3px solid var(--accent);
  font-size: 1rem;
}
.faq-cards dt:first-of-type { margin-top: 0; }
.faq-cards dd {
  padding: 0 1.25rem 1rem;
  margin: 0;
  border-left: 1px solid rgba(255,255,255,0.06);
  margin-left: 1.25rem;
  padding-left: 1rem;
  font-size: 0.9375rem;
}
