/* =========================================================
   MONTIS CLINIC — Entry Gateway
   Brand colours taken from the logo
   ========================================================= */

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/poppins-300-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/poppins-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/poppins-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/poppins-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/poppins-300-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/poppins-400-italic.woff2") format("woff2");
}


:root {
  --green: #0b7b5d;
  --green-deep: #064a38;
  --green-ink: #0d2a22;
  --gold: #d5b05f;
  --gold-deep: #a9843a;
  --gold-light: #f1e2bd;

  --ivory: #faf7f1;
  --paper: #ffffff;
  --text: #2d3a35;
  --muted: #6c7a74;

  --serif: "Poppins", "Segoe UI", system-ui, sans-serif;
  --sans: "Poppins", "Segoe UI", system-ui, sans-serif;

  --ease: cubic-bezier(.22, .8, .24, 1);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }

/* ---------- Background glows ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(60% 45% at 50% 25%, rgba(250, 247, 241, .75) 0%, transparent 100%),
    linear-gradient(180deg, rgba(250, 247, 241, .82) 0%, rgba(250, 247, 241, .55) 45%, rgba(250, 247, 241, .7) 100%),
    url("clinic-reception-2.jpg") center / cover no-repeat;
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.glow--gold {
  width: 620px; height: 620px;
  top: -260px; left: 50%;
  transform: translateX(-50%);
  background: rgba(213, 176, 95, .22);
}
.glow--green {
  width: 760px; height: 760px;
  bottom: -420px; left: 50%;
  transform: translateX(-50%);
  background: rgba(11, 123, 93, .12);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 1.1s var(--ease) var(--d, 0s),
    transform 1.1s var(--ease) var(--d, 0s);
}
.is-loaded .reveal { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: clamp(28px, 4.5vh, 48px) 16px clamp(24px, 4vh, 40px);
}

.logo img {
  width: clamp(84px, 8vw, 104px);
  margin: 0 auto;
}

.hero-sub {
  margin-top: 14px;
  font-size: clamp(.68rem, 1.2vw, .76rem);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
}
.hero-sub .amp { color: var(--gold-deep); }

.hero-title {
  margin-top: clamp(14px, 2.4vh, 20px);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--green-ink);
}
.hero-title span { color: var(--gold-deep); }

.hero-values {
  display: flex;
  justify-content: center;
  margin-top: 14px;
  white-space: nowrap;
  font-size: min(clamp(.8rem, 1.3vw, .92rem), 2.85vw);
  color: var(--text);
}
.hero-values span + span::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 14px;
  border-radius: 50%;
  background: var(--gold);
  vertical-align: middle;
}

.divider { display: none; }

/* ---------- Pathway cards ---------- */
.pathways {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 28px);
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 40px);
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  outline: none;
  transition:
    transform .7s var(--ease),
    box-shadow .7s var(--ease),
    opacity 1.1s var(--ease) var(--d, 0s);
}

.is-loaded .card:hover,
.is-loaded .card:focus-visible { transform: translateY(-6px); }

/* Wellness — emerald */
.card--wellness {
  background:
    radial-gradient(90% 70% at 100% 0%, #15946f 0%, transparent 60%),
    linear-gradient(160deg, var(--green) 0%, var(--green-deep) 100%);
  color: #fff;
  box-shadow: 0 30px 60px -28px rgba(6, 74, 56, .55);
}
.card--wellness:hover { box-shadow: 0 44px 80px -30px rgba(6, 74, 56, .65); }

/* Aesthetic — champagne */
.card--aesthetic {
  background:
    radial-gradient(90% 70% at 100% 0%, #fffaf0 0%, transparent 60%),
    linear-gradient(160deg, #f8efdb 0%, #e8d29f 100%);
  color: var(--green-ink);
  box-shadow: 0 30px 60px -28px rgba(169, 132, 58, .5);
}
.card--aesthetic:hover { box-shadow: 0 44px 80px -30px rgba(169, 132, 58, .6); }

.card:focus-visible { box-shadow: 0 0 0 3px var(--ivory), 0 0 0 5px var(--gold); }

.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-weight: 600;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.card-tagline {
  margin-top: 10px;
  font-size: .95rem;
  line-height: 1.45;
  opacity: .85;
}

/* Focus areas — icon tiles */
.card-focus {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 20px 0 22px;
}
.card-focus li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 12px 7px 7px;
  border-radius: 14px;
  font-size: .86rem;
  font-weight: 500;
  line-height: 1.3;
}
.card--wellness .card-focus li  { background: rgba(255,255,255,.06); }
.card--aesthetic .card-focus li { background: rgba(255,255,255,.4); }
.card-focus li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.card-focus .ico {
  flex: none;
  width: 42px;
  height: 42px;
  padding: 5px;
  border-radius: 10px;
  fill: currentColor;
  transition: transform .5s var(--ease);
}
.card--wellness .card-focus .ico  { color: var(--gold-light); background: rgba(255,255,255,.1); }
.card--aesthetic .card-focus .ico { color: var(--green-deep); background: rgba(255,255,255,.75); }

.card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  align-self: flex-start;
  margin-top: auto;
  padding: 12px 14px 12px 26px;
  border-radius: 100px;
  font-size: .88rem;
  font-weight: 500;
  transition: background .5s var(--ease), color .5s var(--ease), padding .5s var(--ease);
}
.card-cta svg {
  width: 30px;
  height: 30px;
  padding: 7px;
  border-radius: 50%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .5s var(--ease), background .5s var(--ease);
}

.card--wellness .card-cta { background: #fff; color: var(--green-deep); }
.card--wellness .card-cta svg { background: var(--green); color: #fff; }
.card--wellness:hover .card-cta { background: var(--gold); color: var(--green-ink); }
.card--wellness:hover .card-cta svg { background: var(--green-ink); }

.card--aesthetic .card-cta { background: var(--green-ink); color: #fff; }
.card--aesthetic .card-cta svg { background: var(--gold); color: var(--green-ink); }
.card--aesthetic:hover .card-cta { background: var(--green); }

.card:hover .card-cta { padding-right: 10px; padding-left: 30px; }
.card:hover .card-cta svg { transform: translateX(4px); }

/* ---------- Footer ---------- */
.footer {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  margin-top: auto;
  padding: 28px clamp(16px, 4vw, 40px) 24px;
  font-size: .78rem;
  letter-spacing: .12em;
  color: var(--muted);
}

/* ---------- Page transition ---------- */
.wash {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0;
  transition: opacity .55s var(--ease);
}
.wash.is-wellness  { background: var(--green-deep); }
.wash.is-aesthetic { background: var(--gold-light); }
.wash.is-active    { opacity: 1; }

/* ---------- Tablet & mobile ---------- */
@media (max-width: 860px) and (orientation: portrait) {
  .bg {
    background:
      linear-gradient(180deg, rgba(250, 247, 241, .88) 0%, rgba(250, 247, 241, .8) 30%, rgba(250, 247, 241, .4) 50%, rgba(250, 247, 241, .5) 100%),
      url("clinic-reception-vertical-2.jpg") center / cover no-repeat;
  }
}

@media (max-width: 860px) {
  .pathways { grid-template-columns: 1fr; max-width: 560px; }
}

@media (max-width: 480px) {
  .hero { padding: 24px 16px 22px; }
  .logo img { width: 76px; }
  .hero-sub { margin-top: 10px; font-size: .62rem; letter-spacing: .08em; }
  .hero-title { margin-top: 12px; font-size: 1.65rem; }
  .hero-title span { display: block; }
  .hero-values { margin-top: 10px; font-size: min(.68rem, 2.85vw); }
  .hero-values span + span::before { margin: 0 6px; }

  .pathways { gap: 14px; }
  .card { padding: 24px 20px 20px; border-radius: 20px; }
  .card-title { font-size: 1.5rem; }
  .card-tagline { font-size: .88rem; }
  .card-focus { grid-template-columns: 1fr; gap: 6px; margin: 18px 0 20px; }
  .card-focus li { gap: 10px; padding: 5px 10px 5px 5px; font-size: .84rem; }
  .card-focus .ico { width: 36px; height: 36px; padding: 4px; }

  .card-cta { display: flex; width: 100%; padding: 10px 10px 10px 20px; }
  .card:hover .card-cta { padding: 10px 10px 10px 20px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}
