:root {
  --ink: #23363a;
  --ink-muted: #627377;
  --bg-page: #f6f7f5;
  --bg-elevated: #ffffff;
  --primary: #294b4f;
  --primary-hover: #1f3f43;
  --accent: #2e5458;
  --accent-soft: #eef4f2;
  --line: #e2e8e5;
  --shadow: 0 10px 28px rgba(22, 41, 44, 0.08);
  --shadow-sm: 0 4px 14px rgba(22, 41, 44, 0.07);
  --radius: 14px;
  --font-sans: "Inter", system-ui, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --transition: 0.22s ease;
}

/* Home page light-cyan secondary palette */
body.home {
  --ink: #23363a;
  --ink-muted: #627377;
  --bg-page: #f6f7f5;
  --bg-elevated: #ffffff;
  --primary: #294b4f;
  --primary-hover: #1f3f43;
  --accent: #2e5458;
  --accent-soft: #eef4f2;
  --line: #e2e8e5;
  --shadow: 0 10px 28px rgba(22, 41, 44, 0.08);
  --shadow-sm: 0 4px 14px rgba(22, 41, 44, 0.07);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg-page);
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus {
  left: 1rem; top: 1rem; z-index: 100;
  background: var(--bg-elevated); padding: 0.5rem 1rem; border-radius: 8px;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1180px; margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-weight: 700; font-size: 1.15rem;
  color: var(--primary); letter-spacing: -0.02em;
}
.logo-mark {
  width: auto;
  height: 52px;
  max-width: 240px;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
  display: block;
}
.main-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; align-items: center;
}
.main-nav a {
  color: var(--ink-muted); font-weight: 500; font-size: 0.9rem;
}
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current_page_item > a { color: var(--primary); }
.header-cta { display: flex; align-items: center; gap: 0.75rem; }
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.menu-toggle svg { width: 24px; height: 24px; }
.mobile-menu {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 120;
  display: none;
  flex-direction: column;
  padding: 1rem;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid #edf1ef;
}
.mobile-menu-close {
  border: none;
  background: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #d6dfdc;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
.mobile-menu-nav a {
  color: var(--ink-muted);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
}
.mobile-menu-nav a:hover,
.mobile-menu-nav a:focus-visible { color: var(--primary); }
.mobile-menu-footer { margin-top: auto; padding-bottom: 0.25rem; }
.mobile-menu-footer .btn {
  width: 100%;
  border-radius: 8px;
  height: 44px;
  font-weight: 700;
}
.phone-pill { display: none; font-size: 0.85rem; color: var(--ink-muted); }
@media (min-width: 900px) { .phone-pill { display: inline; } }
@media (max-width: 900px) {
  .header-inner { padding: 0.75rem 0 0.75rem 0.75rem; gap: 0.55rem; }
  .header-inner .main-nav { display: none; }
  .logo { font-size: 1.05rem; }
  .logo-mark {
    width: auto;
    height: 40px;
    max-width: 180px;
  }
  .header-cta {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.45rem;
  }
  .header-cta .phone-pill { display: none; }
  .header-cta .btn { padding: 0.5rem 0.95rem; font-size: 0.85rem; order: 1; }
  .menu-toggle { display: inline-flex; order: 2; margin-right: 0; }

  /* Prevent full-width hero breakout from causing horizontal scroll on mobile */
  .sm-hero {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}
@media (max-width: 520px) {
  .header-inner { padding-left: 0.7rem; padding-right: 0; }
  .header-cta .btn { padding-inline: 0.8rem; }
  .sm-container {
    width: 100%;
  }
  body {
    overflow-x: hidden;
  }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.55rem 1.1rem;
  font-family: var(--font-sans); font-size: 0.9rem; font-weight: 600;
  border-radius: 8px; border: none; cursor: pointer;
  transition: background var(--transition), transform 0.15s ease, box-shadow var(--transition);
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: none; }
.btn-primary:hover { background: var(--primary-hover); color: #fff; }
.btn-ghost { background: #fff; color: var(--primary); border: 1px solid #ccd7d3; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Hero — Apollo-style full-bleed banner */
.hero-wrap {
  position: relative; isolation: isolate; overflow: hidden;
  background: #0e3a5c; color: #fff;
  min-height: 78vh;
}
.hero-wrap::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(105deg, rgba(14, 58, 92, 0.95) 0%, rgba(14, 58, 92, 0.7) 45%, rgba(14, 58, 92, 0.3) 100%);
  background-size: cover;
  background-position: center;
}
.hero-wrap.has-bg::before {
  background:
    linear-gradient(100deg, rgba(14, 58, 92, 0.96) 0%, rgba(14, 58, 92, 0.78) 40%, rgba(14, 58, 92, 0.35) 75%, rgba(14, 58, 92, 0.15) 100%),
    var(--hero-bg);
  background-size: cover;
  background-position: right 20%;
  background-repeat: no-repeat;
}
.hero-wrap::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1.5px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
  opacity: 0.65; pointer-events: none;
}
.hero {
  max-width: 1120px; margin: 0 auto;
  padding: 5.75rem 1.5rem 8.5rem;
  position: relative;
}
@media (min-width: 900px) {
  .hero-wrap { min-height: 86vh; }
  .hero { padding: 7rem 1.5rem 10.5rem; }
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #e8f4ff;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 1.25rem;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  font-weight: 700; line-height: 1.1;
  color: #fff; margin: 0 0 1rem; max-width: 18ch;
}
.hero .lede { font-size: 1.1rem; color: rgba(255,255,255,0.92); max-width: 42ch; margin: 0 0 1.75rem; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0; }
.btn-light { background: rgba(255, 255, 255, 0.96); color: var(--primary); box-shadow: var(--shadow-sm); }
.btn-light:hover { background: #fff; color: var(--primary); }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.4); }
.hero .btn-ghost:hover { color: #fff; border-color: #fff; }

/* Floating quick-action tiles */
.hero-actions {
  max-width: 1120px; margin: 0 auto 0;
  padding: 0 1.5rem 2.75rem;
  position: relative; z-index: 5;
  margin-top: -50px;
}
.actions-grid {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 22px 60px rgba(14, 58, 92, 0.18);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  overflow: hidden;
  touch-action: pan-y;
}
.action-tile {
  padding: 1.4rem 1.25rem;
  display: flex; align-items: center; gap: 0.9rem;
  color: var(--ink);
  border-right: 1px solid var(--line);
  transition: background var(--transition), color var(--transition);
}
.action-tile:last-child { border-right: none; }
.action-tile:hover { background: var(--accent-soft); color: var(--primary); }
.action-tile .ico {
  width: 48px; height: 48px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--accent-soft); color: var(--primary);
}
.action-tile .ico svg { width: 24px; height: 24px; }
.action-tile .text { display: flex; flex-direction: column; gap: 0.15rem; line-height: 1.25; }
.action-tile .text strong { font-size: 0.98rem; font-weight: 600; color: inherit; }
.action-tile .text span { font-size: 0.78rem; color: var(--ink-muted); }
.action-tile:hover .text span { color: var(--primary); }
@media (max-width: 720px) {
  .hero-wrap { min-height: 70vh; }
  .hero-actions { margin-top: 0; padding-left: 1rem; padding-right: 1rem; }
  .actions-grid { grid-template-columns: 1fr; }
  .action-tile { border-right: none; border-bottom: 1px solid var(--line); }
  .action-tile:last-child { border-bottom: none; }
}

/* Section common */
section { padding: 2.5rem 1.5rem; }
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  color: var(--primary); margin: 0 0 0.5rem;
}
.section-sub { color: var(--ink-muted); max-width: 60ch; margin: 0 0 1.75rem; }
.container { max-width: 1120px; margin: 0 auto; }

/* Services */
.services { background: var(--bg-elevated); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid-services { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.service-card {
  background: var(--bg-page); border: 1px solid var(--line); border-radius: 12px;
  padding: 1.25rem 1.1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.service-card:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.service-card .icon {
  width: 56px; height: 56px; border-radius: 12px;
  background: var(--accent-soft); color: var(--primary);
  display: grid; place-items: center; margin-bottom: 0.75rem; padding: 8px;
}
.service-card .icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.service-card h3 { font-size: 0.95rem; font-weight: 600; margin: 0 0 0.25rem; color: var(--ink); }
.service-card p { font-size: 0.8rem; color: var(--ink-muted); margin: 0; }

/* Branches / contact row */
.branch-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.branch-tile { background: var(--primary); color: #f2f7fc; border-radius: 12px; padding: 1.25rem 1.35rem; }
.branch-tile strong { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.85; margin-bottom: 0.35rem; }
.branch-tile a { color: #fff; font-weight: 600; font-size: 1.1rem; }
.timings { font-size: 0.9rem; margin-top: 0.5rem; opacity: 0.95; }

/* Quality */
.quality { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 800px) { .quality { grid-template-columns: 1fr 1fr; } }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { padding: 0.4rem 0 0.4rem 1.5rem; position: relative; color: var(--ink-muted); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.65em;
  width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--accent);
}
.quality-aside { background: var(--bg-elevated); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.quality-image { width: 100%; border-radius: var(--radius); margin-bottom: 1.25rem; display: block; box-shadow: var(--shadow-sm); }

/* Treatments */
.treatments { background: var(--bg-elevated); border-top: 1px solid var(--line); }
.treatment-showcase {
  display: block;
}

.treatment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.treatment-hover-card {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(245, 143, 77, 0.38);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), outline-color var(--transition), border-color var(--transition);
}

.treatment-hover-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.74));
}
.treatment-hover-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.treatment-card-title {
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.65rem;
  margin: 0;
  color: #fff;
  z-index: 1;
  font-size: 1.05rem;
  line-height: 1.2;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.45);
  transition: opacity var(--transition);
}

.treatment-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 1rem;
  color: #f6f7fb;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.08), transparent 45%),
    linear-gradient(160deg, rgba(22, 28, 37, 0.95), rgba(9, 12, 18, 0.92));
  opacity: 0;
  transition: opacity var(--transition);
}

.treatment-card-category {
  margin: 0 0 0.4rem;
  color: #f8c9a8;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.treatment-card-overlay h4 {
  margin: 0 0 0.35rem;
  font-size: 1.12rem;
  line-height: 1.2;
}

.treatment-card-overlay p {
  margin: 0;
  color: #b7bfca;
  font-size: 0.86rem;
  line-height: 1.5;
}

.treatment-card-overlay .btn {
  margin-top: 0.7rem;
  align-self: flex-start;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0.4rem 0.7rem;
  font-size: 0.8rem;
}
.treatment-hover-card:hover,
.treatment-hover-card.is-active {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: -2px;
  border-color: rgba(245, 143, 77, 0.65);
  box-shadow: var(--shadow-sm);
}
.treatment-hover-card:hover img,
.treatment-hover-card.is-active img {
  transform: scale(1.05);
}
.treatment-hover-card:hover .treatment-card-overlay,
.treatment-hover-card.is-active .treatment-card-overlay {
  opacity: 1;
}
.treatment-hover-card:hover .treatment-card-title,
.treatment-hover-card.is-active .treatment-card-title {
  opacity: 0;
}

@media (max-width: 980px) {
  .treatment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .treatment-hover-card { min-height: 220px; }
  .treatment-grid { grid-template-columns: 1fr; }
}

/* CTA band */
.cta-band {
  background: transparent;
  padding: 1.25rem 1.5rem;
}
.cta-band-inner {
  text-align: center;
  max-width: 1120px;
  margin: 0 auto;
  background: linear-gradient(120deg, #006883 0%, #007c9d 100%);
  color: #f2f7fc;
  border-radius: 14px;
  padding: 2.1rem 1.25rem;
  box-shadow: 0 12px 30px rgba(0, 83, 106, 0.22);
}
.cta-band p { margin: 0 0 0.5rem; font-size: 1.05rem; }
.cta-band .phones {
  font-size: 0.95rem;
  opacity: 0.95;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.6rem;
}
.cta-band .phones a { color: #fff; }
.cta-band .phones .sep { opacity: 0.8; }
.cta-band .btn { margin-top: 1rem; background: #fff; color: var(--primary); }
.cta-band .btn:hover { background: var(--accent-soft); color: var(--primary); }
@media (max-width: 640px) {
  .cta-band { padding: 1rem; }
  .cta-band-inner { padding: 1.4rem 1rem; }
  .cta-band .phones .sep { display: none; }
}

/* Form */
.appointment { max-width: 900px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }
label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--ink-muted); margin-bottom: 0.35rem; }
input, select, textarea {
  width: 100%; padding: 0.65rem 0.8rem;
  font-family: var(--font-sans); font-size: 0.95rem;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
textarea { min-height: 100px; resize: vertical; }

/* Testimonials */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.review-card { background: var(--bg-elevated); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.review-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent-soft) center/cover no-repeat;
  color: var(--primary);
  display: grid; place-items: center;
  font-weight: 700; font-size: 0.9rem;
  flex-shrink: 0; overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.review-card .tag { font-size: 0.75rem; color: var(--accent); font-weight: 600; }
.review-card h3 { margin: 0.15rem 0 0.5rem; font-size: 1rem; }
.review-card p { margin: 0; font-size: 0.9rem; color: var(--ink-muted); }
.rating-line { font-size: 0.9rem; color: var(--ink-muted); margin-bottom: 1.5rem; }

/* News */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.news-card { background: var(--bg-elevated); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: box-shadow var(--transition); }
.news-card:hover { box-shadow: var(--shadow-sm); }
.news-thumb { height: 160px; background: var(--accent-soft) center/cover no-repeat; }
.news-body { padding: 1.1rem 1.2rem; }
.meta { font-size: 0.75rem; color: var(--ink-muted); }
.news-body h3 { margin: 0.35rem 0; font-size: 1rem; }
.news-body p { margin: 0; font-size: 0.85rem; color: var(--ink-muted); }

/* Team */
.branches { display: flex; flex-direction: column; gap: 2rem; }
.branch-block h3 { font-size: 1.1rem; color: var(--primary); margin: 0 0 1rem; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.person { background: var(--bg-elevated); border: 1px solid var(--line); border-radius: 12px; padding: 1.15rem; }
.person-photo { width: 100%; height: 180px; border-radius: 8px; background: var(--accent-soft) center/cover no-repeat; margin-bottom: 0.75rem; }
.person h4 { margin: 0 0 0.25rem; font-size: 0.95rem; }
.person .creds { font-size: 0.8rem; color: var(--ink-muted); margin: 0; }

/* App */
.app-block { background: var(--bg-elevated); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem 1.5rem; display: grid; gap: 1rem; align-items: center; }
@media (min-width: 700px) { .app-block { grid-template-columns: 1.4fr 0.8fr 1fr; } }
.app-image { width: 100%; max-width: 220px; height: auto; display: block; margin: 0 auto; }
.app-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.app-badges span { padding: 0.4rem 0.8rem; background: var(--bg-page); border-radius: 8px; font-size: 0.8rem; color: var(--ink-muted); }

/* Newsletter + Footer */
.newsletter { background: var(--primary); color: #f2f7fc; }
.newsletter .container { max-width: 600px; text-align: center; }
.newsletter h2 { font-family: var(--font-serif); margin: 0 0 0.75rem; }
.inline-form { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-top: 1rem; }
.inline-form input { max-width: 280px; border: none; }
.inline-form .btn { background: #fff; color: var(--primary); }

.site-footer {
  background: #f6f7f5;
  color: #627377;
  padding: 1.2rem 1.5rem 1.4rem;
  border-top: 1px solid #e2e8e5;
  font-size: 0.86rem;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-brand .logo {
  font-size: 1rem;
  color: #2f4d52;
}
.footer-brand .logo-mark {
  width: 52px;
  height: 52px;
  box-shadow: none;
}
.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1rem;
}
.footer-nav a {
  color: #627377;
  font-size: 0.82rem;
}
.footer-nav a:hover {
  color: #2f4d52;
}
.footer-social {
  display: flex;
  gap: 0.5rem;
}
.footer-social a {
  width: 30px;
  height: 30px;
  border: 1px solid #ccd7d3;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #2f4d52;
  font-size: 0.72rem;
  font-weight: 600;
}
.copy {
  text-align: center;
  margin: 0.95rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid #e2e8e5;
  font-size: 0.75rem;
  color: #7d8b8f;
}
@media (max-width: 900px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* WordPress single-post layout */
.entry-wrap { max-width: 760px; margin: 0 auto; padding: 2.5rem 1.5rem; }
.entry-wrap .entry-title { font-family: var(--font-serif); color: var(--primary); margin: 0 0 0.5rem; }
.entry-meta { color: var(--ink-muted); font-size: 0.85rem; margin-bottom: 1.5rem; }
.entry-content > * { margin-bottom: 1rem; }
.entry-content h2, .entry-content h3 { color: var(--primary); font-family: var(--font-serif); }
.entry-content blockquote { border-left: 3px solid var(--accent); padding: 0.5rem 1rem; background: var(--bg-elevated); border-radius: 8px; color: var(--ink-muted); }
.entry-content img { border-radius: 10px; }
.featured-image { margin: 0 0 1.5rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.featured-image img { display: block; width: 100%; height: auto; }
.post-card {
  background: var(--bg-elevated); border: 1px solid var(--line); border-radius: 12px;
  padding: 1.25rem 1.4rem; margin-bottom: 1.25rem;
}
.post-card h2 { margin: 0 0 0.4rem; font-size: 1.15rem; }
.post-card h2 a { color: var(--primary); }
.post-card .excerpt { color: var(--ink-muted); margin: 0.5rem 0 0.75rem; font-size: 0.95rem; }
.post-pagination { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 2rem; }
.post-pagination a, .post-pagination span {
  padding: 0.45rem 0.85rem; border-radius: 999px; border: 1px solid var(--line);
  color: var(--ink-muted); font-size: 0.85rem; background: #fff;
}
.post-pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Page hero */
.page-hero { padding: 3rem 1.5rem 2rem; }
.page-hero .container { max-width: 900px; text-align: center; }
.page-hero .breadcrumb { color: var(--ink-muted); font-size: 0.85rem; margin-bottom: 0.5rem; }
.page-hero h1 { font-family: var(--font-serif); color: var(--primary); margin: 0 0 0.5rem; font-size: clamp(2rem, 4vw, 2.6rem); }
.page-hero p { color: var(--ink-muted); margin: 0 auto; max-width: 60ch; }

/* Comments */
.comments-area { max-width: 760px; margin: 0 auto; padding: 0 1.5rem 3rem; }
.comments-area .comment-list { list-style: none; padding: 0; }
.comments-area .comment-body { background: var(--bg-elevated); border: 1px solid var(--line); border-radius: 10px; padding: 1rem 1.25rem; margin-bottom: 1rem; }
.comment-meta { font-size: 0.85rem; color: var(--ink-muted); margin-bottom: 0.4rem; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; }

/* 404 / search empty */
.notfound { padding: 4rem 1.5rem; text-align: center; }
.notfound h1 { font-family: var(--font-serif); color: var(--primary); font-size: clamp(2.5rem, 6vw, 4rem); margin: 0 0 0.5rem; }
.notfound p { color: var(--ink-muted); margin: 0 0 1.25rem; }

/* Contact / About helpers */
.contact-grid { display: grid; gap: 1.5rem; }
@media (min-width: 800px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }
.contact-card { background: var(--bg-elevated); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.contact-card h3 { color: var(--primary); margin-top: 0; }
.contact-card ul { list-style: none; padding: 0; margin: 0; }
.contact-card li { margin-bottom: 0.4rem; color: var(--ink-muted); }

.about-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 800px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-grid img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }

/* Subtle reveal effect */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Front page design matching provided reference */
.vcx-home {
  padding: 1.15rem 0 2.5rem;
}
.vcx-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}
.vcx-hero {
  background: #fff;
  border: 1px solid #e7ebe8;
  border-radius: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 45% 55%;
}
.vcx-hero-left {
  padding: 2.3rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.vcx-hero-left h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3vw, 2.9rem);
  line-height: 1.08;
  color: #28383d;
}
.vcx-hero-left p {
  margin: 0;
  max-width: 29ch;
  color: #5a6a6c;
}
.vcx-hero-actions {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.vcx-hero-right {
  position: relative;
}
.vcx-hero-right img {
  width: 100%;
  height: 100%;
  min-height: 450px;
  object-fit: cover;
  display: block;
}
.vcx-nav-btn {
  width: 34px;
  height: 34px;
  border: 1px solid #d7dfdc;
  background: #fff;
  color: #6b7678;
  border-radius: 999px;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}
.vcx-hero-right .vcx-nav-btn {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
}
.vcx-pill-features {
  background: #fff;
  border: 1px solid #e7ebe8;
  border-top: none;
  border-radius: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.vcx-pill-features article {
  padding: 1.1rem 1rem;
  border-right: 1px solid #ecf0ed;
}
.vcx-pill-features article:last-child {
  border-right: 0;
}
.vcx-pill-features strong {
  display: block;
  color: #23363a;
  font-size: 0.93rem;
}
.vcx-pill-features span {
  color: #738185;
  font-size: 0.78rem;
}
.vcx-services,
.vcx-trust,
.vcx-testimonials,
.vcx-partners {
  margin-top: 2.4rem;
}
.vcx-section-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
  margin-bottom: 1.1rem;
}
.vcx-kicker {
  margin: 0 0 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  color: #6f7d81;
  font-weight: 600;
}
.vcx-section-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
  font-family: var(--font-serif);
  line-height: 1.2;
}
.vcx-service-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(4, 1fr);
}
.vcx-service-card {
  background: #fff;
  border: 1px solid #e4ebe7;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}
.vcx-service-card:hover {
  transform: translateY(-6px);
  border-color: #d6e1dc;
  box-shadow: 0 14px 28px rgba(31, 63, 67, 0.08);
}
.vcx-service-card img {
  width: 100%;
  height: 155px;
  object-fit: cover;
  display: block;
  transition: transform 420ms ease;
}
.vcx-service-card:hover img {
  transform: scale(1.035);
}
.vcx-service-body {
  padding: 0.9rem;
}
.vcx-service-body h3 {
  margin: 0;
  font-size: 1rem;
}
.vcx-service-body p {
  margin: 0.45rem 0 0.8rem;
  color: #6f7d81;
  font-size: 0.84rem;
}
.vcx-service-body a {
  color: #2f5964;
  font-weight: 600;
  font-size: 0.84rem;
}
.vcx-trust {
  display: grid;
  grid-template-columns: 1.2fr 1fr 2fr;
  gap: 0.9rem;
  align-items: stretch;
}
.vcx-trust-card {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e4ebe7;
  background: #fff;
  transition: transform 280ms ease, box-shadow 280ms ease;
}
.vcx-trust-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(31, 63, 67, 0.08);
}
.vcx-trust-card img {
  width: 100%;
  height: 100%;
  min-height: 148px;
  object-fit: cover;
  display: block;
}
.vcx-promise {
  padding: 1rem;
  background: #5f7f77;
  color: #eff8f3;
}
.vcx-promise h3 {
  margin: 0 0 0.6rem;
  font-family: var(--font-serif);
}
.vcx-promise p {
  margin: 0;
  font-size: 0.9rem;
}
.vcx-trust-copy h2 {
  margin: 0 0 1.1rem;
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  font-family: var(--font-serif);
}
.vcx-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.vcx-stats strong {
  display: block;
  font-size: 1.45rem;
}
.vcx-stats span {
  color: #6f7d81;
  font-size: 0.8rem;
}
.vcx-review-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(3, 1fr);
}
.vcx-review {
  border: 1px solid #e4ebe7;
  border-radius: 8px;
  background: #fff;
  padding: 1rem;
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}
.vcx-review:hover {
  transform: translateY(-5px);
  border-color: #d6e1dc;
  box-shadow: 0 12px 24px rgba(31, 63, 67, 0.08);
}
.vcx-review-top {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.vcx-review-top img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.vcx-review-top strong,
.vcx-review-top span {
  display: block;
}
.vcx-review-top strong {
  color: #2b3d41;
  font-size: 0.88rem;
}
.vcx-review-top span {
  color: #a98b2a;
  font-size: 0.72rem;
}
.vcx-quote-mark {
  margin: 0.4rem 0 0.35rem;
  color: #a4b0b2;
  font-size: 1.25rem;
}
.vcx-review p {
  margin: 0;
  color: #506165;
  font-size: 0.87rem;
}
.vcx-review-meta {
  margin-top: 0.75rem;
}
.vcx-review-meta a {
  color: #2f5964;
  font-size: 0.8rem;
  font-weight: 600;
}
.vcx-partner-row {
  margin-top: 0.65rem;
  background: #fff;
  border: 1px solid #e4ebe7;
  border-radius: 8px;
  padding: 0.9rem;
  display: grid;
  grid-template-columns: repeat(6, minmax(90px, 1fr));
  gap: 0.75rem;
}
.vcx-partner-row span {
  border: 1px solid #edf1ef;
  border-radius: 8px;
  height: 48px;
  display: grid;
  place-items: center;
  background: #fff;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}
.vcx-partner-row span:hover {
  transform: translateY(-3px);
  border-color: #d8e2de;
  box-shadow: 0 8px 18px rgba(31, 63, 67, 0.08);
}
.vcx-partner-row img {
  max-width: 88%;
  max-height: 30px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 260ms ease, opacity 260ms ease;
}
.vcx-partner-row span:hover img {
  transform: scale(1.04);
  opacity: 0.96;
}
.vcx-visit {
  margin-top: 1.25rem;
  padding: 1.15rem;
  border-radius: 8px;
  border: 1px solid #7e9a95;
  background: #688883;
  color: #eff6f3;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 1rem;
  transition: box-shadow 280ms ease, transform 280ms ease;
}
.vcx-visit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(31, 63, 67, 0.16);
}
.vcx-visit h3,
.vcx-visit h4 {
  margin: 0 0 0.55rem;
}
.vcx-visit p {
  margin: 0 0 0.45rem;
  font-size: 0.86rem;
}
.vcx-visit .btn-primary {
  background: #27484e;
  box-shadow: none;
}
.vcx-visit .btn-ghost {
  color: #eff6f3;
  border-color: rgba(239, 246, 243, 0.45);
}
.vcx-home .btn {
  transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease, color 220ms ease, box-shadow 220ms ease;
}
.vcx-home .btn:hover {
  transform: translateY(-2px);
}
@media (max-width: 1024px) {
  .vcx-hero { grid-template-columns: 1fr; }
  .vcx-hero-right img { min-height: 300px; }
  .vcx-hero-right .vcx-nav-btn { right: 1rem; top: 1rem; transform: none; }
  .vcx-pill-features { grid-template-columns: repeat(2, 1fr); }
  .vcx-pill-features article:nth-child(2n) { border-right: 0; }
  .vcx-service-grid { grid-template-columns: repeat(2, 1fr); }
  .vcx-trust { grid-template-columns: 1fr 1fr; }
  .vcx-trust-copy { grid-column: 1 / -1; }
  .vcx-review-grid { grid-template-columns: 1fr; }
  .vcx-partner-row { grid-template-columns: repeat(3, minmax(100px, 1fr)); }
  .vcx-visit { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .vcx-home { padding-top: 0.8rem; }
  .vcx-shell { width: calc(100% - 1rem); }
  .vcx-hero-left { padding: 1.2rem 1rem; }
  .vcx-hero-left h1 { font-size: 1.95rem; }
  .vcx-nav-btn { display: none; }
  .vcx-pill-features { grid-template-columns: 1fr; border-top: 1px solid #e7ebe8; }
  .vcx-pill-features article { border-right: 0; border-bottom: 1px solid #ecf0ed; }
  .vcx-pill-features article:last-child { border-bottom: 0; }
  .vcx-service-grid,
  .vcx-trust { grid-template-columns: 1fr; }
  .vcx-stats { grid-template-columns: repeat(2, 1fr); }
  .vcx-partner-row { grid-template-columns: repeat(2, minmax(90px, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .vcx-service-card,
  .vcx-service-card img,
  .vcx-trust-card,
  .vcx-review,
  .vcx-partner-row span,
  .vcx-partner-row img,
  .vcx-visit,
  .vcx-home .btn {
    transition: none;
    transform: none;
  }
}

/* sample.html exact layout adaptation */
body.home {
  background: #f7f7f7;
}
body.home .site-header {
  position: relative;
  background: #fff;
  border-bottom: 1px solid #e7ece9;
}
body.home .header-inner {
  max-width: 1200px;
  padding: 14px 0;
}
body.home .main-nav ul {
  gap: 30px;
}
body.home .main-nav a {
  color: #333;
  font-weight: 400;
}
body.home .header-cta .btn.btn-primary {
  background: #3c6e66;
  border-radius: 6px;
  padding: 10px 18px;
}
.sm-home {
  color: #2d2d2d;
  margin-top: 0;
  padding-top: 0;
}
.sm-home h1,
.sm-home h2,
.sm-home h3,
.sm-home h4 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #2f4549;
}
.sm-container {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
}
.sm-hero {
  display: grid;
  grid-template-columns: 34% 66%;
  align-items: center;
  gap: 0;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #fff;
  border: 1px solid #e7ece9;
  border-top: 0;
  min-height: 680px;
  position: relative;
  margin-top: 0;
}
.sm-hero-text {
  padding: 72px 52px 40px;
  position: relative;
  z-index: 2;
  margin-right: -34px;
}
.sm-hero-copy-slide {
  display: none;
}
.sm-hero-copy-slide.is-active {
  display: block;
}
.sm-hero-text h1 {
  font-size: clamp(3.4rem, 5vw, 5rem);
  font-weight: 500;
  line-height: 1.06;
  margin: 0;
  color: #233f43;
}
.sm-hero-text span {
  color: #3c6e66;
  font-style: italic;
}
.sm-hero-text p {
  margin: 26px 0 34px;
  color: #44545a;
  font-size: 1.18rem;
  line-height: 1.55;
  max-width: 27ch;
}
.sm-hero-buttons {
  display: flex;
  gap: 15px;
}
.sm-btn {
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 6px;
  display: inline-flex;
  transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}
.sm-btn:hover {
  transform: translateY(-2px);
}
.sm-btn:active {
  transform: translateY(0);
}
.sm-btn-primary {
  background: #3c6e66;
  color: #fff;
  border: 1px solid #3c6e66;
}
.sm-btn-light {
  background: #fff;
  color: #2b4347;
  border: 1px solid #bac7c3;
}
.sm-hero-carousel {
  position: relative;
  height: 100%;
  min-height: 680px;
  overflow: hidden;
}
.sm-hero-carousel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: clamp(48px, 7vw, 130px);
  background: linear-gradient(90deg, rgba(247, 247, 247, 0.95) 0%, rgba(247, 247, 247, 0.35) 58%, rgba(247, 247, 247, 0) 100%);
  pointer-events: none;
  z-index: 2;
}
.sm-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 480ms ease;
}
.sm-hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.sm-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sm-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid #dde4e1;
  background: rgba(255, 255, 255, 0.94);
  color: #556468;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}
.sm-hero-arrow-prev {
  left: 14px;
}
.sm-hero-arrow-next {
  right: 16px;
}
.sm-hero-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.sm-hero-dot {
  width: 36px;
  height: 3px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}
.sm-hero-dot.is-active {
  background: #4e7b72;
}
.sm-features {
  background: #f6f7f5;
  padding: 26px 0 34px;
  border: 1px solid #e9edeb;
  border-top: 0;
}
.sm-feature-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.sm-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 22%;
  transition: transform 240ms ease, opacity 240ms ease;
}
.sm-feature:hover {
  transform: translateY(-2px);
}
.sm-feature-icon {
  width: 36px;
  height: 36px;
  color: #b2a596;
  flex-shrink: 0;
}
.sm-feature-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.sm-feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.sm-feature h4 {
  margin: 0 0 2px;
  font-size: 20px;
  font-weight: 500;
  color: #2f2f2f;
}
.sm-feature p {
  margin: 0;
  color: #666;
  font-size: 15px;
  line-height: 1.45;
}
.sm-services {
  padding: 60px 0;
}
.sm-services h2 {
  font-size: 28px;
  margin-bottom: 30px;
  font-weight: 500;
}
.sm-cards {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.sm-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #dde8e4;
  overflow: hidden;
  position: relative;
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
  min-height: 320px;
}
.sm-card:hover {
  transform: translateY(-6px);
  border-color: #c4d7d1;
  box-shadow: 0 16px 30px rgba(30, 50, 47, 0.14);
}
.sm-card-main {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 420ms ease;
}
.sm-card-icon {
  position: absolute;
  left: 18px;
  top: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #3d7169;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(45, 69, 64, 0.2);
  overflow: hidden;
  z-index: 3;
}
.sm-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 18px 18px;
  background: linear-gradient(180deg, rgba(8, 18, 20, 0.05) 30%, rgba(8, 18, 20, 0.88) 100%);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 280ms ease, transform 280ms ease;
}
.sm-card-icon img {
  width: 58%;
  height: 58%;
  object-fit: contain;
  display: block;
  object-position: center;
}
.sm-card-overlay h3 {
  margin: 0 0 8px;
  font-weight: 600;
  font-size: 1.25rem;
  color: #f3f8f6;
}
.sm-card-overlay p {
  margin: 0 0 14px;
  color: rgba(236, 244, 241, 0.9);
  font-size: 0.92rem;
  line-height: 1.6;
}
.sm-card-overlay a {
  margin: 0;
  color: #d8efe8;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.sm-card-overlay a span {
  font-size: 18px;
  line-height: 1;
}
.sm-card:hover .sm-card-main,
.sm-card:focus-within .sm-card-main {
  transform: scale(1.06);
}
.sm-card:hover .sm-card-overlay,
.sm-card:focus-within .sm-card-overlay {
  opacity: 1;
  transform: translateY(0);
}
.sm-score-section {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 28px;
  align-items: stretch;
  margin: 28px auto 24px;
}
.sm-score-left {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 248px;
  height: 100%;
}
.sm-score-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sm-promise-card {
  position: absolute;
  right: 0;
  top: 0;
  width: 42%;
  height: 100%;
  background: #3f6f68;
  color: #f3f8f6;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sm-promise-card h4 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 600;
}
.sm-promise-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}
.sm-score-right h2 {
  margin: 0 0 22px;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
  color: #2c4044;
}
.sm-score-right {
  min-height: 248px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sm-score-grid {
  border-top: 1px solid #e7e7e7;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.sm-score-item {
  padding: 18px 12px 8px;
  border-right: 1px solid #e7e7e7;
  transition: background-color 240ms ease, transform 240ms ease;
}
.sm-score-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}
.sm-score-item:hover {
  background: #fafcfc;
  transform: translateY(-2px);
}
.sm-score-item:last-child {
  border-right: 0;
}
.sm-score-icon {
  width: 24px;
  height: 24px;
  color: #b8bebd;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sm-score-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.sm-score-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.sm-score-item h3 {
  margin: 0;
  font-size: 26px;
  font-weight: 500;
  color: #2d454a;
}
.sm-score-item p {
  margin: 2px 0 0;
  color: #6a7679;
  font-size: 14px;
}
.sm-testimonials {
  padding: 0 0 60px;
}
.sm-testimonial-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.sm-kicker {
  margin: 0 0 6px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #78868a;
  font-weight: 600;
}
.sm-testimonials h2 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  font-weight: 500;
  color: #2f4549;
  line-height: 1.2;
}
.sm-testimonial-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sm-testimonial-controls .sm-btn {
  padding: 10px 18px;
  border: 1px solid #b8c5c2;
  border-radius: 10px;
  background: #fff;
  color: #30474b;
}
.sm-control-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #d8dfde;
  background: #fff;
  color: #617072;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: transform 220ms ease, background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}
.sm-control-btn:hover {
  transform: translateY(-1px);
  background: #f7fbfa;
  color: #3e5f58;
  border-color: #c7d4d1;
}
.sm-testimonial-cards {
  display: flex;
  gap: 20px;
  transition: opacity 180ms ease;
}
.sm-testimonial-cards.is-shifting {
  opacity: 0.55;
}
.sm-testimonial {
  background: #fff;
  padding: 16px 16px 14px;
  border-radius: 10px;
  width: 33.333%;
  border: 1px solid #e4e8e6;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}
.sm-testimonial:hover {
  transform: translateY(-4px);
  border-color: #d8dfdd;
  box-shadow: 0 10px 22px rgba(37, 58, 55, 0.08);
}
.sm-testimonial-body {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.sm-testimonial-body img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.sm-quote-mark {
  display: block;
  color: #5d7d75;
  font-size: 30px;
  line-height: 1;
}
.sm-testimonial-body p {
  margin: 0;
  color: #36484c;
  font-size: 15px;
  line-height: 1.5;
}
.sm-testimonial-meta {
  margin-top: 10px;
}
.sm-testimonial-meta strong,
.sm-testimonial-meta small,
.sm-testimonial-meta span {
  display: block;
}
.sm-testimonial-meta strong {
  font-size: 15px;
  color: #2d4347;
}
.sm-testimonial-meta small {
  color: #7c8b8f;
  font-size: 13px;
  margin-top: 2px;
}
.sm-testimonial-meta span {
  color: #c38b2a;
  letter-spacing: 1px;
  margin-top: 6px;
  font-size: 14px;
}
.sm-trust-block {
  margin-bottom: 22px;
}
.sm-logo-strip {
  border: 1px solid #e3e8e6;
  border-radius: 12px;
  background: #fff;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: repeat(6, minmax(110px, 1fr));
  align-items: center;
  gap: 16px;
}
.sm-logo-strip img {
  max-width: 100%;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  transition: transform 240ms ease, opacity 240ms ease;
}
.sm-logo-strip img:hover {
  transform: scale(1.04);
  opacity: 0.95;
}
.sm-visit-card-wrap {
  margin-bottom: 10px;
}
.sm-visit-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #496f69, #5f8781);
  color: #ecf4f1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.sm-visit-card::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -55px;
  width: 230px;
  height: 230px;
  border: 4px solid rgba(217, 234, 229, 0.14);
  border-radius: 48% 52% 50% 50%;
  transform: rotate(18deg);
  pointer-events: none;
}
.sm-visit-col {
  padding: 30px 30px 28px;
  border-right: 1px solid rgba(231, 241, 237, 0.2);
  transition: background-color 240ms ease;
}
.sm-visit-col:hover {
  background: rgba(255, 255, 255, 0.03);
}
.sm-visit-col:last-child {
  border-right: 0;
}
.sm-visit-col h3,
.sm-visit-col h4 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 500;
  color: #f3f7f5;
}
.sm-visit-col p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.55;
  color: #e7f0ed;
}
.sm-btn-outline-light {
  border: 1px solid rgba(233, 243, 239, 0.55);
  color: #eef6f3;
  background: transparent;
}
.sm-btn-white {
  background: #fff;
  color: #355851;
  border: 1px solid #fff;
}
.sm-visit-col .sm-btn {
  margin-top: 10px;
}
@media (prefers-reduced-motion: reduce) {
  .sm-btn,
  .sm-control-btn,
  .sm-testimonial-cards,
  .sm-testimonial,
  .sm-logo-strip img,
  .sm-feature,
  .sm-score-item,
  .sm-visit-col,
  .sm-hero img {
    transition: none;
    transform: none;
  }
}
body.home .site-footer {
  background: #fff;
  color: #4a352d;
  padding: 18px 0 14px;
  border-top: 1px solid #ece5e0;
}
body.home .footer-inner {
  max-width: 1200px;
}
body.home .footer-brand .logo,
body.home .footer-nav a,
body.home .footer-social a,
body.home .copy {
  color: #4a352d;
}
body.home .copy {
  border-top-color: #ece5e0;
}
@media (max-width: 900px) {
  .sm-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .sm-hero-text,
  .sm-feature,
  .sm-card,
  .sm-score-section,
  .sm-testimonial {
    width: 100%;
  }
  .sm-hero-text {
    padding: 42px 22px 24px;
    margin-right: 0;
  }
  .sm-hero-text h1 {
    font-size: clamp(2.4rem, 10vw, 3.4rem);
  }
  .sm-hero-carousel {
    min-height: 360px;
  }
  .sm-hero-arrow {
    display: none;
  }
  .sm-feature-grid,
  .sm-testimonial-cards {
    flex-direction: column;
  }
  .sm-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sm-card-overlay {
    opacity: 1;
    transform: none;
  }
  .sm-score-section {
    display: block;
  }
  .sm-score-right {
    margin-top: 12px;
    min-height: 0;
    height: auto;
  }
  .sm-score-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sm-score-item {
    border-bottom: 1px solid #e7e7e7;
  }
  .sm-score-item:nth-child(2n) {
    border-right: 0;
  }
  .sm-testimonial-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .sm-logo-strip {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 12px;
    padding: 14px 12px;
  }
  .sm-logo-strip img {
    max-height: 34px;
  }
  .sm-visit-card {
    grid-template-columns: 1fr;
  }
  .sm-visit-col {
    border-right: 0;
    border-bottom: 1px solid rgba(231, 241, 237, 0.2);
  }
  .sm-visit-col:last-child {
    border-bottom: 0;
  }
  body.home .header-inner {
    padding: 14px 10px;
  }
}
@media (max-width: 520px) {
  .sm-cards {
    grid-template-columns: 1fr;
  }
  .sm-hero-carousel {
    min-height: 300px;
  }
  .sm-hero-dots {
    bottom: 12px;
  }
  .sm-hero-dot {
    width: 24px;
  }
  .sm-hero-dots {
    display: none;
  }
  .mobile-menu-header .logo span {
    display: none;
  }
  .sm-testimonials {
    padding-bottom: 40px;
  }
  .sm-trust-block {
    margin-top: 4px;
  }
}

/* Front page section spacing compact */
body.home .sm-home > section {
  margin-top: 16px !important;
  margin-bottom: 16px !important;
}
body.home .sm-services {
  padding-top: 28px !important;
  padding-bottom: 20px !important;
}
body.home .sm-score-section {
  margin-top: 16px !important;
  margin-bottom: 16px !important;
}
body.home .sm-testimonials {
  padding-top: 8px !important;
  padding-bottom: 24px !important;
}
body.home .sm-trust-block {
  margin-top: 10px !important;
  margin-bottom: 12px !important;
}
body.home .sm-visit-card-wrap {
  margin-top: 10px !important;
  margin-bottom: 8px !important;
}