/* Pulse Digital 2026 – brand colours + cutting-edge CSS */
:root {
  --bg: #fafbfc;
  --bg-alt: #fff;
  --text: #1a1d24;
  --text-muted: #5c6370;
  --accent: #c41e3a;
  --accent-hover: #9e1830;
  --accent-glow: rgba(196, 30, 58, 0.35);
  --border: #e8eaed;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 1px 3px rgba(0,0,0,.06);
  --shadow-lg: 0 20px 40px -15px rgba(0,0,0,.12);
  --font-sans: 'Outfit', system-ui, sans-serif;
  --max-width: 1120px;
  --header-h: 72px;
}

/* Modern CSS: animated gradient (optional, respects reduced motion) */
@keyframes gradient-shift {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(2%, -2%) scale(1.02); }
  66% { transform: translate(-1%, 1%) scale(0.98); }
}
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-blob { animation: float 18s ease-in-out infinite; }
  .hero-gradient { animation: gradient-shift 12s ease-in-out infinite; }
  .reveal { animation: fade-in-up 0.7s ease-out both; }
  .reveal-delay-1 { animation-delay: 0.1s; }
  .reveal-delay-2 { animation-delay: 0.2s; }
  .reveal-delay-3 { animation-delay: 0.3s; }
  .reveal-delay-4 { animation-delay: 0.4s; }
  .reveal-delay-5 { animation-delay: 0.5s; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-blob, .hero-gradient { animation: none; }
  .reveal { animation: none; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Layout */
.wrap {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header – glassmorphism when scrolled (via .is-scrolled if you add JS) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
@supports (backdrop-filter: blur(12px)) {
  .site-header {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
}
.site-header.is-scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.08); }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
}
.site-logo {
  display: flex;
  align-items: center;
  color: var(--text);
}
.site-logo:hover { text-decoration: none; color: inherit; opacity: 0.9; }
.site-logo-img {
  height: 44px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}
.site-logo-fallback {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.5rem 1.5rem;
  flex-wrap: wrap;
}
.nav-list a {
  color: var(--text);
  font-weight: 500;
  padding: 0.35em 0;
}
.nav-list a:hover { color: var(--accent); text-decoration: none; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--text);
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
}
.nav-toggle .hamburger-bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 24px;
  height: 18px;
  position: relative;
}
.nav-toggle .hamburger-bar {
  display: block;
  width: 24px;
  height: 3px;
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.25s ease, background 0.2s ease;
}
.nav-toggle .hamburger-bar--1 { background: var(--accent); }
.nav-toggle .hamburger-bar--2 { background: var(--accent-hover); }
.nav-toggle .hamburger-bar--3 { background: var(--text); }
/* Fancy pattern shift when open: bars morph into X with staggered motion */
.nav-toggle[aria-expanded="true"] .hamburger-bars {
  gap: 0;
}
.nav-toggle[aria-expanded="true"] .hamburger-bar--1 {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger-bar--2 {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] .hamburger-bar--3 {
  transform: translateY(-8px) rotate(-45deg);
}
@media (prefers-reduced-motion: reduce) {
  .nav-toggle .hamburger-bar {
    transition-duration: 0.15s;
    transition-timing-function: ease;
  }
}

/* Hero – gradient mesh, blobs, image overlay */
.hero {
  position: relative;
  padding: 5rem 0 6rem;
  min-height: 42vh;
  display: flex;
  align-items: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg-image {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(250,251,252,0.88) 40%, rgba(250,251,252,0.75) 100%),
    radial-gradient(ellipse 80% 60% at 50% -20%, var(--accent-glow), transparent 50%),
    radial-gradient(ellipse 60% 80% at 100% 50%, rgba(196, 30, 58, 0.06), transparent 45%),
    radial-gradient(ellipse 60% 80% at 0% 80%, rgba(196, 30, 58, 0.05), transparent 45%);
  z-index: -1;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}
.hero-blob-1 { width: min(400px, 80vw); height: min(400px, 80vw); top: -15%; right: -10%; background: var(--accent); }
.hero-blob-2 { width: min(280px, 60vw); height: min(280px, 60vw); bottom: -10%; left: -5%; background: var(--accent); opacity: 0.25; }
.hero-inner { position: relative; z-index: 1; width: 100%; }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: var(--text);
  letter-spacing: -0.03em;
}
.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .tagline {
  font-size: 1.12rem;
  color: var(--text);
  max-width: 44ch;
  margin: 0 auto 0.5rem;
  line-height: 1.65;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.95);
}
.hero .tagline strong {
  color: var(--text);
  font-weight: 700;
}
.hero .tagline--sub {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}
.hero-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 1.5rem;
}
.hero .cta {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 20px var(--accent-glow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.hero .cta:hover {
  background: var(--accent-hover);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--accent-glow);
}
.hero .cta--secondary {
  background: transparent;
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.hero .cta--secondary:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--accent) !important;
  border-color: #fff;
  text-decoration: none;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), 0 0 20px rgba(255, 255, 255, 0.5);
}
.hero .cta--secondary:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* Sections + decorative background pattern */
.section {
  padding: 4rem 0;
  position: relative;
}
.section--alt { background: var(--bg-alt); }
.section--pattern {
  background-image: radial-gradient(circle at 1px 1px, var(--border) 1px, transparent 0);
  background-size: 28px 28px;
  background-position: 0 0;
  background-color: var(--bg);
}
.section--pattern.section--alt { background-color: var(--bg-alt); }
.section-title {
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  font-weight: 800;
  margin: 0 0 1.5rem;
  text-align: center;
  color: var(--text);
  letter-spacing: -0.02em;
}
.section-title + .section-lead,
.section-title + p { margin-top: -0.5rem; }
.section-title--left { text-align: left; margin-bottom: 1rem; }
.cta--ml { margin-left: 0.75rem; }

/* Services grid – cards with icons, gradient border on hover (:has()) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.service-card {
  position: relative;
  display: block;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
a.service-card h3 {
  color: var(--accent);
}
a.service-card:hover h3 {
  text-decoration: underline;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, var(--accent), transparent 40%, transparent 60%, var(--accent));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.service-card:hover {
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(196, 30, 58, 0.1);
  transform: translateY(-4px);
  border-color: transparent;
}
.service-card:hover::before { opacity: 1; }
.service-card-icon {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: linear-gradient(135deg, var(--bg) 0%, var(--border) 100%);
}
.service-card-body { padding: 1.5rem; }
.service-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.service-card h3 .icon-wrap {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.service-card h3 .icon-wrap i { font-size: inherit; }
.value-card-icon i { font-size: 1.15rem; }
.service-card p { margin: 0; color: var(--text-muted); font-size: 0.95rem; line-height: 1.55; }

/* Two-column “What we offer” + optional image */
.offers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: start;
}
.offer-block {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.offer-block:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.offer-block-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: linear-gradient(135deg, var(--bg) 0%, var(--border) 100%);
}
.offer-block-inner { padding: 1.5rem; }
.offer-block h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: var(--text);
}
.offer-block p { margin: 0 0 1rem; color: var(--text-muted); }
.offer-block .num { font-weight: 800; color: var(--accent); margin-right: 0.25em; }
/* Feature split (image + text) */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.feature-split-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}
.feature-split-text h2 { margin: 0 0 1rem; font-size: 1.5rem; font-weight: 800; }
.feature-split-text p { color: var(--text-muted); margin: 0; }
.feature-split-text p + p { margin-top: 1rem; }
@media (max-width: 768px) {
  .feature-split { grid-template-columns: 1fr; }
  .feature-split-image { order: -1; max-height: 240px; aspect-ratio: 16/9; }
}

/* Stats bar – Digital House / Solvid style */
.stats-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem 2.5rem;
  padding: 1.25rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.stats-bar--dark {
  background: var(--text);
  color: #e2e6eb;
  border-bottom: none;
}
.stats-bar--dark .stat-label { color: #b8bcc4; }
.stat-item { font-size: 0.9rem; }
.stat-value { font-weight: 800; font-size: 1.1rem; color: var(--accent); display: block; margin-bottom: 0.15rem; }
.stats-bar--dark .stat-value { color: #fff; }
.stat-label { color: var(--text-muted); font-weight: 500; }

/* Value proposition cards – Solvid-style (icon + title + line) */
.value-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.value-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.value-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: rgba(196, 30, 58, 0.2);
}
.value-card-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.75rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.value-card h3 { font-size: 1rem; font-weight: 700; margin: 0 0 0.35rem; color: var(--text); }
.value-card p { margin: 0; font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }

/* Our offering – bullet list (Digital House style) */
.offering-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.offering-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.offering-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.offering-tagline { text-align: center; font-weight: 600; color: var(--text); margin-top: 1.25rem; }

/* FAQ – accordion-style or simple list */
.faq-list { max-width: 640px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  text-align: left;
  font: inherit;
  font-weight: 600;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}
.faq-q:hover { color: var(--accent); }
.faq-q::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.faq-item.is-open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  padding: 0 0 1.1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  display: none;
}
.faq-item.is-open .faq-a { display: block; }
.faq-a-inner { padding-right: 2rem; }
.faq-list--section { max-width: 700px; margin: 2rem auto 0; }
.faq-list--section .faq-item { margin-bottom: 1.5rem; border-bottom: none; border-top: none; }
.faq-list--section .faq-item h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }

/* Why choose us – numbered list */
.why-list { max-width: 560px; margin: 0 auto; }
.why-list h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 0.5rem; }
.why-list p { margin: 0 0 1.25rem; color: var(--text-muted); }
.why-list .num { font-weight: 800; color: var(--accent); }

/* Testimonials – avatar, card lift, grid by default */
.testimonials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) {
  .testimonials { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .testimonials { grid-template-columns: 1fr; }
}
.testimonial {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.testimonial:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.testimonial-avatar {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.testimonial-avatar img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.testimonial p { margin: 0 0 0.75rem; font-style: italic; color: var(--text); flex-grow: 1; }
.testimonial cite { font-style: normal; font-weight: 600; color: var(--text-muted); font-size: 0.9rem; }

/* Testimonials carousel variant – single-row horizontal scroll on desktop */
@media (min-width: 901px) {
  .testimonials--carousel {
    grid-template-columns: none;
    grid-auto-flow: column;
    /* Show one main card plus a peek of the next */
    grid-auto-columns: min(80vw, 480px);
    overflow-x: auto;
    padding: 0 1.25rem 0.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-padding-left: 1.25rem;
  }
  .testimonials--carousel .testimonial {
    scroll-snap-align: start;
    max-width: 480px;
  }
  .testimonials--carousel::-webkit-scrollbar {
    height: 6px;
  }
  .testimonials--carousel::-webkit-scrollbar-track {
    background: transparent;
  }
  .testimonials--carousel::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.12);
    border-radius: 999px;
  }
}

/* Clients strip – logo grid */
.clients {
  padding: 2.5rem 0;
  text-align: center;
  border-top: 1px solid var(--border);
}
.clients-title { font-size: 0.9rem; font-weight: 600; color: var(--text-muted); margin: 0 0 1.5rem; text-transform: uppercase; letter-spacing: .05em; }
.clients .section-title.clients-title { font-size: clamp(1rem, 2.5vw, 1.25rem); }
.rory-split { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; align-items: start; margin-top: 2rem; }
.rory-photo { width: 100%; max-width: 280px; border-radius: var(--radius-lg); aspect-ratio: 1; object-fit: cover; }
.rory-split ul { margin: 1rem 0; padding-left: 1.25rem; }
.results-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.result-item .stat-value { display: block; font-size: 1.75rem; color: var(--accent); font-weight: 700; }
.result-item .stat-label { display: block; margin-top: 0.35rem; color: var(--text-muted); font-size: 0.95rem; }
@media (max-width: 640px) {
  .rory-split { grid-template-columns: 1fr; }
}
.client-logos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1.5rem 2rem;
  align-items: center;
  justify-items: center;
  max-width: 900px;
  margin: 0 auto;
}
.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  border-radius: var(--radius);
  transition: opacity 0.2s ease, filter 0.2s ease;
  min-height: 60px;
}
.client-logo img {
  max-height: 50px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.75;
}
.client-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}
.client-logo:hover { text-decoration: none; }
.client-names {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Forms */
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-weight: 500; margin-bottom: 0.35rem; color: var(--text); }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
  color: var(--text);
  background: var(--bg-alt);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.btn:hover { background: var(--accent-hover); }
.contact-form { max-width: 480px; margin: 0 auto; }
.contact-form--narrow { max-width: 520px; margin: 0 auto 2rem; }
.lead-in { text-align: center; color: var(--text-muted); font-size: 0.95rem; }
.contact-details { text-align: center; margin-top: 0.5rem; }

/* Footer */
.site-footer {
  background: var(--text);
  color: #b8bcc4;
  padding: 2.5rem 0 2rem;
  margin-top: 3rem;
}
.site-footer a { color: #e2e6eb; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-nav {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}
/* Sufficient contrast on dark footer (WCAG AA): avoid --text-muted on #1a1d24 */
.footer-meta { font-size: 0.85rem; color: #b8bcc4; }
.footer-meta a { color: #e2e6eb; }

/* Page title (inner pages) */
.page-header { padding: 2rem 0 1rem; text-align: center; }
.page-header h1 { font-size: 1.75rem; font-weight: 800; margin: 0; }

/* Page hero (inner pages) */
.page-hero {
  padding: 2.5rem 0 3rem;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}
.page-hero h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 1rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.page-hero .tagline {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 48ch;
  margin: 0 auto 1.25rem;
  line-height: 1.6;
}
.page-hero .cta {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
}
.page-hero .cta:hover { background: var(--accent-hover); text-decoration: none; }
/* Page hero – dark variant (SEO / service pages) */
.page-hero--dark {
  background: var(--text);
  color: #e2e6eb;
}
.page-hero--dark .tagline { color: #b8bcc4; }
.page-hero--dark h1 { color: #fff; }
.page-hero--dark .gradient-text {
  background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-hero--dark .cta {
  background: var(--accent);
  color: #fff !important;
}
.page-hero--dark .cta:hover { background: var(--accent-hover); }

/* Numbered content blocks (service pages) */
.content-blocks {
  max-width: 640px;
  margin: 0 auto;
}
.content-block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.content-block:last-child { border-bottom: none; }
.content-block-num {
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}
.content-block-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--text);
}
.content-block-body p { margin: 0; color: var(--text-muted); line-height: 1.65; }

/* Two-column content blocks (e.g. Why choose us) */
.content-blocks--grid {
  max-width: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.content-blocks--grid .content-block {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  border-bottom: none;
  grid-template-columns: 1fr;
  box-shadow: var(--shadow);
}
.content-blocks--grid .content-block-num {
  margin-bottom: 0.25rem;
}

/* SEO page images (from live site) – hover matches Our services cards */
.seo-page-img {
  max-width: 800px;
  margin: 0 auto 2rem;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.seo-page-img::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, var(--accent), transparent 40%, transparent 60%, var(--accent));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}
.seo-page-img:hover {
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(196, 30, 58, 0.1);
  transform: translateY(-4px);
}
.seo-page-img:hover::before {
  opacity: 1;
}
.seo-page-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

/* Latest builds grid (website-building page) */
.build-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}
.build-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  text-decoration: none;
  color: inherit;
}
.build-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(196, 30, 58, 0.2);
  color: inherit;
}
.build-card--placeholder {
  cursor: default;
  opacity: 0.85;
}
.build-card--placeholder:hover {
  transform: none;
  box-shadow: var(--shadow);
}
.build-card--hidden {
  display: none;
}
.build-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  left: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.5rem;
  background: var(--text-muted);
  color: #fff;
  border-radius: var(--radius);
  text-align: center;
  box-sizing: border-box;
}
.build-badge--soon {
  background: var(--accent);
  text-transform: none;
  letter-spacing: 0.02em;
}
.build-card-thumb {
  width: 64px;
  height: 64px;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
}
.build-card-thumb img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.build-card-thumb--empty {
  background: var(--border);
  opacity: 0.6;
}
.build-card-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.build-card-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Section lead text */
.section-lead {
  text-align: center;
  color: var(--text-muted);
  max-width: 52ch;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

/* Utility layout helpers (replaces inline styles) */
.u-max-width-65ch {
  max-width: 65ch;
  margin-left: auto;
  margin-right: auto;
}
.u-max-width-42ch {
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
}
.u-max-width-640 {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.u-max-width-520 {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.u-max-width-420 {
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.u-mt-2-5rem {
  margin-top: 2.5rem;
}
.u-mt-4rem {
  margin-top: 4rem;
}
.u-mt-1-5 {
  margin-top: 1.5rem;
}
.u-text-center {
  text-align: center;
}
.u-text-muted {
  color: var(--text-muted);
}
.u-text-main {
  color: var(--text);
}
.u-fs-085 {
  font-size: 0.85rem;
}
.u-fs-095 {
  font-size: 0.95rem;
}
.u-fs-12 {
  font-size: 1.2rem;
}
.u-mb-0 {
  margin-bottom: 0;
}
.u-mb-05 {
  margin-bottom: 0.5rem;
}
.u-mb-075 {
  margin-bottom: 0.75rem;
}
.u-mb-1 {
  margin-bottom: 1rem;
}
.u-mb-1-5 {
  margin-bottom: 1.5rem;
}
.u-mb-2 {
  margin-bottom: 2rem;
}

/* Contact strip (phone/email on service pages) */
.contact-strip {
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.contact-strip p { margin: 0 0 0.5rem; color: var(--text); }
.contact-strip a { font-weight: 500; }
.contact-strip .cta { margin-top: 1rem; }

/* Mobile nav */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-list {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg-alt);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-list.is-open { display: flex; }
  .form-row { grid-template-columns: 1fr; }
}
