/* ============================================================
   SEO Service Page template
   Faithful rebuild of the "SEO Liverpool" design.
   Accent hover uses the requested #FF6B4A.
   Everything is scoped under .seo-service so it never leaks
   into the rest of the theme.
   ============================================================ */

.seo-service {
  --acc: #1eae9e;        /* base accent (teal) */
  --acc-hover: #FF6B4A;  /* requested hover colour */
  --navy-h: #1f3350;     /* headings on light */
  --body: #3d4a5c;       /* body text */
  --body-2: #5a6577;     /* secondary body */
  --deep: #16253c;       /* deepest navy sections */
  --trust: #1b2e4a;      /* trust / blog navy */
  --light: #f4f6f8;      /* light section bg */
  --card-border: #e7ebef;
  --input-border: #dde3e9;
  --muted-1: #8ba0bd;
  --muted-2: #b8c5d6;
  --muted-3: #c1cdda;

  font-family: 'Ubuntu', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--body);
  background: #fff;
  overflow-x: hidden;
}

.seo-service * { box-sizing: border-box; }
.seo-service img { max-width: 100%; }

/* ---- shared bits ---- */
.seo-service .ss-wrap { max-width: 1200px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }
.seo-service .ss-eyebrow {
  font-weight: 600; font-size: 13px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--acc); margin-bottom: 12px;
}
.seo-service h2.ss-h2 {
  font-weight: 700; font-size: 38px; line-height: 1.15;
  color: var(--navy-h); margin: 0 0 16px; letter-spacing: -0.5px;
}
.seo-service .ss-lead { font-size: 18px; line-height: 1.6; margin: 0; }

/* ---- unified button ---- */
.seo-service .ss-btn {
  display: inline-block; background: var(--acc); color: #fff;
  font-family: 'Ubuntu', sans-serif; font-weight: 600; font-size: 16px;
  letter-spacing: 0.5px; padding: 18px 40px; border-radius: 8px;
  border: none; cursor: pointer; text-align: center;
  transition: background .18s ease;
}
.seo-service .ss-btn:hover,
.seo-service .ss-btn:focus { background: var(--acc-hover); color: #fff; }
.seo-service .ss-btn--block { display: block; width: 100%; padding: 18px; }

.seo-service a { color: var(--acc); text-decoration: none; transition: color .18s ease; }
.seo-service a:hover { color: var(--acc-hover); }

/* ================= HERO ================= */
.seo-service .ss-hero {
  position: relative; text-align: center; color: #fff;
  background: linear-gradient(120deg,#2c4f74 0%,#1b3151 55%,#16253c 100%);
  padding: 110px 28px 120px; overflow: hidden;
}
.seo-service .ss-hero__c1,
.seo-service .ss-hero__c2 { position: absolute; border-radius: 50%; }
.seo-service .ss-hero__c1 { right: -140px; bottom: -220px; width: 520px; height: 520px; background: rgba(255,255,255,0.04); }
.seo-service .ss-hero__c2 { right: 40px; top: -120px; width: 300px; height: 300px; background: rgba(30,174,158,0.10); }
.seo-service .ss-hero__inner { position: relative; max-width: 820px; margin: 0 auto; }
.seo-service .ss-hero .ss-eyebrow { letter-spacing: 3px; margin-bottom: 20px; }
.seo-service .ss-hero h1 {
  font-weight: 700; font-size: 66px; line-height: 1.05;
  margin: 0 0 20px; letter-spacing: -1.5px;
}
.seo-service .ss-hero p {
  font-size: 22px; line-height: 1.5; color: #c7d3e0;
  margin: 0 auto 40px; max-width: 620px;
}

/* ================= TRUST STRIP ================= */
.seo-service .ss-trust { background: var(--trust); padding: 34px 28px; }
.seo-service .ss-trust__grid {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(6,1fr); gap: 18px; align-items: center;
}
.seo-service .ss-trust__item {
  height: 56px; display: flex; align-items: center; justify-content: center;
}
.seo-service .ss-trust__item img { max-height: 56px; width: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: .85; }

/* ================= INTRO + TOC ================= */
.seo-service .ss-intro {
  max-width: 1200px; margin: 0 auto; padding: 80px 28px 20px;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: start;
}
.seo-service .ss-intro h2 { font-weight: 700; font-size: 38px; line-height: 1.15; color: var(--navy-h); margin: 0 0 22px; letter-spacing: -0.5px; }
.seo-service .ss-intro p { font-size: 18px; line-height: 1.65; margin: 0 0 18px; }
.seo-service .ss-intro .ss-btn { margin-top: 12px; }
.seo-service .ss-toc {
  background: var(--deep); border-radius: 14px; padding: 34px 34px 30px;
  position: sticky; top: 100px;
}
.seo-service .ss-toc__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.seo-service .ss-toc__head h3 { font-weight: 700; font-size: 22px; color: #fff; margin: 0; }
.seo-service .ss-toc ol { list-style: none; margin: 0; padding: 0; }
.seo-service .ss-toc li { margin-bottom: 2px; }
.seo-service .ss-toc a {
  display: flex; gap: 14px; align-items: baseline; padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: #d5dfeb; font-size: 16px; font-weight: 500;
}
.seo-service .ss-toc a:hover { color: var(--acc-hover); }
.seo-service .ss-toc a span:first-child { font-weight: 700; color: var(--acc); font-size: 14px; min-width: 22px; }

/* ================= REVIEWS (carousel) ================= */
.seo-service .ss-reviews { max-width: 1200px; margin: 0 auto; padding: 40px 28px 70px; }
.seo-service .ss-carousel { position: relative; }
.seo-service .ss-carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
  padding-bottom: 6px; scrollbar-width: none;
}
.seo-service .ss-carousel__track::-webkit-scrollbar { display: none; }
.seo-service .ss-review {
  scroll-snap-align: start;
  border: 1px solid var(--card-border); border-radius: 12px; padding: 26px;
  background: #fff; box-shadow: 0 2px 14px rgba(31,51,80,0.04);
}
.seo-service .ss-review__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.seo-service .ss-review__id { display: flex; align-items: center; gap: 12px; }
.seo-service .ss-review__avatar {
  width: 42px; height: 42px; border-radius: 50%; background: #e8ecf0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--navy-h); overflow: hidden;
}
.seo-service .ss-review__avatar img { width: 100%; height: 100%; object-fit: cover; }
.seo-service .ss-review__name { font-weight: 600; color: var(--navy-h); font-size: 15px; }
.seo-service .ss-review__stars { color: #f4b400; font-size: 14px; letter-spacing: 1px; }
.seo-service .ss-review__g { font-weight: 700; color: #4285f4; font-size: 20px; }
.seo-service .ss-review p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--body-2); }

/* carousel controls */
.seo-service .ss-carousel__nav {
  display: flex; gap: 10px; justify-content: center; margin-top: 22px;
}
.seo-service .ss-carousel__btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--card-border); background: #fff; color: var(--navy-h);
  font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.seo-service .ss-carousel__btn:hover { background: var(--acc-hover); color: #fff; border-color: var(--acc-hover); }

/* ================= TEAM PHOTO ================= */
.seo-service .ss-team { max-width: 1200px; margin: 0 auto; padding: 0 28px 80px; }
.seo-service .ss-team__img {
  height: 420px; width: 100%; border-radius: 16px; object-fit: cover;
  border: 1px solid #e2e6ea; display: block;
}

/* ================= SERVICES ================= */
.seo-service .ss-services { background: var(--light); padding: 84px 28px; }
.seo-service .ss-section-head { max-width: 720px; margin-bottom: 44px; }
.seo-service .ss-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.seo-service .ss-service {
  display: block; background: #fff; border: 1px solid var(--card-border);
  border-radius: 14px; overflow: hidden; box-shadow: 0 2px 14px rgba(31,51,80,0.04);
  color: inherit; transition: box-shadow .2s ease;
}
.seo-service .ss-service:hover { box-shadow: 0 14px 34px rgba(31,51,80,0.12); }
.seo-service .ss-service__img { height: 150px; width: 100%; object-fit: cover; display: block; background: #e2e7ec; }
.seo-service .ss-service__body { padding: 22px 22px 26px; }
.seo-service .ss-service h3 { font-weight: 600; font-size: 20px; color: var(--navy-h); margin: 0 0 9px; }
.seo-service .ss-service p { margin: 0 0 14px; font-size: 15px; line-height: 1.55; color: var(--body-2); }

/* ================= APPROACH (phases) ================= */
.seo-service .ss-approach { padding: 84px 28px; background: #fff; }
.seo-service .ss-phase {
  background: var(--light); border-radius: 16px; padding: 32px 28px; border-top: 4px solid var(--acc);
}
.seo-service .ss-phase__period { font-weight: 600; font-size: 13px; letter-spacing: 1px; color: var(--acc); margin-bottom: 6px; }
.seo-service .ss-phase h3 { font-weight: 700; font-size: 23px; color: var(--navy-h); margin: 0 0 20px; }
.seo-service .ss-phase__items { display: flex; flex-direction: column; gap: 16px; }
.seo-service .ss-phase__item-t { font-weight: 600; font-size: 15px; color: var(--navy-h); margin-bottom: 3px; }
.seo-service .ss-phase__item-d { margin: 0; font-size: 14px; line-height: 1.55; color: var(--body-2); }
.seo-service .ss-phase__out { margin-top: 22px; padding-top: 18px; border-top: 1px solid #e2e6ea; }
.seo-service .ss-phase__out-l { font-weight: 600; font-size: 12px; letter-spacing: 1px; color: var(--acc); }
.seo-service .ss-phase__out-p { margin: 6px 0 0; font-size: 14px; line-height: 1.55; color: #40506a; font-weight: 500; }
.seo-service .ss-ongoing {
  margin-top: 24px; background: var(--deep); border-radius: 16px; padding: 30px 34px;
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
}
.seo-service .ss-ongoing__tag { flex: 0 0 auto; font-weight: 700; font-size: 18px; color: var(--acc); }
.seo-service .ss-ongoing__body { flex: 1; min-width: 260px; }
.seo-service .ss-ongoing h3 { font-weight: 700; font-size: 20px; color: #fff; margin: 0 0 6px; }
.seo-service .ss-ongoing p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted-2); }

/* ================= EXPERTS + MAP ================= */
.seo-service .ss-experts { background: var(--light); padding: 80px 28px; }
.seo-service .ss-experts__grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.seo-service .ss-experts h2 { font-size: 34px; }
.seo-service .ss-experts p { font-size: 17px; line-height: 1.65; margin: 0 0 16px; }
.seo-service .ss-map {
  height: 380px; border-radius: 16px; overflow: hidden; border: 1px solid #e2e6ea; background: #e6eaef;
}
.seo-service .ss-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ================= WHY SEO ================= */
.seo-service .ss-why { background: var(--deep); color: #fff; padding: 84px 28px; }
.seo-service .ss-why .ss-wrap { max-width: 1100px; }
.seo-service .ss-why h2 { font-size: 36px; color: #fff; }
.seo-service .ss-why__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.seo-service .ss-why__card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09);
  border-radius: 14px; padding: 30px 26px;
}
.seo-service .ss-why__n {
  width: 44px; height: 44px; border-radius: 10px; background: rgba(30,174,158,0.15);
  display: flex; align-items: center; justify-content: center; color: var(--acc);
  font-weight: 700; font-size: 18px; margin-bottom: 18px;
}
.seo-service .ss-why__card h3 { font-weight: 600; font-size: 19px; line-height: 1.3; color: #fff; margin: 0 0 12px; }
.seo-service .ss-why__card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted-2); }

/* ================= CASE STUDIES (stacked) ================= */
.seo-service .ss-cases { padding: 84px 28px; background: #fff; }
.seo-service .ss-cases__list { display: flex; flex-direction: column; gap: 28px; }
.seo-service .ss-case {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 0;
  border: 1px solid var(--card-border); border-radius: 16px; overflow: hidden;
  box-shadow: 0 2px 14px rgba(31,51,80,0.05);
}
.seo-service .ss-case__img { min-height: 280px; width: 100%; object-fit: cover; background: #e2e7ec; display: block; }
.seo-service .ss-case__body { padding: 38px 40px; display: flex; flex-direction: column; justify-content: center; }
.seo-service .ss-case__metric-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.seo-service .ss-case__metric { font-weight: 800; font-size: 44px; color: var(--acc); line-height: 1; }
.seo-service .ss-case__metric-label { font-weight: 600; font-size: 15px; color: var(--body-2); }
.seo-service .ss-case h3 { font-weight: 700; font-size: 24px; color: var(--navy-h); margin: 0 0 14px; }
.seo-service .ss-case p { margin: 0 0 20px; font-size: 15px; line-height: 1.6; color: var(--body-2); }
.seo-service .ss-case .ss-btn { align-self: flex-start; }

/* ================= SPEAK TO CRAIG (banner) ================= */
.seo-service .ss-craig { padding: 84px 28px; background: var(--light); }
.seo-service .ss-craig__inner {
  max-width: 1120px; margin: 0 auto;
  background: linear-gradient(120deg,#2c4f74 0%,#16253c 100%);
  border-radius: 20px; padding: 56px 48px; text-align: center; color: #fff;
  box-shadow: 0 24px 60px rgba(22,37,60,0.25);
}
.seo-service .ss-craig__img {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 22px;
  border: 3px solid var(--acc); object-fit: cover; display: block; background: #2c4361;
}
.seo-service .ss-craig h2 { font-weight: 700; font-size: 34px; line-height: 1.2; margin: 0 auto 16px; max-width: 640px; color: #fff; }
.seo-service .ss-craig p { font-size: 18px; line-height: 1.6; color: var(--muted-3); margin: 0 auto 30px; max-width: 620px; }

/* ================= FAQ ================= */
.seo-service .ss-faqs { background: var(--deep); color: #fff; padding: 84px 28px; }
.seo-service .ss-faqs__inner { max-width: 860px; margin: 0 auto; }
.seo-service .ss-faqs h2 { font-weight: 700; font-size: 36px; text-align: center; margin: 0 0 40px; letter-spacing: -0.5px; color: #fff; }
.seo-service .ss-faqs__list { display: flex; flex-direction: column; gap: 12px; }
.seo-service .ss-faq { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09); border-radius: 12px; overflow: hidden; }
.seo-service .ss-faq__q {
  width: 100%; text-align: left; background: transparent; border: none; color: #fff;
  font-family: 'Ubuntu', sans-serif; font-weight: 600; font-size: 17px;
  padding: 20px 24px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.seo-service .ss-faq__icon { color: var(--acc); font-size: 20px; flex: 0 0 auto; }
.seo-service .ss-faq__a { margin: 0; padding: 0 24px; max-height: 0; overflow: hidden; font-size: 16px; line-height: 1.65; color: var(--muted-2); transition: max-height .28s ease, padding .28s ease; }
.seo-service .ss-faq.is-open .ss-faq__a { padding: 0 24px 22px; max-height: 600px; }

/* ================= BLOG ================= */
.seo-service .ss-blog { background: var(--trust); color: #fff; padding: 84px 28px; }
.seo-service .ss-blog h2 { font-weight: 700; font-size: 36px; text-align: center; margin: 0 0 44px; letter-spacing: -0.5px; color: #fff; }
.seo-service .ss-blog__card {
  display: block; background: var(--deep); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px; overflow: hidden; color: inherit; transition: border-color .18s ease;
}
.seo-service .ss-blog__card:hover { border-color: var(--acc-hover); }
.seo-service .ss-blog__img { height: 170px; width: 100%; object-fit: cover; display: block; background: #2a4059; }
.seo-service .ss-blog__body { padding: 24px; }
.seo-service .ss-blog__card h3 { font-weight: 600; font-size: 18px; line-height: 1.35; color: #fff; margin: 0 0 16px; }

/* ================= CONTACT ================= */
.seo-service .ss-contact { background: var(--light); padding: 84px 28px; }
.seo-service .ss-contact__grid {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start;
}
.seo-service .ss-contact h2 { font-weight: 700; font-size: 40px; line-height: 1.12; color: var(--navy-h); margin: 0 0 20px; letter-spacing: -0.8px; }
.seo-service .ss-contact p { font-size: 18px; line-height: 1.65; margin: 0 0 20px; }
.seo-service .ss-contact__phone { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 24px; color: var(--navy-h); margin-top: 26px; }
.seo-service .ss-contact__phone span { color: var(--acc); }
.seo-service .ss-contact__form {
  background: #fff; border: 1px solid var(--card-border); border-radius: 16px;
  padding: 34px; box-shadow: 0 4px 20px rgba(31,51,80,0.06);
}
/* Style CF7 fields to match the design */
.seo-service .ss-contact__form input[type=text],
.seo-service .ss-contact__form input[type=email],
.seo-service .ss-contact__form input[type=tel],
.seo-service .ss-contact__form textarea {
  width: 100%; border: 1px solid var(--input-border); border-radius: 8px;
  padding: 15px 16px; font-family: 'Ubuntu', sans-serif; font-size: 15px;
  color: var(--navy-h); margin-bottom: 16px;
}
.seo-service .ss-contact__form textarea { resize: vertical; }
.seo-service .ss-contact__form input[type=submit],
.seo-service .ss-contact__form .wpcf7-submit {
  display: block; width: 100%; background: var(--acc); color: #fff;
  font-family: 'Ubuntu', sans-serif; font-weight: 600; font-size: 16px; letter-spacing: 0.5px;
  padding: 18px; border: none; border-radius: 8px; cursor: pointer; transition: background .18s ease;
}
.seo-service .ss-contact__form input[type=submit]:hover,
.seo-service .ss-contact__form .wpcf7-submit:hover { background: var(--acc-hover); }

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .seo-service .ss-intro,
  .seo-service .ss-experts__grid,
  .seo-service .ss-contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .seo-service .ss-toc { position: static; }
  .seo-service .ss-grid-3,
  .seo-service .ss-why__grid { grid-template-columns: 1fr 1fr; }
  .seo-service .ss-carousel__track { grid-auto-columns: calc((100% - 24px) / 2); }
  .seo-service .ss-case { grid-template-columns: 1fr; }
  .seo-service .ss-case__img { min-height: 200px; }
  .seo-service .ss-hero h1 { font-size: 46px; }
  .seo-service h2.ss-h2, .seo-service .ss-intro h2 { font-size: 30px; }
}
@media (max-width: 600px) {
  .seo-service .ss-trust__grid { grid-template-columns: repeat(3,1fr); }
  .seo-service .ss-grid-3,
  .seo-service .ss-why__grid { grid-template-columns: 1fr; }
  .seo-service .ss-carousel__track { grid-auto-columns: 100%; }
  .seo-service .ss-hero { padding: 70px 22px 80px; }
  .seo-service .ss-hero h1 { font-size: 38px; }
  .seo-service .ss-craig__inner,
  .seo-service .ss-contact__form { padding: 32px 22px; }
}
