/* Rehab 2 You — recreated static site
   Colours, fonts and layout mirror the live Assembler theme. */

:root {
  --bg: #ffffff;
  --section: #f2f6f2;     /* theme-2  light band  */
  --accent: #315d73;      /* theme-3  primary teal */
  --accent-hover: #28495b;
  --text: #0f1111;        /* theme-4  body text   */
  --green: #83bf6d;       /* hero brand accent    */
  --muted: #4a5658;
  --wide: 1200px;
  --content: 640px;
  --radius: 12px;
  --pill: 100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(15px, 0.95rem + 0.3vw, 18px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(34px, 2.1rem + 2.6vw, 64px); margin-bottom: 0.9em; }
h2 { font-size: clamp(28px, 1.8rem + 1.6vw, 44px); }
h3 { font-size: clamp(20px, 1.25rem + 0.8vw, 28px); }

p { margin: 0 0 1rem; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- layout helpers ---------- */
.container { max-width: var(--wide); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: var(--content); margin-left: auto; margin-right: auto; }
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section--tint { background: var(--section); }
.section--accent { background: var(--accent); color: #fff; }
.section--accent h1,
.section--accent h2 { color: #fff; }

.center { text-align: center; }
.lead { font-size: 1.1rem; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.col-img img { border-radius: var(--radius); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: var(--pill);
  padding: 14px 32px;
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background .15s ease;
}
.btn:hover { background: var(--accent-hover); color: #fff; text-decoration: none; }
.btn--light { background: #fff; color: var(--accent); }
.btn--light:hover { background: #e9eff1; color: var(--accent); }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid #e7ecec;
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 24px;
  max-width: var(--wide);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 72px; height: auto; }
.brand__name { font-family: "Manrope", sans-serif; font-weight: 700; color: var(--accent); font-size: 1.1rem; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  color: var(--text);
  padding: 8px 14px;
  border-radius: var(--pill);
  font-size: 0.95rem;
}
.nav a:hover { background: var(--section); text-decoration: none; }
.nav a.active { color: var(--accent); font-weight: 600; }

/* header contact (phone + email) */
.header-contact { display: flex; align-items: center; gap: 8px; }
.header-contact a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  border-radius: var(--pill);
  white-space: nowrap;
}
.contact-phone {
  background: var(--accent);
  color: #fff;
  padding: 7px 14px;
  font-weight: 600;
}
.contact-phone:hover { background: var(--accent-hover); text-decoration: none; }
.contact-email { color: var(--text); padding: 7px 10px; }
.contact-email:hover { background: var(--section); text-decoration: none; }
.contact-ico { font-size: 1rem; line-height: 1; }
/* email address text only appears on wide screens to keep the bar uncluttered */
.contact-email .contact-label { display: none; }
@media (min-width: 1024px) {
  .contact-email .contact-label { display: inline; }
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: .2s;
}

/* ---------- hero ---------- */
.hero { background: var(--accent); color: #fff; }
.hero .grid-2 { align-items: center; }
.hero__brand { color: var(--green); font-weight: 700; font-size: clamp(28px, 2rem + 1vw, 40px); margin-bottom: .25em; }
.hero h1 { color: #fff; margin-bottom: .6em; }
.hero p { color: #eef4f6; max-width: 520px; }
.hero img { border-radius: var(--radius); }

/* ---------- services list ---------- */
.focus-list p { margin-bottom: .9rem; }
.focus-list strong { color: var(--accent); }

/* ---------- steps ---------- */
.step { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: center; }
.step + .step { margin-top: 8px; }
.step__media img { border-radius: var(--radius); margin: 0 auto; }
.step__media--logo { display: flex; justify-content: center; }
.step__media--logo img { width: 130px; }
.step ul { margin: .5rem 0 0; padding-left: 1.1rem; }
.step li { margin-bottom: .4rem; }
.divider { border: 0; border-top: 1px solid #dde4e4; margin: 36px 0; }

/* ---------- pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 860px; margin: 0 auto; }
.price-card {
  background: var(--section);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
}
.price-card h3 { margin-bottom: .5rem; }
.price-card .price { font-size: 2.4rem; font-weight: 700; color: var(--accent); font-family: "Manrope", sans-serif; }
.pricing-notes { max-width: 640px; margin: 32px auto 0; text-align: center; color: var(--muted); }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 280px; gap: 48px; align-items: start; }
.about-grid img { border-radius: var(--radius); }
.credentials { color: var(--accent); font-weight: 600; }

/* ---------- map ---------- */
.map-wrap img { border-radius: var(--radius); margin: 0 auto; }

/* ---------- FAQ accordion ---------- */
.accordion { max-width: 820px; margin: 0 auto; }
.acc-item { border: 1px solid #e1e8e8; border-radius: var(--radius); margin-bottom: 14px; background: #fff; overflow: hidden; }
.acc-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 20px 24px;
  font: 600 1.05rem/1.3 "Manrope", sans-serif;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.acc-trigger .icon { color: var(--accent); font-size: 1.5rem; line-height: 1; flex-shrink: 0; transition: transform .2s; }
.acc-trigger[aria-expanded="true"] .icon { transform: rotate(45deg); }
.acc-panel { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height .25s ease, padding .25s ease; }
.acc-panel[hidden] { display: block; } /* JS controls via max-height */
.acc-panel-inner { padding-bottom: 22px; }
.acc-panel ul { margin: .5rem 0; padding-left: 1.2rem; }
.acc-panel li::marker { color: var(--accent); }

/* ---------- contact form ---------- */
.form-wrap { max-width: 520px; margin: 0 auto; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.form-field .req { color: var(--accent); font-weight: 400; }
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #c9d4d4;
  border-radius: 5px;
  font: inherit;
  background: #fff;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus,
.form-field textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.radio-row { display: flex; gap: 24px; }
.radio-row label { font-weight: 400; display: flex; align-items: center; gap: 8px; }
.form-status { margin-top: 14px; font-weight: 600; }
.form-status.error { color: #b3261e; }
.form-status.ok { color: var(--accent); }

/* ---------- footer ---------- */
.site-footer { background: var(--section); padding: 56px 0 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer img { width: 130px; margin-bottom: 14px; }
.site-footer h3 { font-size: 1.1rem; margin-bottom: 14px; }
.site-footer p { margin: 0 0 10px; }
.footer-bottom { text-align: center; color: var(--muted); margin-top: 40px; font-size: .85rem; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .grid-2,
  .about-grid,
  .pricing-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 16px; text-align: center; }
  .step ul { text-align: left; display: inline-block; }

  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid #e7ecec;
    padding: 8px 16px 16px;
    gap: 2px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }

  /* keep phone + email on the bar, pushed beside the hamburger */
  .header-contact { margin-left: auto; }
  .brand img { width: 56px; }
  .contact-phone { padding: 7px 12px; }
}
/* drop the wordmark before the phone number, so the number stays visible on phones */
@media (max-width: 480px) {
  .brand__name { display: none; }
}
@media (max-width: 360px) {
  .contact-phone .contact-label { display: none; }
  .contact-phone { padding: 8px 11px; }
}
