:root {
  --navy: #0f4f82;
  --navy-deep: #0a3558;
  --blue-soft: #b9daea;
  --blue-accent: #79bfe3;
  --sage: #6e7f6f;
  --sage-deep: #435644;
  --ivory: #f7f3ec;
  --taupe: #7b6b5a;
  --ink: #1e2a32;
  --muted: #596874;
  --line: rgba(15, 79, 130, 0.18);
  --white: #ffffff;
  --shadow: 0 28px 80px rgba(15, 79, 130, 0.16);
  --radius: 8px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(247, 243, 236, 0.74), rgba(247, 243, 236, 0.94)),
    url("images/hero-rural-contours.png") center top / cover no-repeat;
  opacity: 0.22;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 8px clamp(18px, 4vw, 56px);
  background: rgba(248, 246, 239, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  animation: header-drop 520ms ease both;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(190px, 19vw, 270px);
  height: 74px;
  text-decoration: none;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 30px);
  color: var(--navy-deep);
  font-size: 0.92rem;
  font-weight: 650;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--navy-deep);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(15, 79, 130, 0.24);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.nav a,
.header-cta,
.text-link {
  text-decoration: none;
}

.nav a:hover,
.text-link:hover {
  color: var(--navy);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border-radius: var(--radius);
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.header-cta,
.button--primary {
  border: 1px solid var(--navy);
  background: var(--navy);
  color: var(--white);
}

.button--secondary {
  border: 1px solid rgba(15, 79, 130, 0.36);
  background: rgba(255, 255, 255, 0.66);
  color: var(--navy-deep);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(15, 79, 130, 0.16);
}

.hero {
  position: relative;
  display: grid;
  min-height: clamp(430px, 58vh, 560px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translate3d(0, var(--hero-shift, 0), 0) scale(var(--hero-scale, 1.02));
  transform-origin: center top;
  will-change: transform;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 28%, rgba(121, 191, 227, 0.12), transparent 28%),
    linear-gradient(
      90deg,
      rgba(247, 243, 236, 0.98) 0%,
      rgba(247, 243, 236, 0.9) 35%,
      rgba(247, 243, 236, 0.28) 68%,
      rgba(247, 243, 236, 0.08) 100%
    );
}

.hero__content {
  position: relative;
  z-index: 1;
  align-self: center;
  max-width: 660px;
  padding: clamp(30px, 5vw, 58px) clamp(20px, 5vw, 66px);
  transform: translate3d(0, var(--hero-copy-shift, 0), 0);
  animation: reveal-up 680ms ease;
  will-change: transform;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--sage-deep);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
summary {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 620;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.2rem, 3.8vw, 3.55rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 4.15rem);
}

h3 {
  font-size: clamp(1.18rem, 1.5vw, 1.42rem);
}

p {
  margin: 0;
}

.hero__lead {
  margin-top: 18px;
  color: var(--navy);
  font-size: clamp(1.08rem, 1.55vw, 1.28rem);
  line-height: 1.38;
}

.hero__lead + p {
  max-width: 610px;
  margin-top: 12px;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.14rem);
}

.actions,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
  border-top: 3px solid rgba(110, 127, 111, 0.42);
}

.trust-strip span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 74px;
  padding: 18px clamp(14px, 2.4vw, 28px);
  background: rgba(255, 255, 255, 0.62);
  color: var(--navy-deep);
  font-weight: 750;
  text-align: center;
}

.trust-strip span:nth-child(even) {
  background: rgba(247, 243, 236, 0.82);
}

.section {
  padding: clamp(62px, 8vw, 112px) clamp(20px, 5vw, 66px);
}

.page-hero {
  display: grid;
  gap: 18px;
  max-width: 980px;
}

.page-hero p:last-child {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
}

.page-feature {
  padding-top: clamp(52px, 7vw, 90px);
}

.section__heading {
  display: grid;
  grid-template-columns: minmax(140px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(24px, 6vw, 74px);
  align-items: start;
  margin-bottom: clamp(32px, 5vw, 58px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

.intro__copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 58px);
  max-width: 1180px;
  margin-left: auto;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.35vw, 1.22rem);
}

.services {
  background: rgba(255, 255, 255, 0.42);
  border-bottom: 1px solid var(--line);
}

.info-panel {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.34);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.info-grid article {
  min-height: 210px;
  padding: clamp(22px, 2.6vw, 34px);
  background: rgba(247, 243, 236, 0.96);
}

.info-grid p {
  margin-top: 14px;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-grid article {
  display: grid;
  grid-column: span 2;
  align-content: start;
  min-height: 320px;
  padding: clamp(22px, 2.6vw, 34px);
  background: rgba(247, 243, 236, 0.95);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.service-grid article:nth-child(n + 4) {
  grid-column: span 3;
}

.service-grid article:hover {
  z-index: 1;
  transform: translateY(-4px);
  background: rgba(255, 253, 250, 0.98);
  box-shadow: 0 22px 52px rgba(15, 79, 130, 0.13);
}

.service-grid img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-grid article:hover img {
  transform: translateY(-2px) scale(1.03);
}

.steps span {
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.service-grid h3,
.steps h3 {
  margin-top: 24px;
}

.service-grid p,
.steps p,
.faq-list p,
.feature__copy p,
.booking p,
.booking__panel p {
  margin-top: 16px;
  color: var(--muted);
}

.feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.feature__image {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow);
}

.feature__image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

.feature__copy {
  max-width: 700px;
}

.feature__copy p + p {
  margin-top: 14px;
}

.feature__copy .text-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--navy);
  font-weight: 820;
}

.qualifications {
  border-bottom: 1px solid var(--line);
}

.qualification-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 32px);
}

.qualification-list article {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(15, 79, 130, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 253, 250, 0.82);
  box-shadow: 0 18px 45px rgba(28, 43, 51, 0.07);
}

.qualification-list h3 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 820;
}

.qualification-list ul {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding-left: 1.1rem;
  color: var(--muted);
}

.qualification-list li::marker {
  color: var(--sage);
}

.visual-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.visual-note__copy {
  max-width: 760px;
}

.visual-note__copy p:last-child {
  max-width: 660px;
  margin-top: 20px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.35vw, 1.2rem);
}

.visual-note img {
  width: min(420px, 100%);
  justify-self: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow);
}

.process {
  background: var(--navy-deep);
  color: var(--white);
}

.process h2,
.process h3 {
  color: var(--white);
}

.process .eyebrow,
.process .steps span {
  color: var(--blue-soft);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  margin: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.steps li {
  min-height: 280px;
  padding: clamp(22px, 2.8vw, 34px);
  background: rgba(255, 255, 255, 0.075);
}

.steps p {
  color: rgba(255, 255, 255, 0.78);
}

.faq {
  border-bottom: 1px solid var(--line);
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
}

summary {
  cursor: pointer;
  padding: 20px 22px;
  color: var(--navy-deep);
  font-weight: 800;
}

details p {
  padding: 0 22px 22px;
}

.booking {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: stretch;
  margin: clamp(22px, 4vw, 52px) clamp(20px, 5vw, 66px);
  padding: clamp(32px, 5vw, 58px);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--sage-deep), var(--navy));
  color: var(--white);
  box-shadow: var(--shadow);
}

.booking h1,
.booking h2,
.booking h3 {
  color: var(--white);
}

.booking .eyebrow {
  color: var(--blue-soft);
}

.booking p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.82);
}

.booking .button--primary {
  border-color: var(--white);
  background: var(--white);
  color: var(--navy-deep);
}

.booking .button--secondary {
  border-color: rgba(255, 255, 255, 0.54);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.booking .text-link {
  color: var(--white);
  font-weight: 820;
  overflow-wrap: anywhere;
}

.booking__panel .text-link {
  display: inline-flex;
  margin-top: 18px;
}

.booking__panel {
  display: grid;
  gap: 20px;
  align-content: start;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.11);
}

.booking__panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: calc(var(--radius) - 2px);
}

.contact-page {
  margin-top: clamp(34px, 6vw, 70px);
}

.cliniko-section {
  padding-top: clamp(42px, 6vw, 84px);
}

.cliniko-section .section__heading h2 {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: 760px;
  text-align: center;
}

.cliniko-shell {
  max-width: 1120px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(15, 79, 130, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 253, 250, 0.96);
  box-shadow: var(--shadow);
}

.cliniko-direct {
  display: grid;
  gap: 20px;
  padding: clamp(28px, 4.2vw, 48px) clamp(24px, 4vw, 46px) clamp(30px, 4.4vw, 50px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(237, 247, 248, 0.42)),
    rgba(255, 253, 250, 0.94);
}

.cliniko-direct p {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  line-height: 1.62;
}

.cliniko-direct .contact-links {
  margin-top: 0;
  padding-top: 4px;
}

.cliniko-shell__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 20px clamp(20px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(237, 247, 248, 0.68), rgba(247, 243, 236, 0.82)),
    var(--ivory);
}

.cliniko-shell__header h3 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 820;
}

.cliniko-shell__header p {
  color: var(--muted);
  font-size: 0.96rem;
  text-align: right;
}

.contact-form {
  display: grid;
  gap: 14px;
  max-width: 620px;
  margin-top: 28px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 750;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 6px;
  font: inherit;
}

.contact-form button {
  min-height: 48px;
  color: var(--navy-deep);
  background: var(--white);
  border: 1px solid var(--white);
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-weight: 820;
}

.contact-form__hidden {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 24px;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 720;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 30px clamp(20px, 5vw, 66px) 44px;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer img {
  width: min(248px, 68vw);
  height: auto;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 14px;
}

.site-footer a {
  align-self: start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy-deep);
  font-weight: 750;
  text-decoration: none;
}

.social-link svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.reveal {
  transform: translateY(18px);
  transition: transform 680ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  transform: translateY(0);
}

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

  .nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .nav.is-open {
    position: absolute;
    top: calc(100% + 1px);
    right: clamp(18px, 4vw, 56px);
    left: clamp(18px, 4vw, 56px);
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 8px;
    background: rgba(248, 246, 239, 0.98);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 18px 42px rgba(15, 79, 130, 0.14);
  }

  .nav.is-open a {
    padding: 12px 14px;
    border-radius: 6px;
  }

  .nav.is-open a:hover {
    background: rgba(15, 79, 130, 0.08);
  }

  .trust-strip,
  .info-grid,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid article,
  .service-grid article:nth-child(n + 4) {
    grid-column: auto;
  }

  .service-grid article:last-child {
    grid-column: 1 / -1;
  }

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

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    padding: 10px 12px;
  }

  .brand {
    width: min(142px, 38vw);
    height: 50px;
  }

  .header-cta {
    width: 58px;
    min-height: 42px;
    padding: 9px 8px;
    overflow: hidden;
    font-size: 0;
    white-space: nowrap;
  }

  .header-cta::after {
    content: "Book";
    color: var(--white);
    font-size: 0.82rem;
  }

  .hero {
    min-height: auto;
  }

  .hero::after {
    background: linear-gradient(
      180deg,
      rgba(247, 243, 236, 0.94) 0%,
      rgba(247, 243, 236, 0.88) 56%,
      rgba(247, 243, 236, 0.74) 100%
    );
  }

  .hero__content {
    padding: 54px 20px 70px;
  }

  .trust-strip,
  .info-grid,
  .service-grid,
  .intro__copy,
  .feature,
  .visual-note,
  .qualification-list,
  .steps,
  .faq-list,
  .booking,
  .section__heading {
    grid-template-columns: 1fr;
  }

  .cliniko-shell__header {
    display: grid;
    align-items: start;
  }

  .cliniko-shell__header p {
    text-align: left;
  }

  .cliniko-direct .contact-links {
    align-items: stretch;
  }

  .cliniko-direct .button {
    width: 100%;
  }

  .visual-note {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 28px;
  }

  .visual-note img {
    width: min(280px, 82vw);
    justify-self: center;
    box-shadow: 0 18px 42px rgba(15, 79, 130, 0.12);
  }

  .service-grid article,
  .steps li {
    min-height: auto;
  }

  .booking {
    margin-right: 20px;
    margin-left: 20px;
  }

  .site-footer {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .hero__image,
  .hero__content,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

@keyframes header-drop {
  from {
    transform: translateY(-10px);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes reveal-up {
  from {
    transform: translateY(16px);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1.01) translateX(0);
  }
  to {
    transform: scale(1.04) translateX(-10px);
  }
}
