/* Herbert Valley Home Physio — Shared Stylesheet */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Inter:wght@400;500;600&display=swap');

/* ── Design Tokens ── */
:root {
  --color-accent-100: #ffffff;
  --color-accent-200: #b2e4e8;
  --color-accent-300: #5dcdd6;
  --color-accent-400: #29b0bb;
  --color-accent-600: #22a0aa;
  --color-accent-700: #29b0bb;
  --color-accent-800: #29b0bb;
  --color-neutral-100: #ffffff;
  --color-neutral-200: #f7f9fa;
  --color-neutral-900: #111;
  --color-text: #1a2828;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.13), 0 4px 10px rgba(0,0,0,.07);

  --space-3: 12px;
  --max-width: 1180px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #ffffff;
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent-700); text-decoration: none; }
a:hover { color: var(--color-accent-600); text-decoration: underline; }
h1,h2,h3,h4 { margin: 0; }

/* ── Layout wrapper ── */
.page-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
}

/* ── Navigation ── */
.nav {
  background: var(--color-accent-800);
  color: var(--color-neutral-100);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 clamp(20px, 5vw, 40px);
  max-width: calc(var(--max-width) + 80px);
  margin: 0 auto;
  min-height: 64px;
  flex-wrap: wrap;
}
.nav-brand {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 17px;
  color: var(--color-neutral-100);
  margin-right: auto;
  letter-spacing: -0.01em;
  line-height: 1.2;
  padding: 14px 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.nav-links a {
  color: rgba(255,255,255,.82);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 6px;
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.08); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--color-accent-300); }
.nav-cta {
  margin-left: 8px;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--color-neutral-100);
  margin-left: auto;
}
.nav-toggle svg { display: block; }
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--color-accent-800);
  padding: 0 clamp(20px,5vw,40px) 16px;
}
.nav-mobile a {
  color: rgba(255,255,255,.85);
  font-size: 15px;
  font-weight: 500;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: block;
}
.nav-mobile a:hover { color: #fff; text-decoration: none; }
.nav-mobile a[aria-current="page"] { color: var(--color-accent-300); }
.nav-mobile .btn { margin-top: 14px; }
.nav-mobile.open { display: flex; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background .15s, color .15s, border-color .15s, box-shadow .15s;
  white-space: nowrap;
  line-height: 1.2;
  text-decoration: none !important;
}
.btn-primary {
  background: var(--color-accent-700);
  color: #fff;
  border-color: var(--color-accent-700);
}
.btn-primary:hover {
  background: var(--color-accent-600);
  border-color: var(--color-accent-600);
  box-shadow: 0 3px 10px rgba(0,0,0,.18);
}
.btn-ghost {
  background: transparent;
  color: var(--color-accent-700);
  border-color: var(--color-accent-400);
}
.btn-ghost:hover {
  background: var(--color-accent-200);
  border-color: var(--color-accent-600);
}
.btn-light {
  background: var(--color-neutral-100);
  color: var(--color-accent-800);
  border-color: var(--color-neutral-100);
}
.btn-light:hover {
  background: #f0f0f0;
  box-shadow: 0 3px 10px rgba(0,0,0,.15);
}
.btn-outline-light {
  background: transparent;
  color: var(--color-neutral-100);
  border-color: var(--color-accent-400);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,.1);
}

/* ── CTA banner ── */
.cta-banner {
  padding: 44px clamp(24px,4vw,48px);
  margin: 0 0 72px;
  background: var(--color-accent-800);
  color: var(--color-neutral-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.cta-banner h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 28px;
  line-height: 36px;
  color: var(--color-neutral-100);
}
.cta-banner p {
  font-size: 16.5px;
  line-height: 28px;
  color: var(--color-accent-200);
  margin: 14px 0 0;
  max-width: 56ch;
}
.btn-row {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: 28px;
  align-items: center;
}

/* ── Footer ── */
.site-footer {
  padding: 48px 0 56px;
  font-size: 13px;
  line-height: 28px;
  color: color-mix(in srgb, var(--color-text) 60%, transparent);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  border-top: 1px solid rgba(0,0,0,.08);
  margin-top: 40px;
}

/* ── Form elements ── */
.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.field label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--color-text) 72%, transparent);
}
.input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid color-mix(in srgb, var(--color-text) 20%, transparent);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  background: #fff;
  color: var(--color-text);
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}
.input:focus {
  border-color: var(--color-accent-600);
  box-shadow: 0 0 0 3px rgba(30,143,173,.12);
}
.form-status {
  font-size: 15px;
  line-height: 26px;
  color: var(--color-accent-700);
  font-weight: 500;
  margin: 0;
  display: none;
}
.form-status.visible { display: block; }

/* ── Label chip ── */
.label-chip {
  display: block;
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--color-text) 60%, transparent);
  margin-bottom: 14px;
  font-weight: 500;
}

/* ── Area list items ── */
.area-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  font-size: 17px;
  line-height: 38px;
}
.area-dot {
  flex: 1;
  min-width: 28px;
  align-self: flex-end;
  margin-bottom: 0.4em;
  border-bottom: 1px dotted color-mix(in srgb, var(--color-text) 35%, transparent);
}
.area-tag {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--color-accent-700);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .nav-brand { font-size: 15px; }

  .hero-title {
    font-size: clamp(32px,9vw,52px) !important;
  }

  .cta-banner {
    padding: 28px 20px;
    border-radius: var(--radius-md);
  }
  .cta-banner h2 { font-size: 22px; line-height: 30px; }

  .btn-row { flex-direction: column; align-items: flex-start; }
  .btn-row .btn { width: 100%; text-align: center; }

  /* Hide decorative offset box on mobile */
  .portrait-deco { display: none; }
}

@media (max-width: 480px) {
  .site-footer { flex-direction: column; gap: 4px; }
  .btn { padding: 12px 18px; font-size: 14px; }
}

/* ── Quick Enquiry form (homepage) ── */
.enquiry-section {
  padding: clamp(32px,5vw,52px) clamp(24px,4vw,48px);
  margin: 0 0 clamp(48px,6vw,72px);
  background: var(--color-neutral-100);
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-accent-200);
  box-shadow: var(--shadow-sm);
}
.enquiry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.btn-submit {
  background: var(--color-accent-700);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 13px 22px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, box-shadow .15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1.2;
}
.btn-submit:hover { background: var(--color-accent-600); box-shadow: 0 3px 12px rgba(0,0,0,.18); }

/* ── Floating WhatsApp + Call buttons ── */
.float-btns {
  position: fixed;
  bottom: 28px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}
.float-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 40px;
  padding: 11px 18px 11px 14px;
  text-decoration: none !important;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(0,0,0,.26);
  transition: transform 0.15s, box-shadow 0.15s;
  white-space: nowrap;
  line-height: 1;
}
.float-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(0,0,0,.32); }
.float-btn-wa { background: #25D366; }
.float-btn-call { background: var(--color-accent-700); }

@media (max-width: 540px) {
  .enquiry-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .float-btns { bottom: 18px; right: 14px; gap: 8px; }
  .float-btn { padding: 14px; border-radius: 50%; }
  .float-btn .float-label { display: none; }
}
