/* =========================================================================
   Safecare Holding Company - corporate site styles
   Palette taken from the logo: teal #17b8b3, deep teal #22a091, green #45b97c
   ========================================================================= */

:root {
  --brand-950: #041f1d;
  --brand-900: #062e2b;
  --brand-800: #0a4541;
  --brand-700: #0d6e68;
  --brand-600: #12908a;
  --brand-500: #17b8b3;
  --brand-100: #dff4f2;
  --brand-50:  #f1faf9;
  --green-500: #45b97c;
  --green-600: #2f9e63;

  --ink: #0f1f2a;
  --slate: #4b5d69;
  --muted: #6b7c87;
  --line: #e1eaea;
  --white: #fff;

  --grad: linear-gradient(135deg, var(--brand-500) 0%, var(--green-500) 100%);
  --grad-deep: linear-gradient(135deg, var(--brand-900) 0%, var(--brand-700) 100%);

  --font-head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 6px rgba(6, 46, 43, .06);
  --shadow: 0 12px 32px -12px rgba(6, 46, 43, .18);
  --shadow-lg: 0 30px 60px -20px rgba(6, 46, 43, .28);
  --max: 1220px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--slate); background: var(--white);
  font: 400 16px/1.7 var(--font-body);
  -webkit-font-smoothing: antialiased;
  /* Decorative offset shapes must never cause sideways scrolling. clip (not hidden) keeps the sticky header working. */
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-700); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-500); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 600; letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
address { font-style: normal; }
ul { margin: 0; padding: 0; }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: .5rem; background: var(--brand-900); color: #fff; padding: .6rem 1rem; z-index: 200; border-radius: 6px; }
.skip-link:focus { left: .5rem; color: #fff; }
:focus-visible { outline: 3px solid var(--brand-500); outline-offset: 3px; border-radius: 4px; }

.ico { width: 1.35em; height: 1.35em; flex: none; vertical-align: middle; }
.ico--sm { width: 1.05em; height: 1.05em; }

/* Card-wide click target */
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font: 600 .8rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-600); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--grad); border-radius: 2px; }
.section-title { font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 700; }
.section-sub { font-size: 1.08rem; color: var(--muted); }
.section-sub p:last-child { margin: 0; }
.lead-copy { font-size: 1.04rem; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 3.25rem; }
.section-head .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--grad); border-radius: 2px; }
.section-head--light .section-title { color: #fff; }

.tag {
  display: inline-block; font: 600 .74rem/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase;
  color: var(--brand-700); background: var(--brand-100); padding: .45rem .7rem; border-radius: 999px;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  font: 600 .95rem/1.2 var(--font-body); cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn--lg { padding: 1rem 1.9rem; font-size: 1rem; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(23, 184, 179, .7); }
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(23, 184, 179, .8); }
.btn--outline { border-color: var(--brand-700); color: var(--brand-700); background: transparent; }
.btn--outline:hover { background: var(--brand-700); color: #fff; }
.btn--outline-dark { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline-dark:hover { border-color: var(--brand-500); color: var(--brand-700); }
.btn--light { background: #fff; color: var(--brand-800); }
.btn--light:hover { color: var(--brand-700); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--brand-700); }
.link-arrow .ico { transition: transform .25s var(--ease); }

/* ---------- Top bar ---------- */
.topbar { background: var(--brand-950); color: #a9c7c4; font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 42px; }
.topbar__tagline { margin: 0; letter-spacing: .02em; }
.topbar__contact { display: flex; gap: 1.75rem; list-style: none; }
.topbar__contact li, .topbar__contact a { display: inline-flex; align-items: center; gap: .45rem; color: #cfe3e1; }
.topbar__contact a:hover { color: #fff; }
.topbar .ico { width: 1rem; height: 1rem; color: var(--brand-500); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px -18px rgba(6, 46, 43, .35); border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 86px; }
.brand { display: flex; align-items: center; flex: none; }
.brand__logo { height: 54px; width: auto; transition: height .3s; }
.site-header.is-scrolled .brand__logo { height: 46px; }
.nav__menu { display: flex; align-items: center; gap: 2rem; }
.nav__menu ul { display: flex; gap: .35rem; list-style: none; }
.nav__menu ul a {
  position: relative; display: block; padding: .6rem .95rem; color: var(--ink);
  font: 500 .97rem/1 var(--font-body);
}
.nav__menu ul a::after {
  content: ""; position: absolute; left: .95rem; right: .95rem; bottom: .2rem; height: 2px;
  background: var(--grad); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__menu ul a:hover { color: var(--brand-700); }
.nav__menu ul a:hover::after, .nav__menu ul a[aria-current="page"]::after { transform: scaleX(1); }
.nav__menu ul a[aria-current="page"] { color: var(--brand-700); font-weight: 600; }
.nav__toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer; }
.nav__bars, .nav__bars::before, .nav__bars::after {
  display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; margin: auto;
  transition: transform .3s, background .3s;
}
.nav__bars::before, .nav__bars::after { content: ""; position: absolute; left: 0; }
.nav__bars::before { top: -6px; }
.nav__bars::after { top: 6px; }
.nav__toggle[aria-expanded="true"] .nav__bars { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__bars::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(23, 184, 179, .14), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(69, 185, 124, .10), transparent 60%),
    var(--pattern, none) center / cover no-repeat,
    linear-gradient(180deg, #fbfefe 0%, var(--brand-50) 100%);
}
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 3rem;
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(6rem, 10vw, 8.5rem);
}
.hero__title { font-size: clamp(2.4rem, 5.2vw, 4.1rem); font-weight: 700; line-height: 1.08; letter-spacing: -.025em; }
.hero__text { font-size: 1.15rem; max-width: 56ch; color: var(--slate); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero__media { position: relative; justify-self: end; width: min(100%, 540px); }
.hero__media::before {
  content: ""; position: absolute; inset: 8% -6% -6% 10%; border-radius: var(--radius-lg);
  background: var(--grad); opacity: .9; transform: rotate(3deg);
}
.hero__frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
.hero__img { width: 100%; aspect-ratio: 720 / 652; object-fit: cover; }
.hero__badge {
  position: absolute; left: -2rem; bottom: 2.5rem; display: flex; align-items: center; gap: .9rem;
  background: #fff; border-radius: var(--radius); padding: 1rem 1.25rem; box-shadow: var(--shadow-lg);
  color: var(--muted); font-size: .9rem; line-height: 1.3;
}
.hero__badge strong { display: block; font: 700 1.6rem/1.1 var(--font-head); color: var(--ink); }
.hero__badge-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--grad); color: #fff; }

/* ---------- Stats bar ---------- */
.stats { position: relative; z-index: 2; margin-top: -4rem; }
.stats__bar {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.stat { padding: 2rem 1.5rem; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 25%; bottom: 25%; width: 1px; background: var(--line); }
.stat__value {
  display: block; font: 700 clamp(2rem, 3.5vw, 2.75rem)/1 var(--font-head);
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: .5rem;
}
.stat__label { font-size: .92rem; color: var(--muted); font-weight: 500; }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; position: relative; }
.section--compact { padding: 3rem 0 0; }
.section--tint { background: var(--brand-50); }
.section--dark {
  background: var(--brand-900); color: #b4cfcc; overflow: hidden; isolation: isolate;
}
.section--dark::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--pattern, none) center / cover no-repeat; opacity: .08; filter: invert(1);
}
.section--dark::after {
  content: ""; position: absolute; z-index: -1; width: 600px; height: 600px; right: -200px; top: -250px;
  background: radial-gradient(circle, rgba(23, 184, 179, .35), transparent 65%);
}

.grid { display: grid; gap: 1.75rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Split (image + copy) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split--block { margin: 0 0 3rem; }
.split__media { position: relative; }
.split__img { position: relative; z-index: 1; width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 9 / 7; object-fit: cover; }
.split__accent {
  position: absolute; z-index: 0; width: 55%; height: 60%; right: -1.5rem; bottom: -1.5rem;
  border-radius: var(--radius-lg); background: var(--grad); opacity: .9;
}
.split--reverse .split__accent { right: auto; left: -1.5rem; }
.checklist { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .85rem 1.5rem; margin: 1.75rem 0 2.25rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink); font-weight: 500; font-size: .96rem; line-height: 1.45; }
.checklist .ico { width: 1.5rem; height: 1.5rem; padding: .3rem; border-radius: 50%; background: var(--brand-100); color: var(--brand-700); stroke-width: 2.6; }

/* ---------- Company cards ---------- */
.company-card {
  position: relative; display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.85rem 1.75rem;
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.company-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.company-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.company-card:hover::before { transform: scaleX(1); }
.company-card:hover .link-arrow .ico { transform: translateX(4px); }
.company-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.company-card__badge {
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; flex: none;
  background: var(--grad); color: #fff; box-shadow: 0 10px 20px -10px rgba(23, 184, 179, .8);
}
.company-card__badge .ico { width: 28px; height: 28px; }
.company-card__badge--lg { width: 76px; height: 76px; border-radius: 20px; }
.company-card__badge--lg .ico { width: 36px; height: 36px; }
.company-card__logo { max-width: 80%; max-height: 70%; width: auto; }
.company-card__initials { font: 700 1.2rem/1 var(--font-head); }
.company-card__title { font-size: 1.25rem; margin-bottom: .6rem; }
.company-card__title a { color: var(--ink); }
.company-card__title a:hover { color: var(--brand-700); }
.company-card p { font-size: .96rem; }
.company-card__loc { display: flex; gap: .45rem; align-items: flex-start; font-size: .85rem !important; color: var(--muted); }
.company-card__loc .ico { color: var(--brand-600); margin-top: .2rem; }
.company-card .link-arrow { margin-top: auto; padding-top: .5rem; }

/* Card with a real company logo: wordmark panel on top instead of the icon tile. */
.company-card--logo { padding-top: 0; }
.company-card__brand {
  display: flex; align-items: center; justify-content: center; height: 132px;
  margin: 0 -1.85rem 1.4rem; padding: 1.25rem 2rem;
  background: linear-gradient(180deg, #fff, var(--brand-50)); border-bottom: 1px solid var(--line);
}
.company-card__wordmark { max-height: 64px; max-width: 78%; width: auto; height: auto; object-fit: contain; transition: transform .45s var(--ease); }
.company-card--logo:hover .company-card__wordmark { transform: scale(1.05); }
.company-card__tag { align-self: flex-start; margin-bottom: .9rem; }

/* Company page header with logo */
.detail__brand {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  padding: 1.75rem 2rem; margin-bottom: 2rem; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #fff 55%, var(--brand-50));
}
.detail__wordmark { max-height: 90px; max-width: min(360px, 100%); width: auto; height: auto; }

/* Group logo strip (under the key figures) */
.logo-strip { padding: 3.5rem 0 .5rem; }
.logo-strip__title {
  text-align: center; font: 600 .8rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.75rem;
}
.logo-strip__list {
  list-style: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 1rem 1.25rem; padding: 1.25rem 1.5rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.logo-strip__list li { flex: 0 1 auto; }
.logo-strip__list a, .logo-strip__list li > img { display: flex; }
.logo-strip__list a { align-items: center; justify-content: center; height: 76px; padding: .5rem 1.1rem; border-radius: 12px; transition: background .3s, transform .3s var(--ease); }
.logo-strip__list a:hover { background: var(--brand-50); transform: translateY(-2px); }
.logo-strip__img { max-height: 46px; max-width: 170px; width: auto; height: auto; object-fit: contain; }
/* Wide screens: keep every logo on one row, as on the original site. */
@media (min-width: 1100px) {
  .logo-strip__list { flex-wrap: nowrap; justify-content: space-between; gap: .25rem; padding-inline: .5rem; }
  .logo-strip__list a { padding: .5rem .55rem; }
  .logo-strip__img { max-width: 150px; max-height: 44px; }
}

/* A lone last card in a 3-column grid becomes a full-width horizontal card. */
@media (min-width: 961px) {
  .grid--3 > .company-card:last-child:nth-child(3n+1) {
    grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; column-gap: 2rem; align-items: center;
    background: linear-gradient(120deg, #fff 60%, var(--brand-50));
  }
  .grid--3 > .company-card:last-child:nth-child(3n+1) .company-card__top { grid-row: 1 / span 3; flex-direction: column; margin: 0; }
  .grid--3 > .company-card:last-child:nth-child(3n+1) > :not(.company-card__top):not(.link-arrow) { grid-column: 2; }
  .grid--3 > .company-card:last-child:nth-child(3n+1) .link-arrow { grid-column: 3; grid-row: 1 / span 3; margin: 0; padding: 0; }
}

/* ---------- Pillars ---------- */
.pillar {
  padding: 2rem 1.75rem; border-radius: var(--radius); background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1); transition: background .3s, transform .3s var(--ease), border-color .3s;
}
.pillar:hover { background: rgba(255, 255, 255, .08); border-color: rgba(23, 184, 179, .5); transform: translateY(-4px); }
.pillar__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--grad); color: #fff; margin-bottom: 1.4rem; }
.pillar__icon .ico { width: 26px; height: 26px; }
.pillar h3 { color: #fff; font-size: 1.2rem; }
.pillar p { margin: 0; font-size: .95rem; }

/* ---------- Product features ---------- */
.feature {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.1rem 1.9rem; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.feature__icon {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px;
  background: var(--brand-50); color: var(--brand-600); margin-bottom: 1.5rem; transition: background .35s, color .35s;
}
.feature__icon .ico { width: 30px; height: 30px; }
.feature:hover .feature__icon { background: var(--grad); color: #fff; }
.feature__img { width: calc(100% + 3.8rem); max-width: none; margin: -2.1rem -1.9rem 1.5rem; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.feature h3 { font-size: 1.18rem; }
.feature p { margin: 0; font-size: .96rem; }

/* ---------- Quality band ---------- */
.band { position: relative; overflow: hidden; isolation: isolate; background: var(--grad); color: #e9faf6; }
.band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--pattern, none) center / cover no-repeat; opacity: .22; mix-blend-mode: screen;
}
.band__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .25; }
.band__inner { display: flex; align-items: center; justify-content: space-between; gap: 3rem; padding: clamp(3.5rem, 7vw, 5rem) 0; }
.band h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; }
.band p { max-width: 70ch; margin: 0; font-size: 1.05rem; color: rgba(255, 255, 255, .9); }

/* ---------- Software services ---------- */
.service {
  position: relative; display: flex; gap: 1.25rem; align-items: flex-start; background: #fff;
  border-radius: var(--radius); padding: 1.9rem 1.75rem; border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.service:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service:hover .link-arrow .ico { transform: translateX(4px); }
.service__icon {
  display: grid; place-items: center; width: 62px; height: 62px; flex: none; border-radius: 16px;
  background: var(--grad-deep); color: #fff;
}
.service__icon .ico { width: 28px; height: 28px; }
.service__img { width: 34px; height: 34px; object-fit: contain; }
.service h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.service p { font-size: .94rem; margin-bottom: .75rem; }

/* ---------- Technology tiles ---------- */
.tiles { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.25rem; }
.tile {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center;
  padding: 1.9rem 1rem; border-radius: var(--radius); background: var(--brand-50); border: 1px solid transparent;
  font: 600 .95rem/1.35 var(--font-head); color: var(--ink); transition: all .35s var(--ease);
}
.tile a { color: inherit; }
.tile:hover { background: #fff; border-color: var(--line); box-shadow: var(--shadow); transform: translateY(-4px); }
.tile__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #fff; color: var(--brand-600); box-shadow: var(--shadow-sm); transition: all .35s; }
.tile__icon .ico { width: 26px; height: 26px; }
.tile:hover .tile__icon { background: var(--grad); color: #fff; }

/* ---------- CTA / contact strip ---------- */
/* The section above already provides the spacing, unless it has a coloured background. */
.cta { padding-top: 0; }
.section--tint + .cta, .section--dark + .cta, .band + .cta { padding-top: clamp(4rem, 8vw, 6.5rem); }
.cta__card {
  display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); background: #fff; border: 1px solid var(--line);
}
.cta__copy { position: relative; padding: clamp(2.5rem, 5vw, 3.75rem); background: var(--grad-deep); color: #c3dbd8; isolation: isolate; overflow: hidden; }
.cta__copy::after { content: ""; position: absolute; z-index: -1; width: 380px; height: 380px; right: -140px; bottom: -160px; background: radial-gradient(circle, rgba(69, 185, 124, .45), transparent 65%); }
.cta__copy .section-title { color: #fff; }
.cta__copy .eyebrow { color: #7fe3dc; }
.cta__copy p { font-size: 1.05rem; margin-bottom: 2rem; }
.cta__info { list-style: none; display: grid; align-content: center; gap: 1.75rem; padding: clamp(2.5rem, 5vw, 3.75rem); }
.cta__info li { display: flex; gap: 1.1rem; align-items: flex-start; }
.cta__info h3 { font-size: 1rem; margin-bottom: .25rem; }
.cta__info a, .cta__info address { color: var(--slate); }
.cta__info a:hover { color: var(--brand-700); }
.cta__icon { display: grid; place-items: center; width: 50px; height: 50px; flex: none; border-radius: 14px; background: var(--brand-50); color: var(--brand-600); }

/* ---------- Page banner ---------- */
.page-banner { position: relative; overflow: hidden; isolation: isolate; background: var(--grad-deep); color: #c3dbd8; }
.page-banner__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; opacity: .14; filter: invert(1) hue-rotate(180deg); }
.page-banner::after { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -120px; top: -220px; background: radial-gradient(circle, rgba(23, 184, 179, .45), transparent 65%); }
.page-banner__inner { padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.page-banner h1 { color: #fff; font-size: clamp(2.1rem, 4.5vw, 3.2rem); font-weight: 700; margin-bottom: .4rem; }
.page-banner p { margin: 0; font-size: 1.12rem; max-width: 60ch; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.1rem; padding: 0; font-size: .88rem; }
.breadcrumb li { display: flex; align-items: center; gap: .5rem; }
.breadcrumb li + li::before { content: "/"; opacity: .5; }
.breadcrumb a { color: #8fe0d9; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: #fff; }

/* ---------- Company detail ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.detail__head { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 2rem; }
.detail__head .tag { margin-bottom: .5rem; }
.detail__head .section-title { margin: 0; }
.detail__img { border-radius: var(--radius-lg); margin-bottom: 2rem; box-shadow: var(--shadow); }
.detail__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.prose { font-size: 1.04rem; }
.prose h3, .prose h4 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3rem; margin-bottom: 1em; }
.detail__aside { position: sticky; top: 110px; display: grid; gap: 1.25rem; }
.aside-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; background: #fff; }
.aside-card h3 { display: flex; align-items: center; gap: .5rem; font-size: 1.05rem; padding-bottom: .9rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line); }
.aside-card p { margin: 0; font-size: .95rem; }
.aside-nav { list-style: none; display: grid; gap: .25rem; }
.aside-nav a { display: flex; justify-content: space-between; align-items: center; padding: .6rem .75rem; border-radius: 10px; color: var(--ink); font-weight: 500; font-size: .94rem; }
.aside-nav a .ico { opacity: 0; transform: translateX(-4px); transition: all .25s; color: var(--brand-600); }
.aside-nav a:hover, .aside-nav a[aria-current="page"] { background: var(--brand-50); color: var(--brand-700); }
.aside-nav a:hover .ico, .aside-nav a[aria-current="page"] .ico { opacity: 1; transform: none; }
.aside-card--brand { background: var(--grad-deep); border: 0; color: #c3dbd8; }
.aside-card--brand h3 { color: #fff; border-color: rgba(255, 255, 255, .12); }
.aside-phone { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; font: 600 1.1rem/1 var(--font-head); color: #fff; }
.aside-phone:hover { color: #8fe0d9; }

/* ---------- Content page blocks ---------- */
.content-body > h2 { margin-top: 2rem; }
.quote {
  position: relative; margin: 1rem auto 0; max-width: 860px; text-align: center; padding: 3rem 2rem;
  border-radius: var(--radius-lg); background: var(--brand-50);
}
.quote p { font: 600 clamp(1.4rem, 3vw, 2rem)/1.35 var(--font-head); color: var(--ink); margin-bottom: .75rem; }
.quote footer { color: var(--brand-600); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .82rem; }
.figure { margin: 2rem 0; }
.figure img { border-radius: var(--radius); }
.block-cards { margin: 2.5rem 0; }
.table-wrap { overflow-x: auto; margin: 2rem 0; }
.table-wrap table { border-collapse: collapse; width: 100%; }
.table-wrap td, .table-wrap th { border: 1px solid var(--line); padding: .75rem 1rem; text-align: left; }
.table-wrap tr:first-child { background: var(--brand-50); font-weight: 600; color: var(--ink); }

/* ---------- Contact page ---------- */
.info-cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-bottom: 4rem; }
.info-card { text-align: center; padding: 2.25rem 1.5rem; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.info-card h2 { font-size: 1.15rem; margin-bottom: .5rem; }
.info-card p { margin: .25rem 0 0; font-size: .9rem; color: var(--muted); }
.info-card a, .info-card address { color: var(--slate); }
.info-card__icon { display: inline-grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: var(--grad); color: #fff; margin-bottom: 1.1rem; }
.contact { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: stretch; }
.contact__form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 3rem); box-shadow: var(--shadow); }
.contact__map { border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; box-shadow: var(--shadow); }
.contact__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; margin-bottom: 1.75rem; }
.field--full { grid-column: 1 / -1; }
.form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; color: var(--ink); }
.form input, .form textarea {
  width: 100%; padding: .85rem 1rem; border: 1px solid #cfdcdc; border-radius: 12px;
  font: inherit; color: var(--ink); background: #fbfdfd; transition: border-color .2s, box-shadow .2s, background .2s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--brand-500); background: #fff; box-shadow: 0 0 0 4px rgba(23, 184, 179, .15); }
.field__error { color: #b3261e; margin: .35rem 0 0; font-size: .85rem; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 1rem 1.2rem; border-radius: 12px; margin-bottom: 1.25rem; }
.notice--ok { background: #e6f7ee; color: #14613a; border: 1px solid #bfe6d0; }
.notice--error { background: #fdecea; color: #8c1d18; border: 1px solid #f3c1bd; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-950); color: #94b3b0; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: 3rem; padding: clamp(3.5rem, 7vw, 5rem) 0 3rem; }
.footer__logo { height: 56px; width: auto; margin-bottom: 1.5rem; }
.footer__logo--invert { filter: brightness(0) invert(1); }
.footer__name { color: #fff; font: 700 1.25rem/1.2 var(--font-head); }
.footer__brand p { max-width: 36ch; }
.footer__title { color: #fff; font-size: 1.05rem; margin-bottom: 1.4rem; position: relative; padding-bottom: .8rem; }
.footer__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; background: var(--grad); border-radius: 2px; }
.footer__links { list-style: none; display: grid; gap: .65rem; }
.footer__links a { color: #94b3b0; transition: color .2s, padding .2s; }
.footer__links a:hover { color: #fff; padding-left: 4px; }
.footer__contact { list-style: none; display: grid; gap: 1rem; }
.footer__contact li { display: flex; gap: .75rem; align-items: flex-start; }
.footer__contact .ico { color: var(--brand-500); margin-top: .15rem; }
.footer__contact a { color: #c3dbd8; }
.footer__contact a:hover { color: #fff; }
.social { list-style: none; display: flex; gap: .6rem; margin-top: 1.5rem; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .06); color: #c3dbd8; transition: all .25s; }
.social a:hover { background: var(--grad); color: #fff; }
.social .ico { width: 18px; height: 18px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); font-size: .86rem; }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.4rem 0; }
.footer__bottom p { margin: 0; }

/* ---------- Scroll reveal (only when JS runs) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .topbar__addr { display: none !important; }
}
@media (max-width: 960px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .hero__grid, .split, .detail, .contact, .cta__card { grid-template-columns: 1fr; }
  .hero__media { justify-self: center; margin-top: 1rem; }
  .split--reverse .split__media { order: 0; }
  .split__media { margin-right: 1.5rem; }
  .detail__aside { position: static; }
  .band__inner { flex-direction: column; align-items: flex-start; }
  .stats__bar { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .nav { min-height: 74px; }
  .brand__logo { height: 44px; }
  .nav__toggle { display: grid; place-items: center; }
  .nav__menu {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 1rem;
    background: #fff; padding: 1rem 1.25rem 1.5rem; border-top: 1px solid var(--line); box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu ul { flex-direction: column; gap: 0; }
  .nav__menu ul a { padding: .9rem .5rem; border-bottom: 1px solid var(--line); }
  .nav__menu ul a::after { display: none; }
  .nav__cta { width: 100%; }
  .topbar__tagline { display: none; }
  .topbar__inner { justify-content: center; }
}
@media (max-width: 640px) {
  .grid--3, .grid--4, .checklist, .form__grid, .footer__grid { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .hero__badge { left: .75rem; bottom: .75rem; }
  .hero__media::before { inset: 6% -3% -3% 6%; }
  .topbar__contact { gap: 1rem; font-size: .8rem; }
  .topbar__contact li:nth-child(2) { display: none; }
  .detail__head { flex-direction: column; align-items: flex-start; }
  .logo-strip__list { gap: .5rem; padding: 1rem .5rem; }
  .logo-strip__list a { height: 60px; padding: .4rem .6rem; }
  .logo-strip__img { max-height: 34px; max-width: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
