/* The Gate Doctor — company & service pages */

/* Simple page head (all non-home pages) */
.page-head {
  background:
    radial-gradient(ellipse at 50% -30%, rgba(225,27,34,.30), transparent 60%),
    linear-gradient(165deg, #1b1e24, #0e1013);
  text-align: center;
}
.page-head .eyebrow { color: #ff6b71; }
.page-head__inner { max-width: 780px; margin: 0 auto; padding: 72px 24px 68px; }
.page-head__title {
  font-size: clamp(32px, 4.6vw, 50px);
  font-weight: 800;
  color: #fff;
  line-height: 1.08;
}
.page-head__lead {
  margin: 16px auto 0;
  max-width: 640px;
  font-size: clamp(16px, 1.8vw, 18.5px);
  color: rgba(255,255,255,.75);
  line-height: 1.65;
}

/* Service page hero: text left, image right */
.service-hero {
  background:
    radial-gradient(ellipse at 15% -30%, rgba(225,27,34,.28), transparent 55%),
    linear-gradient(165deg, #1b1e24, #0e1013);
}
.service-hero .eyebrow { color: #ff6b71; }
.service-hero__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 64px;
}
.service-hero__content h1 {
  font-size: clamp(32px, 4.4vw, 48px);
  font-weight: 800;
  color: #fff;
  line-height: 1.08;
}
.service-hero__lead {
  margin: 18px 0 0;
  font-size: clamp(16px, 1.8vw, 18.5px);
  color: rgba(255,255,255,.75);
  line-height: 1.65;
}
.service-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.service-hero .hero__trust {
  margin-top: 22px;
  padding-top: 22px;
  border-top-color: rgba(255,255,255,.14);
  color: rgba(255,255,255,.92);
}
.service-hero__media {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.service-hero__media img { width: 100%; height: 100%; min-height: 360px; max-height: 440px; object-fit: cover; }

.nav-link.is-active { color: var(--red); background: var(--red-soft); }
.dropdown a[aria-current="page"] { color: var(--red); background: var(--red-soft); font-weight: 700; }

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__content > p {
  margin: 18px 0 0;
  color: var(--gray-700);
  font-size: 17px;
}
.split__media {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.split__media img { width: 100%; height: 100%; min-height: 430px; object-fit: cover; }
.split__badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  max-width: 240px;
  padding: 18px 20px;
  border-radius: var(--radius);
  color: #fff;
  background: rgba(14,15,18,.9);
  backdrop-filter: blur(8px);
  border-left: 4px solid var(--red);
}
.split__badge strong { display: block; font-family: var(--font-head); font-size: 28px; }
.split__badge span { font-size: 13.5px; color: rgba(255,255,255,.75); }

.check-list {
  display: grid;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}
.check-list--2 { grid-template-columns: 1fr 1fr; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; }
.check-list .ic { color: var(--red); margin-top: 4px; }

.value-grid, .role-grid, .benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card, .role-card, .benefit-card {
  padding: 30px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.value-card__icon, .benefit-card__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  color: var(--red);
  background: var(--red-soft);
  border-radius: 14px;
}
.value-card__icon svg, .benefit-card__icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.value-card h3, .role-card h3, .benefit-card h3 { margin-bottom: 10px; font-size: 20px; }
.value-card p, .role-card p, .benefit-card p { margin: 0; color: var(--gray-500); font-size: 14.5px; }

.stat-band { background: var(--charcoal); color: #fff; border-top: 1px solid rgba(255,255,255,.08); }
.stat-band__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-band__item { padding: 40px 24px; text-align: center; border-right: 1px solid rgba(255,255,255,.12); }
.stat-band__item:last-child { border: 0; }
.stat-band__item strong { display: block; color: #fff; font-family: var(--font-head); font-size: 32px; }
.stat-band__item span { font-size: 13.5px; color: rgba(255,255,255,.65); }

.role-card { position: relative; overflow: hidden; padding-top: 0; }
.role-card__visual {
  height: 210px;
  margin: 0 -30px 26px;
  background:
    linear-gradient(145deg, rgba(225,27,34,.9), rgba(14,15,18,.95)),
    var(--role-image) center / cover;
  display: grid;
  place-items: center;
}
.role-card__visual svg {
  width: 74px;
  height: 74px;
  fill: none;
  stroke: rgba(255,255,255,.92);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.role-card__label { display: inline-block; margin-bottom: 10px; color: var(--red); font: 700 12px var(--font-head); letter-spacing: .1em; text-transform: uppercase; }

.review-summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 30px 34px;
  margin-bottom: 30px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.review-summary__score { font: 800 54px/1 var(--font-head); color: var(--ink); }
.review-summary__copy strong { display: block; font-family: var(--font-head); font-size: 18px; }
.review-summary__copy span { color: var(--gray-500); font-size: 14px; }
.reviews-page-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.reviews-page-grid .review-card { min-height: 280px; }
.review-service { display: inline-block; width: fit-content; padding: 5px 10px; color: var(--red); background: var(--red-soft); border-radius: 999px; font: 700 11px var(--font-head); text-transform: uppercase; letter-spacing: .06em; }

.career-callout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 38px 42px;
  color: #fff;
  background: linear-gradient(135deg, var(--charcoal), #0e0f12);
  border-radius: var(--radius-lg);
  border-left: 5px solid var(--red);
}
.career-callout h2 { font-size: clamp(25px, 3vw, 36px); }
.career-callout p { max-width: 730px; margin: 12px 0 0; color: rgba(255,255,255,.72); }

.fence-cta {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  background: linear-gradient(135deg, #fff, var(--red-soft));
  border: 1px solid var(--gray-200);
  border-left: 5px solid var(--red);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.fence-cta__media {
  position: relative;
  min-height: 0;
  background: var(--gray-200);
}
.fence-cta__media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.fence-cta__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 36px;
}
.fence-cta .eyebrow { color: var(--red); }
.fence-cta h2 {
  margin: 8px 0 0;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.2;
}
.fence-cta p {
  margin: 12px 0 22px;
  max-width: 540px;
  color: var(--gray-700);
  font-size: 16.5px;
  line-height: 1.6;
}
.fence-cta .btn { align-self: flex-start; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: apply-step; }
.process-card { position: relative; padding: 30px; border-top: 3px solid var(--red); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); counter-increment: apply-step; }
.process-card::before { content: "0" counter(apply-step); display: block; margin-bottom: 16px; color: var(--red); font: 800 26px var(--font-head); }
.process-card h3 { margin-bottom: 8px; }
.process-card p { margin: 0; color: var(--gray-500); }

.page-proof { background: #fff; border-bottom: 1px solid var(--gray-200); }
.page-proof .members { margin-top: 0; box-shadow: none; border: 0; border-radius: 0; }

/* Team page member grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.team-member { text-align: center; }
.team-member__photo {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  margin-bottom: 16px;
  background: var(--muted-bg);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  color: var(--gray-300, #cbd2dc);
}
.team-member__photo svg {
  width: 44%;
  height: 44%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.team-member__name { font-family: var(--font-head); font-size: 18px; font-weight: 800; color: var(--ink); }
.team-member__role { display: block; margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--red); }

/* Brands page */
.brand-cat { margin-bottom: 64px; }
.brand-cat:last-child { margin-bottom: 0; }
.brand-cat__head { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.brand-cat__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex: none;
  color: var(--red);
  background: var(--red-soft);
  border-radius: 13px;
}
.brand-cat__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.brand-cat__head h2 { font-size: clamp(22px, 3vw, 30px); }
.brand-cat__head p { margin: 4px 0 0; color: var(--gray-500); font-size: 14.5px; }
.brand-detail-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
a.brand-detail { text-decoration: none; color: inherit; }
.brand-detail {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .15s ease, box-shadow .2s ease, border-color .15s ease;
}
.brand-detail:hover { transform: translateY(-4px); border-color: var(--gray-300); box-shadow: var(--shadow); }
.brand-detail__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  padding: 22px;
  border-bottom: 1px solid var(--gray-100);
  background: #fff;
}
.brand-detail__logo--dark { background: var(--charcoal); border-bottom-color: rgba(255,255,255,.12); }
.brand-detail__logo img { max-width: 100%; max-height: 52px; width: auto; height: auto; object-fit: contain; }
.brand-detail__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.brand-detail__body h3 { margin-bottom: 6px; font-size: 17px; }
.brand-detail__body p { flex: 1; margin: 0; color: var(--gray-500); font-size: 13.5px; line-height: 1.55; }
.brand-note {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin-top: 56px;
  padding: 34px 38px;
  color: #fff;
  background: linear-gradient(135deg, var(--charcoal), #0e0f12);
  border-radius: var(--radius-lg);
  border-left: 5px solid var(--red);
}
.brand-note h2 { font-size: clamp(22px, 3vw, 30px); }
.brand-note p { max-width: 700px; margin: 10px 0 0; color: rgba(255,255,255,.72); }

/* Service pages */
.price-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 26px;
  align-items: center;
  padding: 32px 36px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-left: 5px solid var(--red);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.price-panel__amount { text-align: center; }
.price-panel__amount strong { display: block; font: 800 46px/1.1 var(--font-head); color: var(--ink); }
.price-panel__amount span { font-size: 13px; color: var(--gray-500); }
.price-panel__body h3 { margin-bottom: 6px; font-size: 20px; }
.price-panel__body p { margin: 0; color: var(--gray-500); font-size: 14.5px; line-height: 1.6; }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.problem-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.problem-card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  color: var(--red);
  background: var(--red-soft);
  border-radius: 12px;
}
.problem-card__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.problem-card h3 { margin-bottom: 6px; font-size: 16.5px; }
.problem-card p { margin: 0; color: var(--gray-500); font-size: 13.5px; line-height: 1.55; }
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
.area-chips span,
.area-chips a {
  padding: 9px 18px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  font: 600 14px var(--font-head);
  color: var(--gray-700);
  text-decoration: none;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.area-chips a:hover {
  border-color: rgba(225,27,34,.4);
  color: var(--red);
  background: var(--red-soft);
}
.area-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.area-hub-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-decoration: none; color: inherit;
}
a.area-hub-card { transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
a.area-hub-card:hover {
  border-color: rgba(225,27,34,.35);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
a.area-hub-card:hover .area-hub-card__cta { color: var(--red-dark); }
.area-hub-card h3 { margin: 0; font-size: 20px; font-weight: 800; }
.area-hub-card__cta {
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  color: var(--red);
}
div.area-hub-card .area-hub-card__cta { color: var(--gray-500); font-weight: 600; }
.area-hub-note {
  margin: 28px auto 0; max-width: 640px; text-align: center;
  font-size: 15px; color: var(--gray-500); line-height: 1.55;
}
.area-hub-note a { color: var(--red); font-weight: 600; }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  font: 700 16.5px var(--font-head);
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  font: 600 24px/1 var(--font-head);
  color: var(--red);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 24px 22px; color: var(--gray-500); font-size: 15px; line-height: 1.65; }

/* Troubleshooting accordions: step lists + when-to-call note */
.faq-item ol {
  margin: 0;
  padding: 0 24px 20px 46px;
  color: var(--gray-500);
  font-size: 15px;
  line-height: 1.65;
  display: grid;
  gap: 10px;
}
.faq-item ol strong { color: var(--ink); }
.faq-item .ts-call {
  margin: 0 24px 22px;
  padding: 14px 16px;
  background: var(--red-soft);
  border-radius: 10px;
  color: var(--gray-700);
  font-size: 14.5px;
}
.faq-item .ts-call strong { color: var(--red-dark); }
.faq-item .ts-call a { color: var(--red); font-weight: 600; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 28px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .2s ease, border-color .15s ease;
}
a.contact-card:hover { transform: translateY(-4px); border-color: var(--gray-300); box-shadow: var(--shadow); }
.contact-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  color: var(--red);
  background: var(--red-soft);
  border-radius: 14px;
}
.contact-card__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-card h3 { margin-bottom: 4px; font-size: 18px; }
.contact-card__value { font: 700 20px var(--font-head); color: var(--red); margin: 4px 0 8px; }
.contact-card p { margin: 0; color: var(--gray-500); font-size: 14px; line-height: 1.55; }
.contact-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; }
.contact-form-card {
  padding: 38px 40px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.contact-form-card h2 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 8px; }
.contact-form-card > p { margin: 0 0 26px; color: var(--gray-500); font-size: 15px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-field { margin-bottom: 16px; }
.cf-field label { display: block; margin-bottom: 7px; font: 700 13.5px var(--font-head); color: var(--ink); }
.cf-field label span { color: var(--red); }
.cf-field input, .cf-field select, .cf-field textarea {
  width: 100%;
  padding: 13px 15px;
  font: 500 15px var(--font-body);
  color: var(--ink);
  background: var(--gray-100);
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  outline: none;
  transition: border-color .15s ease, background .15s ease;
}
.cf-field input:focus, .cf-field select:focus, .cf-field textarea:focus { border-color: var(--red); background: #fff; }
.cf-field textarea { min-height: 130px; resize: vertical; }
.cf-note { margin: 14px 0 0; font-size: 13px; color: var(--gray-500); }
.cf-success {
  padding: 40px 24px;
  text-align: center;
}
.cf-success__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border-radius: 50%;
}
.cf-success__icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cf-success h3 { font-size: 24px; margin-bottom: 10px; }
.cf-success p { color: var(--gray-500); margin: 0 0 22px; }
.contact-aside { display: flex; flex-direction: column; gap: 22px; }
.hours-card {
  padding: 30px 28px;
  color: #fff;
  background: linear-gradient(135deg, var(--charcoal), #0e0f12);
  border-radius: var(--radius);
  border-top: 4px solid var(--red);
}
.hours-card h3 { color: #fff; font-size: 19px; margin-bottom: 16px; }
.hours-card dl { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.hours-card div { display: flex; justify-content: space-between; gap: 16px; font-size: 14.5px; }
.hours-card dt { color: rgba(255,255,255,.7); }
.hours-card dd { margin: 0; font-weight: 600; }
.hours-card__note { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); font-size: 13.5px; color: rgba(255,255,255,.7); }
.aside-links {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.aside-links h3 { font-size: 17px; margin-bottom: 14px; }
.aside-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.aside-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 12px;
  border-radius: 9px;
  font: 600 14.5px var(--font-head);
  color: var(--gray-700);
  transition: background .15s ease, color .15s ease;
}
.aside-links a:hover { background: var(--red-soft); color: var(--red); }

/* Vertical project timeline (installation planning) */
.timeline { max-width: 860px; margin: 0 auto; }
.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  padding-bottom: 36px;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}
.timeline__marker {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  font: 800 18px var(--font-head);
  box-shadow: var(--shadow-sm);
}
.timeline__body { padding-top: 8px; }
.timeline__body h3 { font-size: 19px; margin-bottom: 6px; }
.timeline__body p { margin: 0; color: var(--gray-500); font-size: 15px; line-height: 1.6; }

/* Paired plan / option cards */
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.plan-card--wide { grid-column: 1 / -1; }
.plan-card {
  padding: 32px 30px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.plan-card h3 { font-size: 20px; margin-bottom: 6px; }
.plan-card > p { margin: 0 0 18px; color: var(--gray-500); font-size: 14.5px; line-height: 1.6; }
.plan-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.plan-card li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; font-weight: 500; color: var(--gray-700); }
.plan-card li .ic { color: var(--red); margin-top: 3px; }

/* Inline note / disclaimer strip */
.note-strip {
  max-width: 860px;
  margin: 44px auto 0;
  padding: 20px 24px;
  background: var(--red-soft);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  color: var(--gray-700);
  font-size: 14.5px;
  line-height: 1.6;
}

/* Learning center */
.lc-section { scroll-margin-top: 110px; }
.lc-topnav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 880px; margin: 0 auto; }
.guide-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px;
}
.guide-card .tag--light { margin-bottom: 14px; }
.guide-card h3 { font-size: 19px; margin-bottom: 10px; }
.guide-card p { margin: 0 0 14px; color: var(--gray-500); font-size: 14.5px; line-height: 1.6; }
.guide-card ul { margin: 0; padding-left: 18px; color: var(--gray-700); font-size: 14px; display: flex; flex-direction: column; gap: 7px; }
.guide-card ul li::marker { color: var(--red); }
.guide-article {
  max-width: 760px;
  margin: 0 auto;
}
.guide-article__meta {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin-bottom: 28px;
}
.guide-article h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  margin: 36px 0 12px;
}
.guide-article h2:first-of-type { margin-top: 8px; }
.guide-article p {
  margin: 0 0 16px;
  color: var(--gray-500);
  font-size: 16px;
  line-height: 1.7;
}
.guide-article ul,
.guide-article ol {
  margin: 0 0 20px;
  padding-left: 22px;
  color: var(--gray-700);
  font-size: 15.5px;
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.guide-article li::marker { color: var(--red); }
.guide-article strong { color: var(--ink); }
.guide-callout {
  margin: 28px 0;
  padding: 20px 22px;
  background: var(--red-soft);
  border-left: 3px solid var(--red);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.guide-callout p { margin: 0; color: var(--gray-700); font-size: 15px; }
.guide-callout strong { color: var(--red-dark); }
.guide-next {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--gray-200);
}
.guide-next h3 { font-size: 18px; margin-bottom: 12px; }
.guide-next__links { display: flex; flex-wrap: wrap; gap: 12px 18px; }
.tip-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.tip-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px 26px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.tip-item__num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  font: 800 17px var(--font-head);
}
.tip-item h3 { font-size: 16.5px; margin-bottom: 4px; }
.tip-item p { margin: 0; color: var(--gray-500); font-size: 14px; line-height: 1.55; }

/* ---------- Our Work galleries ---------- */
.work-jump-spacer { height: 36px; }
.work-jump-bar {
  position: sticky;
  top: var(--nav-h, 78px);
  z-index: 950;
  margin: 0;
  padding: 14px 0;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.work-jump-bar.is-stuck {
  border-bottom-color: var(--gray-200);
  box-shadow: 0 8px 20px rgba(15, 17, 21, .06);
}
.work-jump {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 0 auto; justify-content: center;
}
.work-jump__btn {
  appearance: none; cursor: pointer; border: 1px solid var(--gray-200);
  font-family: var(--font-head); font-weight: 700; font-size: 13.5px;
  color: var(--gray-700); text-decoration: none;
  padding: 8px 14px; border-radius: 999px;
  background: #fff;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.work-jump__btn:hover { color: var(--red); border-color: rgba(225,27,34,.35); background: var(--red-soft); }
.work-jump__btn.is-active {
  color: #fff; background: var(--red); border-color: var(--red);
}
.work-jump__btn.is-active:hover { color: #fff; background: var(--red); border-color: var(--red); }
.work-section {
  scroll-margin-top: calc(var(--nav-h, 78px) + 72px);
  padding-top: 56px;
  padding-bottom: 48px;
}
.work-section[hidden] { display: none !important; }
.work-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.work-gallery__item {
  margin: 0; background: #fff; border: 1px solid var(--gray-200);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
}
.work-gallery__item img {
  display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform .35s ease;
}
.work-gallery__item:hover img { transform: scale(1.04); }

@media (max-width: 992px) {
  .work-gallery { grid-template-columns: repeat(2, 1fr); }
  .work-jump-bar { padding: 12px 0; }
}

@media (max-width: 640px) {
  .work-gallery { grid-template-columns: 1fr; }
  .work-jump {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 4px 2px;
    gap: 8px;
  }
  .work-jump::-webkit-scrollbar { display: none; }
  .work-jump__btn { flex: 0 0 auto; font-size: 13px; padding: 7px 12px; }
  .work-section { padding-top: 44px; padding-bottom: 36px; }
}

@media (max-width: 992px) {
  .service-hero__inner { grid-template-columns: 1fr; gap: 30px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse .split__media { order: 0; }
  .value-grid, .role-grid, .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-detail-grid { grid-template-columns: repeat(2, 1fr); }
  .area-hub-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-note { grid-template-columns: 1fr; padding: 28px 26px; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .duo-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .lc-topnav { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-band__grid { grid-template-columns: repeat(2, 1fr); }
  .stat-band__item:nth-child(2) { border-right: 0; }
  .stat-band__item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
}

@media (max-width: 640px) {
  .page-head__inner { padding: 44px 24px 42px; }
  .service-hero__inner { padding-top: 40px; padding-bottom: 44px; }
  .service-hero__actions .btn { width: 100%; }
  .service-hero__media img { min-height: 240px; }
  .split__media, .split__media img { min-height: 320px; }
  .check-list--2, .value-grid, .role-grid, .benefit-grid, .reviews-page-grid, .process-grid, .brand-detail-grid, .problem-grid, .area-hub-grid { grid-template-columns: 1fr; }
  .price-panel { grid-template-columns: 1fr; text-align: center; padding: 26px 22px; }
  .timeline__item { gap: 16px; }
  .plan-card { padding: 26px 22px; }
  .contact-form-card { padding: 28px 22px; }
  .cf-row { grid-template-columns: 1fr; gap: 0; }
  .lc-topnav { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .tip-item { padding: 18px; }
  .stat-band__grid { grid-template-columns: 1fr; }
  .stat-band__item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .stat-band__item:nth-child(3) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .review-summary { grid-template-columns: 1fr; text-align: center; }
  .review-summary .stars { justify-content: center; }
  .career-callout { grid-template-columns: 1fr; padding: 30px 24px; }
  .fence-cta { grid-template-columns: 1fr; }
  .fence-cta__media { height: 160px; }
  .fence-cta__body { padding: 28px 24px; }
  .fence-cta .btn { width: 100%; justify-content: center; }
}
