/* 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.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent);
  border: none;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(56, 189, 248, 0.2);
}
.cta:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.3);
  transform: translateY(-1px);
}
.cta-secondary {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  box-shadow: 0 2px 8px rgba(56, 189, 248, 0.1);
}
.cta-secondary:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--accent-hover);
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.2);
  transform: translateY(-1px);
}
.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:not(.nav-cta):not(.logo-wrap) {
  border-bottom: 1px dotted transparent;
  transition: color 0.2s, border-color 0.2s;
}
nav a:not(.nav-cta):not(.logo-wrap):hover { 
  color: var(--accent);
  border-bottom-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: 4rem 0;
  animation: fadeInUp 0.6s ease-out;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
section[id] { scroll-margin-top: 1rem; }

.section-panel {
  background: rgba(30, 41, 59, 0.4);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
}
.section-panel::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent) 0%, transparent 100%);
  opacity: 0.3;
}
.section-alt {
  background: rgba(15, 23, 42, 0.6);
}
.section-title {
  margin: 0 0 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  border-bottom: 2px solid rgba(56, 189, 248, 0.4);
  display: inline-block;
  position: relative;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--accent);
}
.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: 0;
  list-style: none;
  color: var(--muted);
  line-height: 1.7;
}
.benefit-list li {
  margin-bottom: 0.75rem;
  padding-left: 2rem;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.benefit-icon {
  position: absolute;
  left: 0;
  top: 0.15rem;
  color: var(--accent);
  flex-shrink: 0;
}

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.5rem;
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  border-left: 3px solid var(--accent);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--accent);
  transition: width 0.25s ease;
}
.service-card:hover {
  border-left-color: var(--accent-hover);
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.12);
  transform: translateY(-2px);
}
.service-card:hover::before {
  width: 100%;
  opacity: 0.05;
}
.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 0.75rem;
  padding: 0.75rem;
  background: rgba(56, 189, 248, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.service-card-title {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
}
.service-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
}

.steps { display: grid; gap: 1.75rem; margin: 1.5rem 0; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1023px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .steps { grid-template-columns: 1fr; } }
.step {
  padding: 1.5rem;
  background: var(--card);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.25s ease;
  position: relative;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
}
.step:hover {
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.step-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 0.75rem;
  padding: 0.875rem;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15) 0%, rgba(56, 189, 248, 0.05) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  border: 1px solid rgba(56, 189, 248, 0.2);
}
.step strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text);
  font-size: 1.0625rem;
}

.cta-section {
  text-align: center;
  padding: 4rem 1.25rem;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.08) 0%, var(--card) 50%, rgba(30, 41, 59, 0.95) 100%);
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-radius: 16px;
  margin: 0 1.25rem 2rem;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.05) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 { margin-bottom: 0.5rem; }
.cta-section p { margin-bottom: 1.25rem; }

.site-footer {
  padding: 3rem 1.25rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(15, 23, 42, 0.6);
  color: var(--muted);
  font-size: 0.875rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2rem;
}
.footer-column {
  text-align: left;
}
.footer-column:first-child {
  text-align: left;
}
.footer-brand {
  margin: 0 0 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
}
.footer-tagline {
  margin: 0 0 1rem;
  line-height: 1.6;
}
.footer-contact {
  margin: 0;
}
.footer-column h3 {
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
}
.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-column li {
  margin-bottom: 0.5rem;
}
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}
.footer-copyright {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted);
}
.site-footer a { 
  color: var(--accent); 
  text-decoration: none; 
  border-bottom: 1px dotted var(--accent);
}
.site-footer a:hover { 
  border-bottom-color: var(--accent-hover);
  color: var(--accent-hover);
}
@media (max-width: 640px) {
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-column {
    text-align: center;
  }
}
/* Link styles - dotted underline */
a:not(.cta):not(.nav-cta):not(.logo-wrap) {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px dotted var(--accent);
}
a:not(.cta):not(.nav-cta):not(.logo-wrap):hover {
  border-bottom-color: var(--accent-hover);
  color: var(--accent-hover);
}
.benefit-list a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px dotted var(--accent);
}
.benefit-list a:hover {
  border-bottom-color: var(--accent-hover);
  color: var(--accent-hover);
}

.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: 1.125rem 1.5rem;
  margin: 0.75rem 0 0;
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  border-left: 3px solid var(--accent);
  font-size: 1rem;
  transition: all 0.2s ease;
  cursor: default;
}
.faq-cards dt:hover {
  border-left-color: var(--accent-hover);
  background: rgba(30, 41, 59, 0.8);
}
.faq-cards dt:first-of-type { margin-top: 0; }
.faq-cards dd {
  padding: 0.75rem 1.5rem 1.25rem;
  margin: 0;
  border-left: 1px solid rgba(56, 189, 248, 0.2);
  margin-left: 1.5rem;
  padding-left: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.7;
}