:root {
  --ink: #101828;
  --muted: #64748b;
  --line: #e2e8f0;
  --surface: #ffffff;
  --soft: #f4f9fc;
  --blue: #26a9e0;
  --blue-dark: #0d3f56;
  --red: #e42d2d;
  --green: #16a34a;
  --shadow: 0 20px 55px rgba(15, 23, 42, 0.11);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  line-height: 1.6;
}

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  backdrop-filter: blur(14px);
}

.contact-strip {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  align-items: center;
  min-height: 2.6rem;
  padding: 0.5rem 1rem;
  background: var(--blue);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
}

.contact-strip a:last-child {
  margin-left: 1rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 5rem;
  gap: 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 8rem;
  font-weight: 900;
  color: var(--blue-dark);
}

.brand img {
  width: 118px;
  height: auto;
}

.brand span {
  display: none;
}

.menu-button {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
  font-weight: 700;
  color: #475569;
}

.nav-links a {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--blue);
}

.nav-cta {
  padding: 0 1rem;
  border: 1px solid rgba(38, 169, 224, 0.32);
  border-radius: 0.45rem;
  color: var(--blue);
  background: rgba(38, 169, 224, 0.08);
}

.hero {
  position: relative;
  min-height: clamp(640px, 76vh, 820px);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(135deg, #f7fcff 0%, #ffffff 48%, #eef9fd 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(38, 169, 224, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38, 169, 224, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.72), transparent 72%);
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.62fr);
  gap: 3rem;
  align-items: center;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 5.5rem 0 7rem;
  color: var(--ink);
}

.hero-copy {
  max-width: 780px;
}

.hero-panel {
  display: grid;
  gap: 0.9rem;
  padding: 1.1rem;
  border: 1px solid rgba(38, 169, 224, 0.28);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.hero-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
  color: var(--blue-dark);
  font-weight: 900;
}

.hero-panel-head img {
  width: 126px;
  height: auto;
}

.response-card {
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 0.45rem;
  background: #fff;
}

.response-card strong {
  color: var(--ink);
  font-size: 1.02rem;
}

.response-card span {
  color: var(--muted);
  font-size: 0.95rem;
}

.subpage-hero {
  width: 100%;
  padding: 6.5rem max(1rem, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(135deg, rgba(13, 63, 86, 0.96), rgba(38, 169, 224, 0.88));
  color: #fff;
}

.subpage-hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.75rem);
  line-height: 1;
  letter-spacing: 0;
}

.subpage-hero p:not(.eyebrow) {
  max-width: 700px;
  margin: 1.2rem 0 1.8rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--blue-dark);
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.75rem, 6vw, 5.45rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 640px;
  margin: 1.4rem 0 0;
  font-size: 1.18rem;
  color: #475569;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 3.15rem;
  padding: 0 1.25rem;
  border-radius: 0.45rem;
  border: 1px solid transparent;
  font-weight: 900;
  cursor: pointer;
}

.button.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 14px 30px rgba(38, 169, 224, 0.32);
}

.button.secondary {
  border-color: rgba(38, 169, 224, 0.3);
  color: var(--blue-dark);
  background: #fff;
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1180px, calc(100% - 2rem));
  margin: -3rem auto 0;
  position: relative;
  z-index: 3;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
}

.trust-bar div {
  padding: 1.25rem;
  border-right: 1px solid var(--line);
}

.trust-bar div:last-child {
  border-right: 0;
}

.trust-bar strong {
  display: block;
  color: var(--blue);
  font-size: 1.45rem;
  line-height: 1.2;
}

.trust-bar span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 5.5rem 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 2rem;
  align-items: start;
}

.section-copy h2,
.section-heading h2,
.location-panel h2,
.enquiry h2 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-copy p,
.location-panel p,
.enquiry p {
  color: var(--muted);
  font-size: 1.04rem;
}

.quote-panel {
  padding: 1.5rem;
  border-radius: 0.5rem;
  background: var(--blue-dark);
  color: #fff;
  box-shadow: var(--shadow);
}

.quote-panel h2 {
  margin: 0;
  font-size: 1.55rem;
}

.quote-panel p {
  color: rgba(255, 255, 255, 0.72);
}

.services,
.seo-plan {
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 2rem;
}

.service-grid,
.seo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.service-card,
.seo-grid article {
  min-height: 100%;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: #fff;
}

.service-card {
  display: flex;
  flex-direction: column;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(38, 169, 224, 0.34);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.09);
}

.service-card span {
  color: var(--red);
  font-weight: 900;
}

.service-card h3,
.seo-grid h3 {
  margin: 0.8rem 0;
  font-size: 1.18rem;
  line-height: 1.22;
}

.service-card p,
.seo-grid p {
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.service-card a {
  color: var(--blue);
  font-weight: 900;
  margin-top: auto;
}

.work-gallery {
  border-top: 1px solid var(--line);
}

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.before-after-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 100%;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.before-after-card:hover {
  transform: translateY(-4px);
  border-color: rgba(38, 169, 224, 0.34);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.1);
}

.comparison-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.comparison-images figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 0.45rem;
  background: var(--soft);
  aspect-ratio: 4 / 5;
}

.comparison-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.comparison-images span {
  position: absolute;
  left: 0.55rem;
  top: 0.55rem;
  z-index: 2;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: rgba(16, 24, 40, 0.82);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
}

.comparison-images figure:last-child span {
  background: var(--blue);
}

.before-after-card h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.18;
}

.before-after-card p {
  margin: 0;
  color: var(--muted);
}

.locations {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
  width: 100%;
  max-width: none;
  padding: 5.5rem max(1rem, calc((100vw - 1180px) / 2));
  background: var(--soft);
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.area-list span {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(38, 169, 224, 0.18);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
}

.seo-grid {
  grid-template-columns: repeat(2, 1fr);
}

.seo-grid article {
  background: #fff;
}

.enquiry {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
  align-items: start;
  border-top: 1px solid var(--line);
}

.enquiry-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.08);
}

label {
  display: grid;
  gap: 0.45rem;
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 3rem;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  padding: 0.75rem 0.85rem;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

textarea {
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem max(1rem, calc((100vw - 1180px) / 2));
  background: #fff;
  color: var(--ink);
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: var(--ink);
  font-weight: 900;
}

.footer-brand img {
  width: 128px;
  max-width: 42vw;
  height: auto;
  background: #fff;
  border-radius: 0.35rem;
}

.footer p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.footer .company-number {
  margin-top: 0.2rem;
  color: #475569;
  font-size: 0.88rem;
  font-weight: 800;
}

.footer a {
  display: block;
  color: var(--blue);
  font-weight: 800;
  text-align: right;
}

.footer .footer-brand {
  display: inline-flex;
  color: var(--ink);
  text-align: left;
}

.service-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.service-list li + li {
  margin-top: 0.35rem;
}

@media (max-width: 980px) {
  .nav {
    align-items: flex-start;
    padding: 1rem 0;
  }

  .menu-button {
    display: inline-grid;
    gap: 0.28rem;
    width: 2.75rem;
    height: 2.75rem;
    place-content: center;
    border: 1px solid var(--line);
    border-radius: 0.45rem;
    background: #fff;
  }

  .menu-button span {
    width: 1.1rem;
    height: 2px;
    background: var(--ink);
  }

  .nav-links {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.5rem);
    display: none;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
  }

  .nav:focus-within .nav-links,
  .nav:hover .nav-links {
    display: grid;
    gap: 0.4rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding: 4.5rem 0 6rem;
  }

  .trust-bar,
  .service-grid,
  .before-after-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-bar div:nth-child(2) {
    border-right: 0;
  }

  .trust-bar div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .intro,
  .locations,
  .enquiry {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .contact-strip {
    flex-wrap: wrap;
    gap: 0.35rem 0.6rem;
    font-size: 0.82rem;
  }

  .contact-strip a:last-child {
    flex-basis: 100%;
    margin-left: 0;
    text-align: center;
  }

  .brand img {
    width: 92px;
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    font-size: 2.65rem;
  }

  .hero p:not(.eyebrow) {
    font-size: 1rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .trust-bar,
  .service-grid,
  .seo-grid,
  .before-after-grid,
  .enquiry-form {
    grid-template-columns: 1fr;
  }

  .trust-bar div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-bar div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 4rem 0;
  }

  .locations {
    padding: 4rem 1rem;
  }

  .footer {
    display: grid;
    align-items: start;
  }

  .footer a {
    text-align: left;
  }
}

/* Motion and polish layer */
@keyframes heroDrift {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-18px, 14px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

@keyframes slideUpFade {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes softPulse {
  0%, 100% { box-shadow: 0 14px 30px rgba(38, 169, 224, 0.32); }
  50% { box-shadow: 0 18px 44px rgba(38, 169, 224, 0.46); }
}

.site-header {
  transition: box-shadow 180ms ease, background-color 180ms ease;
}

.site-header:hover {
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.brand img,
.footer-brand img {
  transition: transform 180ms ease;
}

.brand:hover img,
.footer-brand:hover img {
  transform: translateY(-2px);
}

.nav-links a {
  position: relative;
  transition: color 180ms ease, transform 180ms ease;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.35rem;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover {
  transform: translateY(-1px);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-cta:hover {
  background: var(--blue);
  color: #fff;
}

.hero::before {
  animation: heroDrift 18s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -22% 26%;
  z-index: -1;
  height: 46%;
  border: 1px solid rgba(38, 169, 224, 0.18);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.hero-copy {
  animation: slideUpFade 650ms ease both;
}

.hero-panel {
  animation: slideUpFade 760ms ease 120ms both;
}

.response-card,
.trust-bar div,
.area-list span,
.enquiry-form,
input,
select,
textarea,
.button,
.seo-grid article {
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

.response-card:hover {
  transform: translateX(6px);
  border-color: rgba(38, 169, 224, 0.34);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.subpage-hero {
  position: relative;
  overflow: hidden;
}

.subpage-hero::after {
  content: "";
  position: absolute;
  right: -8rem;
  bottom: -7rem;
  width: 30rem;
  height: 30rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  animation: heroDrift 16s ease-in-out infinite;
}

.button.primary {
  animation: softPulse 4s ease-in-out infinite;
}

.button:hover {
  transform: translateY(-2px);
}

.trust-bar {
  animation: slideUpFade 680ms ease 220ms both;
}

.trust-bar div:hover,
.area-list span:hover,
.seo-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(38, 169, 224, 0.34);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.trust-bar div:hover,
.area-list span:hover {
  background: rgba(38, 169, 224, 0.06);
}

.quote-panel,
.service-card,
.seo-grid article,
.footer {
  position: relative;
  overflow: hidden;
}

.quote-panel::after {
  content: "";
  position: absolute;
  right: -3rem;
  bottom: -3rem;
  width: 9rem;
  height: 9rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.service-card::before,
.seo-grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(38, 169, 224, 0.08), transparent 42%);
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}

.service-card:hover::before,
.seo-grid article:hover::before {
  opacity: 1;
}

.enquiry-form:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(38, 169, 224, 0.14);
}

.footer::before {
  content: "";
  position: absolute;
  left: max(1rem, calc((100vw - 1180px) / 2));
  right: max(1rem, calc((100vw - 1180px) / 2));
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), transparent);
}

@supports (animation-timeline: view()) {
  .section-copy,
  .quote-panel,
  .service-card,
  .before-after-card,
  .seo-grid article,
  .location-panel,
  .area-list,
  .enquiry > div,
  .enquiry-form {
    animation: slideUpFade both;
    animation-timeline: view();
    animation-range: entry 8% cover 28%;
  }
}

@media (max-width: 980px) {
  .hero-panel {
    animation: slideUpFade 760ms ease 120ms both;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

.form-status {
  margin: 0;
  min-height: 1.5rem;
  color: #17415a;
  font-weight: 800;
}

.form-status.is-success {
  color: #14764f;
}

.form-status.is-error {
  color: #b42318;
}

.enquiry-form button:disabled {
  cursor: wait;
  opacity: 0.75;
}
