/* Service detail pages — cleaner hierarchy, less card clutter */
body.page-service { background: #fff; }
.page-service [id] {
  scroll-margin-top: calc(var(--header-h) + 3.4rem);
}

.page-service .sec {
  padding: 3.25rem 0;
}

/* .reveal motion lives in home.css */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 1rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--green-panel); }
.breadcrumb [aria-current="page"] {
  color: var(--black);
  font-weight: 600;
}

/* ——— Hero: split card (copy | photo) ——— */
.svc-hero {
  padding: 0.35rem 0 0;
  background: #fff;
}
.svc-hero-frame {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  border-radius: 36px;
  background: var(--green-soft);
}
.svc-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(1.6rem, 3.2vw, 2.6rem) clamp(1.4rem, 2.8vw, 2.4rem);
}
.svc-hero-top .sec-label { margin-bottom: 0.5rem; }
.svc-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.4rem, 2.3vw, 2rem);
  line-height: 1.28;
  letter-spacing: -0.015em;
  max-width: 15em;
  color: var(--black);
  font-weight: 400;
}
.svc-lead {
  margin: 0 0 1.05rem;
  max-width: 34rem;
  color: rgba(18, 21, 26, 0.62);
  font-size: 1.02rem;
  line-height: 1.6;
}
.svc-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.25rem;
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
}
.svc-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--black);
}
.svc-trust .check,
.svc-check-list .check {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green-panel);
  color: #fff;
  font-size: 0.58rem;
  flex-shrink: 0;
}
.svc-hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}
.svc-hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.svc-hero-frame .btn-ghost {
  background: transparent;
  box-shadow: none;
  padding-right: 1.35rem;
}
.svc-hero-media {
  margin: 0;
  min-width: 0;
  min-height: 100%;
}
.svc-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: var(--svc-focus, center 35%);
  display: block;
}

.svc-hero-simple .svc-hero-frame {
  grid-template-columns: 1fr;
}
.svc-hero-simple .svc-hero-copy {
  width: 100%;
  padding: clamp(1.6rem, 3vw, 2.6rem);
}

/* Proof strip */
.svc-proof {
  padding: 0.75rem 0 0;
  background: #fff;
}
.svc-proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.35rem;
  margin: 0;
  padding: 0.75rem 0;
  list-style: none;
  border-bottom: 1px solid var(--line);
}
.svc-proof-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--black);
}
.svc-proof-list i {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--mint);
  color: var(--green-panel);
  font-size: 0.68rem;
  flex-shrink: 0;
}
.svc-proof-list a {
  color: inherit;
  font-weight: 700;
}
.svc-proof-list a:hover { color: var(--green-panel); }

/* In-page jump nav */
.svc-jump {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.svc-jump-list {
  display: flex;
  gap: 1.15rem;
  overflow-x: auto;
  padding: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.svc-jump-list::-webkit-scrollbar { display: none; }
.svc-jump a {
  flex: 0 0 auto;
  padding: 0.85rem 0 0.7rem;
  border-radius: 0;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
  background: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.svc-jump a:hover {
  color: var(--black);
  background: none;
}
.svc-jump a.is-active {
  color: var(--black);
  background: none;
  border-bottom-color: var(--green);
}

/* Section heads */
.svc-section-head {
  margin-bottom: 1.75rem;
  max-width: 38rem;
}
.svc-section-head h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  letter-spacing: -0.015em;
  line-height: 1.28;
  color: var(--black);
  font-weight: 400;
}
.svc-section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

/* Overview */
.page-service .svc-jump + .sec {
  padding-top: 2rem;
}
.sec-svc-overview {
  padding-top: 2.25rem !important;
  padding-bottom: 2.25rem !important;
  background: #fff;
}
.svc-panel {
  background: var(--green-soft);
  border-radius: 36px;
  padding: clamp(1.6rem, 3.2vw, 2.85rem);
}
.svc-panel .sec-label { margin-bottom: 0.4rem; }
.svc-panel > h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.3rem, 2.1vw, 1.8rem);
  letter-spacing: -0.015em;
  line-height: 1.28;
  color: var(--black);
  max-width: 16em;
  font-weight: 400;
}
.svc-overview-lead {
  margin: 0 0 1.15rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text);
  max-width: 40em;
}
.svc-body {
  color: var(--text);
  font-size: 0.97rem;
  line-height: 1.65;
  max-width: 46rem;
}
.svc-body p { margin: 0 0 0.8rem; }
.svc-body p:last-child { margin-bottom: 0; }

.svc-promise {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem 1.25rem;
  margin: 1.75rem 0 0;
  padding: 1.35rem 0 0;
  border-top: 1px solid rgba(18, 21, 26, 0.08);
  list-style: none;
}
.svc-promise li {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--black);
  padding-top: 0.55rem;
  border-top: 2px solid var(--green);
}

.svc-check-list {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}
.svc-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--black);
}
.svc-check-list .check { margin-top: 0.08rem; }

.sec-svc-guide { background: var(--bg-soft); }
.svc-when-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.svc-when-item {
  margin: 0;
  padding: 1.25rem 1.2rem 1.3rem;
  background: #fff;
  border-radius: 20px;
}
.svc-when-item span {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--green);
}
.svc-when-item p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--black);
}
.svc-quote-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border-radius: 20px;
}
.svc-quote-bar p {
  margin: 0.2rem 0 0;
  max-width: 46rem;
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--text);
}
.svc-quote-bar .btn { flex: 0 0 auto; }

/* Hub + detail price tiles */
.sec-svc-materials { background: #fff; }
.svc-mat-wrap {
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
}
.svc-mat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
}
/* Grid tối đa 3 cột — dùng cho hub "Nên chọn dịch vụ nào" (6 tile) */
.svc-mat-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.svc-mat {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.45rem;
  min-height: 6.5rem;
  padding: 1.35rem 1.3rem;
  border-radius: 0;
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.svc-mat strong {
  display: block;
  font-size: 1.06rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--black);
}
.svc-mat span {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
}
.svc-mat-price { color: var(--green-panel); }
.svc-mat-meta { color: var(--text); }
a.svc-mat-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
}
a.svc-mat-link:hover {
  background: var(--green-soft, #f3f8ec);
}
a.svc-mat-link:hover strong {
  color: var(--green, #2767FC);
}

/* Blog */
.page-blog-index .svc-hero-frame {
  min-height: 0;
}
.page-blog-index .svc-hero-cta {
  flex-direction: row;
  align-items: center;
  margin-top: 0;
}
.page-blog-index .svc-section-head {
  max-width: 48rem;
}
.page-blog-index .svc-section-head p {
  overflow: visible;
  display: block;
}
.sec-blog-list { padding-top: 0.5rem; }
.blog-list {
  display: grid;
  gap: 1.25rem;
}
.blog-card {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.blog-card:hover {
  border-color: var(--green, #2767FC);
  background: var(--green-soft, #f3f8ec);
}
.blog-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #dde3d4;
}
.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-card-cat {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green, #2767FC);
}
.blog-card-body h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.blog-card-body p {
  margin: 0 0 0.65rem;
  color: var(--muted, #5c6554);
  font-size: 0.92rem;
  line-height: 1.5;
}
.blog-card-more {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--green, #2767FC);
}

.blog-article {
  padding: 0.75rem 0 0.5rem;
}
.blog-article-head {
  padding: 0 0 1.25rem;
}
.blog-article-inner {
  max-width: 1120px;
}
.blog-meta {
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted, #5c6554);
}
.blog-article-head h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.4rem, 2.5vw, 1.95rem);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -0.015em;
  max-width: 20em;
}
.blog-lead {
  margin: 0;
  max-width: 40rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text, #2a3124);
}
.blog-cover {
  margin: 0 0 1.75rem;
  overflow: hidden;
  background: #dde3d4;
  aspect-ratio: 16 / 9;
  max-height: 380px;
}
.blog-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Desktop: content + sticky sidebar side-by-side */
body.page-blog-post .blog-grid {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
}
body.page-blog-post .blog-content {
  flex: 1 1 0;
  min-width: 0;
}
body.page-blog-post .blog-aside {
  flex: 0 0 16.5rem;
  width: 16.5rem;
  max-width: 16.5rem;
  position: sticky;
  top: calc(var(--header-h, 5rem) + 0.75rem);
  align-self: flex-start;
}
/* Fallback if body class missing */
.blog-grid {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
}
.blog-content {
  flex: 1 1 0;
  min-width: 0;
}
.blog-aside {
  flex: 0 0 16.5rem;
  width: 16.5rem;
  position: sticky;
  top: calc(var(--header-h, 5rem) + 0.75rem);
  align-self: flex-start;
}
.blog-section {
  margin: 0 0 1.75rem;
}
.blog-section h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  font-weight: 400;
  letter-spacing: -0.015em;
}
.blog-content p {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text, #2a3124);
}
.blog-content p:last-child { margin-bottom: 0; }
.blog-table-wrap {
  margin: 0.9rem 0 1.1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  background: #fff;
}
.blog-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
  font-size: 0.92rem;
}
.blog-table caption {
  caption-side: top;
  text-align: left;
  padding: 0.65rem 0.85rem;
  font-size: 0.82rem;
  color: var(--muted);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.blog-table th,
.blog-table td {
  padding: 0.7rem 0.85rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.45;
}
.blog-table th {
  font-weight: 600;
  background: var(--bg-soft);
  white-space: nowrap;
}
.blog-table tr:last-child td { border-bottom: 0; }
.blog-also,
.blog-service-line {
  margin: 1.25rem 0 0;
  font-size: 0.95rem;
  line-height: 1.5;
}
.blog-also a,
.blog-service-line a {
  color: var(--green, #2767FC);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.blog-aside-card {
  padding: 1.25rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.blog-aside-card .sec-label { margin-bottom: 0.65rem; }
.blog-aside-card .svc-check-list { margin-bottom: 1rem; }
.blog-aside-card .btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 0.5rem;
}
.blog-aside-card .btn:last-child { margin-bottom: 0; }

a.tip-card-link {
  text-decoration: none;
  color: inherit;
}

/* Keep sticky working on blog (overflow-x:hidden on html/body breaks it) */
html:has(body.page-blog-post),
body.page-blog-post {
  overflow-x: clip;
}

@media (max-width: 900px) {
  .blog-card {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  body.page-blog-post .blog-grid,
  .blog-grid {
    flex-direction: column;
    gap: 1.25rem;
  }
  body.page-blog-post .blog-aside,
  .blog-aside {
    position: static;
    flex: none;
    width: 100%;
    max-width: none;
    order: 2;
  }
  body.page-blog-post .blog-content,
  .blog-content {
    order: 1;
  }
  .blog-cover { max-height: 240px; }
}

/* Gallery — simple grid, caption under image */
.sec-svc-gallery { background: var(--bg-soft); }
.svc-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.1rem;
}
.svc-gallery-3 { grid-template-columns: 1.2fr 1fr 1fr; }
.svc-gallery-1 { grid-template-columns: 1fr; max-width: 40rem; }
.svc-gallery-item { margin: 0; }
.svc-gallery-media {
  overflow: hidden;
  background: var(--green-soft);
  aspect-ratio: 4 / 3;
  border-radius: 20px;
}
.svc-gallery-3 .svc-gallery-item:first-child .svc-gallery-media {
  aspect-ratio: 4 / 3;
}
.svc-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s ease;
}
.svc-gallery-item:hover img { transform: scale(1.03); }
.svc-gallery-item figcaption {
  margin-top: 0.55rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.4;
}

/* Focus — text then point tiles, no sidebar card */
.sec-svc-focus { background: #fff; }
.svc-focus-copy {
  max-width: 46rem;
  margin-bottom: 1.5rem;
}
.svc-focus-copy p {
  margin: 0 0 0.75rem;
  color: var(--text);
  line-height: 1.65;
}
.svc-focus-copy p:last-child { margin-bottom: 0; }
.svc-point-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.svc-point {
  margin: 0;
  padding: 1.15rem 1.15rem 1.2rem;
  background: var(--green-soft);
  border-radius: 18px;
}
.svc-point p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--black);
}

/* Process */
.sec-svc-process { background: var(--bg-soft); }
.svc-process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  counter-reset: none;
}
.svc-step {
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  border-top: 2px solid var(--green);
  padding-top: 1.15rem;
}
.svc-step-num {
  margin-bottom: 0.65rem;
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: -0.04em;
  color: var(--green);
  line-height: 1;
}
.svc-step h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--black);
}
.svc-step p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* Benefits — open list, not cards */
.sec-svc-benefits { background: #fff; }
.svc-benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2.25rem;
}
.svc-benefit {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 0;
  border-radius: 0;
  background: transparent;
}
.svc-benefit-ico {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--mint);
  color: var(--green-panel);
  font-size: 0.95rem;
}
.svc-benefit h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--black);
}
.svc-benefit p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* Note */
.sec-svc-process .svc-note { margin-top: 2rem; }
.svc-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem 1rem;
  align-items: start;
  padding: 1.25rem 0 0;
  border-radius: 0;
  background: transparent;
  border-top: 1px solid var(--line);
}
.svc-note-ico {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--mint);
  color: var(--green-panel);
  font-size: 0.9rem;
}
.svc-note h2 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--black);
}
.svc-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
  max-width: 48rem;
}

.sec-svc-cta { background: #fff; }
.page-service .sec-faq {
  background: #fff;
  padding-top: 2.25rem;
  padding-bottom: 3.25rem;
}

/* CTA */
.svc-cta-band {
  display: grid;
  grid-template-columns: 1.3fr auto;
  align-items: center;
  gap: 1.25rem 2rem;
  padding: clamp(1.6rem, 3vw, 2.35rem);
  border-radius: 32px;
  background: var(--yellow);
}
.svc-cta-band .sec-label { color: rgba(18, 21, 26, 0.58); }
.svc-cta-band h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.3rem, 2.3vw, 1.85rem);
  max-width: 16em;
  line-height: 1.15;
  color: var(--black);
  font-weight: 400;
}
.svc-cta-band .btn-ghost {
  background: transparent;
  box-shadow: none;
  border-color: rgba(18, 21, 26, 0.18);
  padding-right: 1.35rem;
}
.svc-cta-band p {
  margin: 0;
  max-width: 34rem;
  color: rgba(18, 21, 26, 0.7);
  font-size: 0.95rem;
  line-height: 1.5;
}
.svc-cta-band .svc-hero-cta { justify-content: flex-end; }

/* Related */
.sec-related { background: var(--bg-soft); }
.svc-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.svc-mini {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  transition: opacity 0.2s ease;
}
.svc-mini:hover { opacity: 1; }
.svc-mini:hover h3 { color: var(--green-panel); }
.svc-mini img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  transition: transform 0.45s ease;
}
.svc-mini:hover img { transform: scale(1.03); }
.svc-mini h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--black);
}
.svc-mini span {
  color: var(--green-panel);
  font-size: 0.84rem;
  font-weight: 600;
  margin-top: 0;
}

/* Desktop — tighter rhythm, more editorial, no leftover empty sage */
@media (min-width: 981px) {
  .page-service .sec { padding: 4rem 0; }
  .page-service .sec-faq { padding-top: 2.5rem; padding-bottom: 4rem; }
  .page-service .float-actions { display: none; }

  .page-service:not(.page-service-index):not(.page-blog-index) .svc-hero { padding: 0.6rem 0 0; }
  .page-service:not(.page-service-index):not(.page-blog-index) .svc-hero-frame {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    border-radius: 40px;
    min-height: 460px;
  }
  .page-service:not(.page-service-index):not(.page-blog-index) .svc-hero-copy {
    justify-content: space-between;
    padding: 2.6rem 2.85rem 2.4rem;
    gap: 1.5rem;
  }
  .page-service:not(.page-service-index):not(.page-blog-index) .svc-hero h1 {
    font-size: clamp(1.7rem, 2.15vw, 2.2rem);
    margin-bottom: 0.9rem;
    max-width: 11.5em;
  }
  .page-service:not(.page-service-index):not(.page-blog-index) .svc-hero .svc-lead {
    font-size: 1.05rem;
    line-height: 1.62;
    margin-bottom: 1.25rem;
    max-width: 32rem;
  }
  .page-service:not(.page-service-index):not(.page-blog-index) .svc-hero .svc-trust { margin-bottom: 0; gap: 0.65rem 1.4rem; }
  .page-service:not(.page-service-index):not(.page-blog-index) .svc-hero .svc-hero-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    margin-top: auto;
  }
  .page-service:not(.page-service-index):not(.page-blog-index) .svc-hero-media {
    padding: 0;
    display: block;
  }
  .page-service:not(.page-service-index):not(.page-blog-index) .svc-hero-media img {
    min-height: 460px;
    max-height: none;
    border-radius: 0;
  }

  .svc-proof { padding-top: 0.35rem; }
  .svc-proof-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0 1.5rem;
    padding: 1.2rem 0 1.15rem;
  }
  .svc-proof-list li { font-size: 0.9rem; }

  .svc-jump-list { gap: 1.7rem; }
  .svc-jump a {
    font-size: 0.88rem;
    padding: 1rem 0 0.85rem;
  }

  .svc-section-head { margin-bottom: 2.1rem; max-width: 40rem; }
  .svc-section-head h2 { font-size: clamp(1.4rem, 1.85vw, 1.75rem); }
  .page-blog-index .svc-section-head { max-width: 48rem; }

  .page-service .svc-mat-n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .page-service .svc-mat-n4,
  .page-service .svc-mat-n5 { grid-template-columns: 1fr 1fr; }
  .page-service .svc-mat {
    min-height: 8.25rem;
    padding: 1.7rem 1.8rem;
  }
  .page-service .svc-mat strong { font-size: 1.12rem; }
  .page-service .svc-mat span { font-size: 0.96rem; }
  .page-service .svc-mat-price { font-size: 1.02rem; }

  .svc-gallery { gap: 1.25rem 1.4rem; }
  .svc-gallery-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .svc-gallery-media { border-radius: 24px; }
  .svc-gallery-item figcaption {
    margin-top: 0.7rem;
    font-size: 0.9rem;
  }

  .sec-svc-overview { padding-top: 4.25rem !important; padding-bottom: 3.25rem !important; }
  .svc-panel {
    border-radius: 40px;
    padding: 2.85rem 3rem 2.65rem;
  }
  .svc-panel > h2 { font-size: 1.75rem; }
  .svc-overview-lead { font-size: 1.08rem; }
  .svc-quote-bar { padding: 1.45rem 1.75rem; }

  .svc-process { gap: 1.25rem; }
  .svc-step {
    background: #fff;
    border-top: none;
    border-radius: 24px;
    padding: 1.65rem 1.7rem 1.75rem;
  }
  .svc-step-num { font-size: 1.7rem; margin-bottom: 0.85rem; }
  .svc-step h3 { font-size: 1.12rem; }

  .svc-benefit-grid { gap: 2rem 3.25rem; }

  .svc-cta-band {
    padding: 2.6rem 3rem;
    border-radius: 36px;
  }
  .svc-cta-band h2 { font-size: 1.65rem; }

  .svc-related-grid { gap: 1.35rem; }
  .svc-mini img { border-radius: 22px; }
  .svc-mini h3 { font-size: 1.05rem; }
}

/* Index hub */
.page-service-index .svc-hero-frame {
  background: var(--green-soft);
}
.page-service-index .svc-hero h1 {
  max-width: 11em;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
}
.svc-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
}
.svc-stats li {
  display: grid;
  gap: 0.2rem;
  padding: 1.15rem 1.25rem;
  border-right: 1px solid var(--line);
}
.svc-stats li:last-child { border-right: 0; }
.svc-stats strong {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--green-panel);
}
.svc-stats span {
  font-size: 0.86rem;
  color: var(--muted);
  font-weight: 500;
}
.page-service-index .svc-proof {
  padding: 1.25rem 0 0;
}
.page-service-index .sec-services {
  padding-top: 3rem;
}
.page-service-index .svc-card {
  position: relative;
}
.page-service-index .svc-card:hover { transform: translateY(-3px); }
.page-service-index .svc-card h3 { min-height: 0; }
.page-service-index .svc-card p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.svc-card-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--green-panel);
}
.sec-svc-pick { background: var(--bg-soft); }
.svc-pick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.svc-pick {
  display: grid;
  gap: 0.4rem;
  padding: 1.25rem 1.3rem 1.35rem;
  border-radius: 22px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.svc-pick:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(18, 21, 26, 0.07);
}
.svc-pick-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--green-panel);
}
.svc-pick strong {
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--black);
  line-height: 1.35;
}
.svc-pick span:last-child {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.5;
}
.svc-pick:hover strong { color: var(--green-panel); }

/* About / products / contact */
.info-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}
.info-value {
  padding: 1.35rem 1.4rem 1.5rem;
  border-radius: 22px;
  background: linear-gradient(180deg, #c5d8ff 0%, #d7e4ff 38%, #f3f7ff 100%);
}
.info-value strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--black);
}
.info-value p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}
.prod-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.prod-specs li {
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: #fff;
  color: var(--green-panel);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.page-contact .contact-hero { padding-bottom: 0; }
.page-contact .contact-hero .svc-hero-frame {
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr);
  align-items: center;
  background: linear-gradient(165deg, #e8efff 0%, #f4f7ff 55%, #fff 100%);
}
.page-contact .contact-hero h1 { max-width: 12em; }
.page-contact .contact-quote { padding-top: 2rem; }
.page-contact .contact-map-sec { padding-top: 0.25rem; }
.contact-hero-aside {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding: clamp(1.2rem, 2.4vw, 1.8rem);
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(18, 21, 26, 0.06);
  box-shadow: 0 8px 22px rgba(33, 86, 232, 0.04);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.contact-card:hover {
  transform: translateY(-2px);
  border-color: rgba(33, 86, 232, 0.16);
  box-shadow: 0 14px 32px rgba(33, 86, 232, 0.08);
}
.contact-ico {
  width: 2.55rem;
  height: 2.55rem;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e8efff;
  color: var(--green-panel);
  font-size: 0.92rem;
}
.contact-card-text {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}
.contact-card strong {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-card-text > span {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.02em;
  word-break: break-word;
}
.info-map {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: var(--green-soft);
  aspect-ratio: 16 / 7.2;
}
.info-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.info-map-card {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  width: min(22rem, calc(100% - 2.5rem));
  padding: 1.1rem 1.2rem 1.15rem;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(18, 21, 26, 0.12);
}
.info-map-card strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1.02rem;
  color: var(--black);
}
.info-map-card p {
  margin: 0 0 0.65rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.info-map-card a {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--green-panel);
}
.page-about .svc-proof { margin-bottom: 0; }
.page-about .svc-stats li {
  text-align: center;
  justify-items: center;
}
.page-products .svc-card h3 { min-height: 0; }

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}
.project-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(33, 86, 232, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(33, 86, 232, 0.12);
}
.project-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--green-soft);
}
.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.project-card:hover .project-media img { transform: scale(1.04); }
.project-body {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.1rem 1.2rem;
}
.project-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-panel);
}
.project-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--black);
  line-height: 1.3;
}
.project-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.info-banner { padding: 0.35rem 0 0; }
.info-banner .breadcrumb { margin-bottom: 1.15rem; }
.info-banner-photo .info-banner-frame {
  position: relative;
  min-height: min(52vh, 480px);
  border-radius: 40px;
  overflow: hidden;
  background: #1b2430;
  display: flex;
  align-items: center;
}
.info-banner-photo .info-banner-frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 55%;
}
.info-banner-photo .info-banner-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 18, 28, 0.32) 0%, rgba(12, 18, 28, 0.08) 48%, transparent 72%);
  pointer-events: none;
}
.info-banner-panel {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(100%, 36rem);
  margin: 2rem;
  padding: clamp(1.85rem, 3.2vw, 2.45rem) clamp(1.55rem, 2.8vw, 2.2rem);
  background: #f5f7fb;
  border-radius: 28px;
}
.info-banner-panel .svc-trust {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0 0 1.2rem;
}
.info-banner-panel .svc-hero-cta {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0;
}
.info-banner-panel h1,
.info-banner-copy h1 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.4rem, 2.3vw, 2rem);
  line-height: 1.28;
  letter-spacing: -0.015em;
  color: var(--black);
  font-weight: 400;
  max-width: 14em;
}
.info-banner-panel .svc-lead { margin-bottom: 1rem; }
.info-banner-gold .info-banner-frame {
  border-radius: 36px;
  background: linear-gradient(145deg, #FDCC4C 0%, #f6d36a 42%, #fff4c4 100%);
  padding: clamp(1.7rem, 3.2vw, 2.6rem) clamp(1.5rem, 3vw, 2.5rem);
}
.info-banner-copy { max-width: 40rem; }
.info-banner-gold .sec-label { color: rgba(18, 21, 26, 0.7); }
.info-banner-gold .svc-lead { color: rgba(18, 21, 26, 0.68); }
.info-banner-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.35rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}
.info-banner-meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--black);
}
.info-banner-meta i { color: var(--green-panel); }

@media (max-width: 980px) {
  .page-service .sec { padding: 2.5rem 0; }
  .svc-hero-frame {
    grid-template-columns: 1fr;
    border-radius: 26px;
  }
  .svc-hero-media { order: -1; }
  .svc-hero-media img { min-height: 220px; max-height: 240px; }
  .page-service:not(.page-service-index):not(.page-blog-index) .svc-hero-media { padding: 0; }
  .page-service:not(.page-service-index):not(.page-blog-index) .svc-hero-media img {
    border-radius: 0;
    min-height: 220px;
    max-height: 240px;
  }
  .svc-hero-copy { padding: 1.35rem 1.2rem 1.4rem; }
  .svc-hero h1 { max-width: none; }
  .page-contact .contact-hero .svc-hero-frame { grid-template-columns: 1fr; }
  .contact-hero-aside { padding: 0 1.2rem 1.25rem; }
  .info-banner-photo .info-banner-frame { min-height: 360px; border-radius: 28px; }
  .info-banner-panel { margin: 1.15rem; }
  .svc-promise,
  .svc-when-grid,
  .svc-point-grid {
    grid-template-columns: 1fr 1fr;
  }
  .svc-quote-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .svc-process,
  .svc-related-grid {
    grid-template-columns: 1fr;
  }
  .svc-gallery,
  .svc-gallery-3 {
    grid-template-columns: 1fr 1fr;
  }
  .svc-panel { border-radius: 24px; }
  .svc-cta-band {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }
  .svc-cta-band .svc-hero-cta { justify-content: stretch; }
  .svc-mat-grid,
  .svc-mat-grid-3,
  .svc-pick-grid,
  .svc-stats,
  .info-value-grid,
  .contact-grid,
  .project-grid {
    grid-template-columns: 1fr 1fr;
  }
  .svc-stats li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .svc-stats li:nth-child(odd) { border-right: 1px solid var(--line); }
  .svc-stats li:nth-last-child(-n+2) { border-bottom: 0; }
}

@media (max-width: 640px) {
  .svc-hero-media img { min-height: 200px; max-height: 220px; }
  .svc-gallery,
  .svc-gallery-3 {
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem 0.65rem;
  }
  .svc-gallery-media { border-radius: 14px; }
  .svc-gallery-item figcaption { font-size: 0.78rem; }
  .svc-promise,
  .svc-when-grid,
  .svc-point-grid,
  .svc-mat-grid,
  .svc-mat-grid-3,
  .svc-related-grid,
  .svc-pick-grid,
  .svc-stats,
  .info-value-grid,
  .contact-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }
  .info-map { aspect-ratio: 4 / 3; border-radius: 22px; }
  .info-map-card {
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.85rem;
    width: auto;
  }
  .info-banner-photo .info-banner-frame {
    min-height: 0;
    border-radius: 26px;
    display: block;
  }
  .info-banner-photo .info-banner-frame > img {
    position: relative;
    height: 220px;
  }
  .info-banner-panel {
    margin: 0;
    border-radius: 0 0 26px 26px;
  }
  .info-banner-gold .info-banner-frame { border-radius: 24px; }
  .svc-stats li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .svc-stats li:last-child { border-bottom: 0; }
  .svc-proof-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem 0.75rem;
  }
  .svc-proof-list li {
    font-size: 0.78rem;
    align-items: flex-start;
  }
  .svc-hero-cta .btn-primary,
  .svc-cta-band .btn-dark {
    width: 100%;
    justify-content: center;
  }
  .svc-hero-cta-row {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .svc-hero-cta-row .btn {
    width: 100%;
    justify-content: center;
    padding-right: 0.75rem;
  }
  .page-service .footer {
    padding-bottom: 5.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .svc-gallery-item:hover img,
  .svc-mini:hover img { transform: none; }
}
