/* ===== Design tokens ===== */
:root {
  --brand: #157a6e;
  --brand-dark: #0e5c52;
  --brand-soft: #e6f2ef;
  --brand-tint: #f3f9f7;
  --accent: #f2a65a;
  --ink: #12333b;
  --body: #3f5860;
  --muted: #6c8189;
  --line: #e2ebe9;
  --bg: #ffffff;
  --bg-soft: #f5faf8;
  --white: #ffffff;

  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(18,51,59,.06), 0 4px 14px rgba(18,51,59,.05);
  --shadow-md: 0 10px 30px rgba(18,51,59,.09);
  --shadow-lg: 0 24px 60px rgba(14,92,82,.16);
  --container: 1140px;
  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-weight: 700; }
p { text-wrap: pretty; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--brand-dark); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.eyebrow {
  font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 14px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn--lg { padding: 15px 30px; font-size: 1.02rem; }
.btn--block { display: flex; width: 100%; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(21,122,110,.28); }
.btn--primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(21,122,110,.34); }
.btn--ghost { background: transparent; color: var(--brand-dark); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-tint); }
.btn--light { background: #fff; color: var(--brand-dark); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-stuck { border-color: var(--line); box-shadow: 0 6px 24px rgba(18,51,59,.05); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px;
  background: var(--brand-soft); color: var(--brand-dark);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: 1.08rem; }
.brand__text small { color: var(--muted); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }

.nav__menu { list-style: none; display: flex; align-items: center; gap: 6px; }
.nav__menu > li > a:not(.btn) { padding: 9px 14px; border-radius: 10px; font-weight: 500; color: var(--body); transition: color .15s, background .15s; }
.nav__menu > li > a:not(.btn):hover, .nav__menu > li > a:not(.btn).is-active { color: var(--brand-dark); background: var(--brand-tint); }
.nav__cta { margin-left: 8px; }
.nav__toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  padding: 10px; cursor: pointer;
}
.nav__toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }

/* ===== Hero ===== */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 7vw, 84px); background:
  radial-gradient(1200px 500px at 85% -5%, var(--brand-soft), transparent 60%),
  radial-gradient(700px 400px at 0% 20%, #eef7f4, transparent 55%); }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); color: var(--ink); }
.hero__lead { margin-top: 22px; font-size: 1.12rem; color: var(--body); max-width: 34ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__badges { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 32px; }
.hero__badges li { display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; font-weight: 500; color: var(--ink); }
.hero__badges span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-dark); font-size: .75rem; }

.hero__panel { position: relative; display: grid; gap: 20px; }
.hero__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-lg); }
.hero__card-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--brand-soft); color: var(--brand-dark); margin-bottom: 18px; }
.hero__card-title { font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: 1.25rem; margin-bottom: 6px; }
.hero__stat { background: var(--brand-dark); color: #fff; border-radius: var(--radius-lg); padding: 24px 28px; display: flex; align-items: center; gap: 18px; box-shadow: var(--shadow-md); }
.hero__stat strong { font-family: var(--font-head); font-size: 2.6rem; line-height: 1; color: #fff; }
.hero__stat span { color: rgba(255,255,255,.82); font-size: .95rem; }

/* ===== Trust strip ===== */
.strip { border-block: 1px solid var(--line); background: var(--bg-soft); }
.strip__inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 40px 0; }
.strip__item h3 { font-size: 1.15rem; color: var(--brand-dark); margin-bottom: 6px; }
.strip__item p { color: var(--muted); font-size: .96rem; }

/* ===== Sections ===== */
.section { padding: clamp(60px, 8vw, 104px) 0; }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 640px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section__sub { margin-top: 14px; color: var(--muted); font-size: 1.05rem; }

/* ===== About ===== */
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.about__media { position: relative; min-height: 380px; }
.about__blob {
  position: absolute; inset: 0; border-radius: 40% 60% 62% 38% / 45% 44% 56% 55%;
  background: linear-gradient(150deg, var(--brand) 0%, var(--brand-dark) 100%);
  box-shadow: var(--shadow-lg); overflow: hidden;
  display: grid; place-items: center;
}
/* Animated footprint */
.foot-art { width: 52%; color: #fff; animation: floaty 6s ease-in-out infinite; transform-origin: center; }
.foot-sole { fill: rgba(255,255,255,.9); }
.toe { fill: #fff; transform-box: fill-box; transform-origin: center; animation: toeTap 2.8s ease-in-out infinite; animation-delay: calc(var(--t) * .16s); }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(2deg); } }
@keyframes toeTap { 0%, 68%, 100% { transform: translateY(0) scale(1); } 82% { transform: translateY(-7px) scale(1.08); } }

/* Walking footsteps trail */
.walkband { display: flex; justify-content: center; padding: 8px 24px 2px; background: var(--bg); }
.footsteps { width: min(680px, 92%); height: auto; color: var(--brand); }
.footstep { opacity: 0; animation: stepWalk 4.8s ease-in-out infinite; animation-delay: calc(var(--i) * .5s); }
@keyframes stepWalk { 0% { opacity: 0; } 10% { opacity: .85; } 58% { opacity: .85; } 78%, 100% { opacity: 0; } }
.about__quote {
  position: absolute; right: -8px; bottom: 24px; max-width: 260px;
  background: #fff; border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-md);
}
.about__quote p { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.about__quote span { display: block; margin-top: 10px; color: var(--brand); font-size: .85rem; font-weight: 600; }
.about__copy h2 { margin-bottom: 18px; }
.about__copy p { margin-bottom: 16px; }
.about__copy .btn { margin-top: 10px; }

/* ===== Service cards ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 28px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-soft); }
.card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--brand-soft); color: var(--brand-dark); margin-bottom: 18px; }
.card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.card__pun { font-family: var(--font-head); font-weight: 600; font-style: italic; color: var(--accent); font-size: .92rem; margin-bottom: 12px; letter-spacing: -.01em; }
.card p { color: var(--body); font-size: .98rem; }
.section__sub em { font-style: italic; color: var(--brand); font-weight: 600; }

/* ===== Colour-coded services ===== */
.cards .card { --c: var(--brand); --c-soft: var(--brand-soft); }
.cards .card:nth-child(1) { --c: #157a6e; --c-soft: #e2f1ee; }
.cards .card:nth-child(2) { --c: #2b7fc4; --c-soft: #e5eff9; }
.cards .card:nth-child(3) { --c: #e5823a; --c-soft: #fceee1; }
.cards .card:nth-child(4) { --c: #7a67d8; --c-soft: #ede9fb; }
.cards .card:nth-child(5) { --c: #d76a97; --c-soft: #fbe8f0; }
.cards .card:nth-child(6) { --c: #cf9a2c; --c-soft: #f8f0d8; }
.card { position: relative; }
.card::before {
  content: ""; position: absolute; top: 0; left: 28px; right: 28px; height: 4px;
  border-radius: 0 0 4px 4px; background: var(--c); opacity: .85;
}
.card__icon { background: var(--c-soft); color: var(--c); }
.card__pun { color: var(--c); }
.card:hover { border-color: var(--c); }

/* ===== Colour accents elsewhere ===== */
.strip__item:nth-child(1) h3 { color: #157a6e; }
.strip__item:nth-child(2) h3 { color: #2b7fc4; }
.strip__item:nth-child(3) h3 { color: #e5823a; }

.steps .step:nth-child(1) { --c: #2b7fc4; }
.steps .step:nth-child(2) { --c: #7a67d8; }
.steps .step:nth-child(3) { --c: #d76a97; }
.steps .step:nth-child(4) { --c: #e5823a; }
.steps .step { border-top: 3px solid var(--c, var(--brand)); }
.steps .step__num { color: var(--c, var(--brand)); opacity: 1; }

/* ===== Gallery ===== */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.shot { margin: 0; }
.shot__img {
  aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  display: grid; place-items: center; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.shot__img svg { width: 64%; }
.shot--reception { background: linear-gradient(150deg, #e5eff9, #cfe0f2); color: #2b7fc4; }
.shot--room { background: linear-gradient(150deg, #e2f1ee, #cbe6df); color: var(--brand-dark); }
.shot--lab { background: linear-gradient(150deg, #fceee1, #f6ddc4); color: #d98a3e; }
.shot--care { background: linear-gradient(150deg, #fbe8f0, #f4d2e1); color: #d76a97; }
.shot figcaption { margin-top: 12px; font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: .95rem; }
.gallery__note { text-align: center; margin-top: 24px; color: var(--accent); font-size: .86rem; font-weight: 600; }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { padding: 28px 24px; border-radius: var(--radius-lg); background: var(--bg-soft); border: 1px solid var(--line); position: relative; }
.step__num { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--brand); opacity: .55; }
.step h3 { font-size: 1.12rem; margin: 10px 0 8px; }
.step p { color: var(--muted); font-size: .94rem; }

/* ===== CTA banner ===== */
.cta-banner {
  padding: clamp(48px, 6vw, 72px) 0; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
}
.cta-banner::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .12;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='90' viewBox='0 0 120 90'%3E%3Cg fill='%23ffffff'%3E%3Cellipse cx='30' cy='30' rx='9' ry='13'/%3E%3Ccircle cx='24' cy='16' r='3'/%3E%3Ccircle cx='31' cy='13' r='3.2'/%3E%3Ccircle cx='38' cy='16' r='3'/%3E%3Cellipse cx='80' cy='62' rx='9' ry='13'/%3E%3Ccircle cx='74' cy='48' r='3'/%3E%3Ccircle cx='81' cy='45' r='3.2'/%3E%3Ccircle cx='88' cy='48' r='3'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 150px; background-position: 0 0;
  animation: footDrift 32s linear infinite;
}
@keyframes footDrift { from { background-position: 0 0; } to { background-position: 150px 0; } }
.cta-banner__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,.9); margin-top: 8px; }

/* ===== Contact ===== */
.contact__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: start; }
.contact__intro h2 { margin-bottom: 14px; }
.contact__list { list-style: none; display: grid; gap: 18px; margin: 30px 0; }
.contact__list li { display: flex; gap: 16px; }
.contact__ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 1.1rem; }
.contact__list strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: .98rem; margin-bottom: 2px; }
.contact__list a:hover { color: var(--brand); }
.placeholder { display: block; font-style: normal; font-size: .78rem; color: var(--accent); font-weight: 600; margin-top: 3px; }
.contact__social { display: flex; gap: 12px; }
.contact__social a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: .9rem; color: var(--brand-dark); transition: border-color .15s, color .15s, transform .15s; }
.contact__social a:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.contact__card { background: var(--brand-dark); color: #fff; border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-lg); position: sticky; top: 100px; }
.contact__card h3 { color: #fff; font-size: 1.5rem; margin-bottom: 10px; }
.contact__card > p { color: rgba(255,255,255,.85); margin-bottom: 22px; }
.contact__card .btn { margin-bottom: 12px; }
.contact__card .btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.contact__card .btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.contact__note { color: rgba(255,255,255,.7); font-size: .86rem; margin-top: 8px; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 56px 0 40px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; align-items: start; }
.footer__brand strong { font-family: var(--font-head); font-weight: 800; color: #fff; font-size: 1.2rem; display: block; }
.footer__brand span { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.55); }
.footer__brand p { margin-top: 12px; color: rgba(255,255,255,.7); }
.footer__nav { display: flex; flex-direction: column; gap: 10px; }
.footer__nav a:hover { color: #fff; }
.footer__meta { text-align: right; font-size: .9rem; }
.footer__meta p + p { margin-top: 4px; color: rgba(255,255,255,.5); }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .contact__social a { transition: none; }
  .foot-art, .toe, .cta-banner::after { animation: none; }
  .footstep { animation: none; opacity: .7; }
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__lead { max-width: 46ch; }
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__media { min-height: 300px; max-width: 460px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__card { position: static; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__meta { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 680px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    padding: 14px 24px 22px; transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .2s, transform .2s;
  }
  .nav__menu.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__menu > li > a { padding: 12px 14px; }
  .nav__cta { margin: 6px 0 0; }
  .nav__cta .btn { width: 100%; }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .strip__inner { grid-template-columns: 1fr; gap: 20px; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cta-banner__inner { flex-direction: column; align-items: flex-start; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__meta { text-align: left; }
  body { font-size: 16px; }
}
