:root {
  --bg-soft: #f8f7f2;
  --ink: #0f0f0f;
  --ink-muted: #555555;
  --ink-soft: #6a6a6a;
  --accent: #486274;
  --accent-hover: #3a5161;
  --accent-text: #ffffff;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --radius-pill: 999px;
  --radius-btn: 999px;
  --header-height: 58px;
  /* Unified content width — common product UI container */
  --container-max: 1200px;
  --container-pad: clamp(20px, 4vw, 32px);
  --slide-fade: 1.1s;
  --slide-duration: 5s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: var(--font);
  background: var(--bg-soft);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.page {
  min-height: 100vh;
  position: relative;
  overflow-x: clip;
  background: var(--bg-soft);
}

/* Shared page container — header, hero content, logo ribbon */
.container {
  width: min(var(--container-max), calc(100% - (var(--container-pad) * 2)));
  margin-inline: auto;
}

/* —— Header —— */
.header-wrap {
  position: sticky;
  z-index: 100;
  top: 20px;
  margin-top: 20px;
  /* Keep hero full-bleed underneath the floating pill */
  margin-bottom: calc(-1 * (var(--header-height) + 20px));
}

.site-header {
  width: 100%;
  height: var(--header-height);
  display: grid;
  grid-template-columns: 140px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 0 12px 0 24px;
  border-radius: var(--radius-pill);
  /* Stronger glassmorphism */
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.28) 48%,
    rgba(248, 247, 242, 0.4) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 1px 2px rgba(17, 17, 17, 0.04),
    0 14px 40px rgba(17, 17, 17, 0.08);
  backdrop-filter: blur(22px) saturate(1.45);
  -webkit-backdrop-filter: blur(22px) saturate(1.45);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
}

.logo-mark {
  flex: 0 0 auto;
  color: var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.nav-link:hover {
  opacity: 0.6;
}

.nav-link svg {
  opacity: 0.65;
  margin-top: 1px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switcher {
  position: relative;
  z-index: 5;
}

.lang-switcher-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1.5px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.lang-switcher-trigger:hover,
.lang-switcher.is-open .lang-switcher-trigger {
  border-color: var(--accent);
  background: var(--bg-soft);
  color: var(--ink);
}

.lang-switcher-trigger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.lang-switcher-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 72px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border-radius: 16px;
  background: var(--bg-soft);
  box-shadow:
    0 8px 24px rgba(15, 15, 15, 0.1),
    0 1px 0 rgba(15, 15, 15, 0.04);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lang-switcher-menu[hidden] {
  display: none;
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 36px;
  padding: 6px 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--accent);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition:
    background 0.18s ease,
    color 0.18s ease;
}

.lang-option:hover {
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}

.lang-option.is-active {
  background: color-mix(in srgb, var(--ink) 6%, var(--bg-soft));
  color: var(--ink);
}

.lang-option:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.menu-toggle-bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 18px;
}

.menu-toggle-bars span {
  display: block;
  height: 1.5px;
  width: 100%;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

body.menu-open .menu-toggle-bars span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

body.menu-open .menu-toggle-bars span:nth-child(2) {
  opacity: 0;
}

body.menu-open .menu-toggle-bars span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile menu drawer */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: none;
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu[hidden] {
  display: none !important;
}

.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 15, 0.28);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.mobile-menu-panel {
  position: absolute;
  top: calc(12px + var(--header-height) + 12px);
  left: var(--container-pad);
  right: var(--container-pad);
  padding: 22px 20px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 48px rgba(15, 15, 15, 0.14);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  animation: mobile-menu-in 0.28s ease;
}

@keyframes mobile-menu-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-link {
  display: block;
  padding: 14px 8px;
  border-bottom: 1px solid rgba(15, 15, 15, 0.06);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.mobile-nav-link:last-child {
  border-bottom: 0;
}

.mobile-menu-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.mobile-menu-actions .btn {
  width: 100%;
  height: 46px;
}

body.menu-open {
  overflow: hidden;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  border-radius: var(--radius-btn);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-text);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: rgba(15, 15, 15, 0.55);
}

.btn-secondary:hover {
  border-color: var(--ink);
  background: rgba(15, 15, 15, 0.03);
}

.header-actions .btn-primary {
  height: 38px;
  padding: 0 18px;
  font-size: 0.875rem;
}

/* —— Hero —— */
.hero {
  position: relative;
  /* ~30% shorter than full viewport for better section balance */
  min-height: 70vh;
  min-height: 70dvh;
  padding: calc(var(--header-height) + 48px) 0 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  overflow: hidden;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/*
  Large right-side image with a wide soft circular frame.
  Oversized container + long fade so hard image edges never show.
*/
.hero-slides {
  position: absolute;
  top: -6%;
  right: -4%;
  width: min(78%, 1100px);
  height: 96%;
  -webkit-mask-image: radial-gradient(
    ellipse 86% 82% at 62% 40%,
    #000 0%,
    #000 22%,
    rgba(0, 0, 0, 0.92) 38%,
    rgba(0, 0, 0, 0.55) 52%,
    rgba(0, 0, 0, 0.22) 64%,
    rgba(0, 0, 0, 0.06) 74%,
    transparent 84%
  );
  mask-image: radial-gradient(
    ellipse 86% 82% at 62% 40%,
    #000 0%,
    #000 22%,
    rgba(0, 0, 0, 0.92) 38%,
    rgba(0, 0, 0, 0.55) 52%,
    rgba(0, 0, 0, 0.22) 64%,
    rgba(0, 0, 0, 0.06) 74%,
    transparent 84%
  );
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 40%;
  opacity: 0;
  transition: opacity var(--slide-fade) ease;
  will-change: opacity;
}

.hero-slide.is-active {
  opacity: 1;
}

/* Extra cream wash hides any remaining edge cut lines */
.hero-fade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 70% 78% at 72% 36%,
      transparent 0%,
      transparent 34%,
      rgba(248, 247, 242, 0.18) 52%,
      rgba(248, 247, 242, 0.55) 68%,
      rgba(248, 247, 242, 0.88) 82%,
      var(--bg-soft) 94%
    ),
    linear-gradient(
      100deg,
      var(--bg-soft) 0%,
      var(--bg-soft) 28%,
      rgba(248, 247, 242, 0.75) 38%,
      rgba(248, 247, 242, 0.28) 48%,
      transparent 60%
    ),
    linear-gradient(
      180deg,
      transparent 0%,
      transparent 58%,
      rgba(248, 247, 242, 0.4) 76%,
      var(--bg-soft) 92%
    );
}

.hero-layout {
  position: relative;
  z-index: 2;
  padding-top: clamp(12px, 2.5vh, 36px);
  padding-bottom: 8px;
  flex: 1;
}

.hero-content {
  max-width: 540px;
}

.hero-eyebrow {
  margin: 0 0 16px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hero-title {
  margin: 0 0 20px;
  font-size: clamp(2.75rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
  color: var(--ink);
}

.hero-copy {
  margin: 0 0 30px;
  max-width: 40ch;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink-muted);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-ctas .btn {
  height: 48px;
  padding: 0 24px;
  font-size: 0.9375rem;
}

/*
  Story-style vertical progress steps —
  minimal, no heavy chrome; readable over the photo.
*/
.hero-pager {
  position: absolute;
  z-index: 12;
  top: 46%;
  right: clamp(18px, 2.8vw, 40px);
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hero-pager-item {
  display: grid;
  grid-template-columns: auto 2px;
  align-items: start;
  column-gap: 10px;
  min-height: 44px;
  opacity: 1;
}

.hero-pager-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.hero-pager-num {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: rgba(15, 15, 15, 0.38);
  text-align: right;
  padding-top: 2px;
  transition: color 0.25s ease, transform 0.25s ease;
  text-shadow: 0 1px 10px rgba(248, 247, 242, 0.85);
}

.hero-pager-item.is-active .hero-pager-num {
  color: var(--ink);
  transform: translateX(-1px);
}

.hero-pager-track {
  position: relative;
  width: 2px;
  height: 44px;
  border-radius: 999px;
  background: rgba(15, 15, 15, 0.12);
  overflow: hidden;
  box-shadow: 0 0 0 3px rgba(248, 247, 242, 0.35);
}

.hero-pager-progress {
  position: absolute;
  inset: 0;
  transform: scaleY(0);
  transform-origin: top center;
  background: var(--accent);
  border-radius: inherit;
}

.hero-pager-item:not(.is-active) .hero-pager-progress {
  transform: scaleY(0);
}

.hero-pager-item:hover .hero-pager-num {
  color: var(--ink);
}

/* Scroll cue — raised above the logo ribbon */
.hero-scroll {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: clamp(88px, 14vh, 140px);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: rgba(15, 15, 15, 0.45);
  transition: color 0.25s ease, opacity 0.25s ease;
}

.hero-scroll:hover {
  color: var(--accent);
}

.hero-scroll:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 999px;
}

.hero-scroll-mouse {
  position: relative;
  width: 22px;
  height: 34px;
  border: 1.5px solid currentColor;
  border-radius: 999px;
}

.hero-scroll-wheel {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 2px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  transform: translateX(-50%);
  animation: scroll-wheel 1.8s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

@keyframes scroll-wheel {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  70% {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
}

/* —— Logo ribbon marquee —— */
.logo-ribbon {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding-top: 0;
  padding-bottom: 0;
  color: rgba(15, 15, 15, 0.34);
}

.logo-ribbon-viewport {
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
}

.logo-ribbon-track {
  display: flex;
  width: max-content;
  animation: logo-marquee 32s linear infinite;
}

.logo-ribbon-group {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
}

.trust-logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

/* 115% of previous 170×30 */
.trust-logo svg {
  width: 196px;
  height: 35px;
  display: block;
}

@keyframes logo-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-ribbon-track {
    animation: none;
  }

  .hero-slide {
    transition: none;
  }

  .hero-scroll-wheel {
    animation: none;
    opacity: 0.85;
  }
}

/* —— Scroll / entrance reveals (Webflow-style) —— */
.reveal {
  --reveal-distance: 28px;
  --reveal-duration: 0.85s;
  --reveal-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --reveal-delay: 0s;
  opacity: 0;
  transform: translate3d(0, var(--reveal-distance), 0);
  transition:
    opacity var(--reveal-duration) var(--reveal-ease) var(--reveal-delay),
    transform var(--reveal-duration) var(--reveal-ease) var(--reveal-delay);
  will-change: opacity, transform;
}

.reveal-left {
  transform: translate3d(calc(var(--reveal-distance) * -1), 0, 0);
}

.reveal-right {
  transform: translate3d(var(--reveal-distance), 0, 0);
}

.reveal-fade {
  transform: none;
}

.reveal-scale {
  transform: translate3d(0, 16px, 0) scale(0.98);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-stagger > .reveal:nth-child(1) {
  --reveal-delay: 0s;
}
.reveal-stagger > .reveal:nth-child(2) {
  --reveal-delay: 0.1s;
}
.reveal-stagger > .reveal:nth-child(3) {
  --reveal-delay: 0.18s;
}
.reveal-stagger > .reveal:nth-child(4) {
  --reveal-delay: 0.26s;
}
.reveal-stagger > .reveal:nth-child(5) {
  --reveal-delay: 0.34s;
}
.reveal-stagger > .reveal:nth-child(6) {
  --reveal-delay: 0.42s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-fade,
  .reveal-scale {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: fit-content;
  gap: 8px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #a3bfd2;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-badge-light {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 15, 15, 0.08);
  color: var(--ink);
}

/* —— About + stats —— */
.about {
  position: relative;
  z-index: 2;
  padding: clamp(36px, 6vh, 72px) 0 clamp(64px, 9vh, 100px);
  background: var(--bg-soft);
}

.about-top {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  margin-bottom: clamp(48px, 7vh, 80px);
}

.about-media {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #e8e6df;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-copy {
  max-width: 640px;
}

.about-title {
  margin: 18px 0 28px;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.28;
  color: var(--ink);
}

.about-cta {
  gap: 8px;
}

.stats-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff;
  border: 1px solid rgba(15, 15, 15, 0.08);
  border-radius: 24px;
  box-shadow:
    0 1px 2px rgba(15, 15, 15, 0.03),
    0 18px 40px rgba(15, 15, 15, 0.05);
  overflow: hidden;
}

.stat-item {
  position: relative;
  min-width: 0;
  padding: 28px 26px 30px;
  border-right: 1px solid rgba(15, 15, 15, 0.08);
}

.stat-item:last-child {
  border-right: 0;
}

.stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: #a3bfd2;
  color: #ffffff;
}

.stat-value {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin: 0 0 10px;
  font-size: clamp(2.35rem, 3.6vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.stat-suffix {
  font-size: 0.55em;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  margin: 0 0 8px;
  max-width: 16ch;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
}

.stat-text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

/* —— Services + testimonial —— */
.services {
  position: relative;
  z-index: 2;
  padding: 0 0 clamp(64px, 9vh, 100px);
  background: var(--bg-soft);
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 18px;
  min-height: 360px;
}

.testimonial-panel {
  display: flex;
  flex-direction: column;
  padding: 32px 34px;
  border-radius: 24px;
  background: #cab699;
  color: var(--ink);
  overflow: hidden;
}

.testimonial-quote {
  margin: 28px 0 auto;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.4;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-person img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-person strong {
  display: block;
  font-size: 0.95rem;
}

.testimonial-person span {
  display: block;
  margin-top: 2px;
  font-size: 0.8rem;
  color: rgba(15, 15, 15, 0.65);
}

.testimonial-brand {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.service-cta-panel {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 280px;
  padding: 28px;
  overflow: hidden;
  border-radius: 24px;
  background: #a3bfd2;
  color: var(--ink);
  transition: background-color 0.25s ease;
}

.service-cta-panel:hover {
  background: #93b2c8;
}

.service-cta-mark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(15, 15, 15, 0.12);
  pointer-events: none;
}

.service-cta-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 700;
}

/* —— Footer —— */
.site-footer {
  position: relative;
  z-index: 2;
  padding: clamp(48px, 7vh, 80px) 0 28px;
  background: var(--bg-soft);
  border-top: 1px solid rgba(15, 15, 15, 0.06);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.35fr 1.35fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  padding-bottom: 40px;
  align-items: start;
}

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.footer-tagline {
  margin: 0 0 20px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(15, 15, 15, 0.14);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.footer-social a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(72, 98, 116, 0.06);
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 32px;
}

.footer-heading {
  margin: 0 0 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(15, 15, 15, 0.78);
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
}

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 0;
  border-top: 1px solid rgba(15, 15, 15, 0.1);
}

.footer-contact-item:last-child {
  padding-bottom: 0;
}

.footer-contact-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.footer-contact-item a {
  display: inline-block;
  width: fit-content;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-contact-item a:hover {
  color: var(--accent);
  border-bottom-color: rgba(72, 98, 116, 0.45);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid rgba(15, 15, 15, 0.08);
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.footer-bottom p {
  margin: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.footer-bottom a {
  color: inherit;
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: var(--ink);
}

/* —— Responsive —— */
@media (min-width: 1440px) {
  .hero-slides {
    width: min(72%, 1180px);
    height: 98%;
  }
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-actions {
    gap: 8px;
  }

  .hero-slides {
    width: 80%;
    height: 88%;
  }

  .about-top {
    grid-template-columns: 1fr 1.1fr;
    gap: 28px;
  }

  .stats-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-item:nth-child(2) {
    border-right: 0;
  }

  .stat-item:nth-child(1),
  .stat-item:nth-child(2) {
    border-bottom: 1px solid rgba(15, 15, 15, 0.08);
  }

  .split-panel {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}

@media (max-width: 640px) {
  .header-wrap {
    top: 12px;
    margin-top: 12px;
    margin-bottom: calc(-1 * (var(--header-height) + 12px));
  }

  .site-header {
    height: 54px;
    padding: 0 8px 0 16px;
  }

  .logo {
    font-size: 0.98rem;
    gap: 6px;
  }

  .logo-mark {
    width: 16px;
    height: 16px;
  }

  .hero {
    padding: calc(var(--header-height) + 36px) 0 12px;
    min-height: auto;
    gap: 18px;
  }

  .hero-slides {
    width: 140%;
    height: 42%;
    top: 0;
    right: -28%;
    opacity: 0.55;
  }

  .hero-fade {
    background: linear-gradient(
      180deg,
      rgba(248, 247, 242, 0.35) 0%,
      rgba(248, 247, 242, 0.72) 22%,
      var(--bg-soft) 48%,
      var(--bg-soft) 100%
    );
  }

  .hero-layout {
    padding-top: 12px;
    padding-bottom: 0;
  }

  .hero-content {
    max-width: none;
  }

  .hero-eyebrow {
    margin-bottom: 12px;
    font-size: 0.66rem;
  }

  .hero-title {
    margin-bottom: 14px;
    font-size: clamp(2.1rem, 9.2vw, 2.7rem);
    line-height: 1.05;
  }

  .hero-title br {
    display: none;
  }

  .hero-copy {
    margin-bottom: 22px;
    max-width: none;
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .hero-ctas .btn {
    width: 100%;
    height: 48px;
  }

  /* Keep mobile hero clean — avoid overlapping chrome */
  .hero-scroll,
  .hero-pager {
    display: none;
  }

  .logo-ribbon {
    margin-top: 8px;
  }

  .logo-ribbon-group {
    gap: 28px;
    padding-right: 28px;
  }

  .trust-logo svg {
    width: 150px;
    height: 26px;
  }

  .mobile-menu-panel {
    top: calc(12px + 54px + 10px);
  }

  .about-top {
    grid-template-columns: 1fr;
  }

  .about-media {
    aspect-ratio: 16 / 11;
  }

  .stats-panel {
    grid-template-columns: 1fr;
  }

  .stat-item,
  .stat-item:nth-child(1),
  .stat-item:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(15, 15, 15, 0.08);
  }

  .stat-item:last-child {
    border-bottom: 0;
  }

  .testimonial-panel {
    padding: 24px;
  }

  .testimonial-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer {
    padding: 40px 0 88px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 28px;
  }

  .footer-brand {
    padding: 20px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(15, 15, 15, 0.06);
    box-shadow: 0 10px 28px rgba(15, 15, 15, 0.04);
  }

  .footer-tagline {
    margin-bottom: 16px;
  }

  .footer-links {
    gap: 20px;
  }

  .footer-heading {
    margin-bottom: 10px;
  }

  .footer-nav a {
    min-height: 40px;
  }

  .footer-contact-item {
    padding: 16px 0;
  }

  .footer-contact-item a {
    font-size: 1.1rem;
    min-height: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 20px;
  }

  .footer-legal {
    width: 100%;
    justify-content: flex-start;
  }

  .footer-legal a {
    position: relative;
  }

  .footer-legal a + a::before {
    content: "·";
    margin-right: 16px;
    color: rgba(15, 15, 15, 0.35);
  }

  .back-to-top {
    bottom: 18px;
    right: 16px;
    width: 46px;
    height: 46px;
  }
}

/* —— Back to top —— */
.back-to-top {
  position: fixed;
  z-index: 90;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-text);
  box-shadow: 0 10px 28px rgba(72, 98, 116, 0.28);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease,
    background-color 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent-hover);
}

.back-to-top:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
