/* Hill Country Physiotherapy — demo website by Tech Orbit Solutions.
   Active recovery look: white + stone + emerald. Source Serif type. */
:root {
  --bg: #FFFFFF;
  --bg-2: #F5F5F4;
  --emerald: #047857;
  --emerald-dark: #065F46;
  --emerald-light: #ECFDF5;
  --ink: #1C1917;
  --ink-soft: #57534E;
  --muted: #8A8580;
  --line: #E7E5E4;
  --radius: 14px;
  --font-display: "Source Serif 4", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); background: var(--bg); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.container { width: min(1080px, 92vw); margin: 0 auto; }

/* Demo banner */
.demo-bar { background: var(--ink); color: #F5F5F4; font-size: 13px; position: sticky; top: 0; z-index: 200; }
.demo-bar-inner { width: min(1080px, 92vw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; }
.demo-bar strong { color: #6EE7B7; }
.demo-bar a { color: #F5F5F4; font-weight: 700; text-decoration: none; white-space: nowrap; }
.demo-bar a:hover { text-decoration: underline; }

/* Header */
.phys-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { font-family: var(--font-display); font-size: 26px; text-decoration: none; line-height: 1; font-weight: 700; }
.logo span { color: var(--emerald); }
.phys-nav { display: flex; align-items: center; gap: 26px; }
.phys-nav a { text-decoration: none; font-size: 15px; font-weight: 600; }
.phys-nav a:not(.btn):hover { color: var(--emerald); }
.phys-nav a.active { color: var(--emerald); }
.menu-btn { display: none; background: none; border: 1.5px solid var(--line); border-radius: 10px; width: 44px; height: 40px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--ink); }

/* Buttons */
.btn { display: inline-block; padding: 13px 24px; border-radius: 10px; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); transition: transform .15s ease, background .15s ease, color .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--emerald); border-color: var(--emerald); color: #fff; }
.btn-primary:hover { background: var(--emerald-dark); border-color: var(--emerald-dark); }
.btn-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--emerald); border-color: var(--emerald); }
.btn-small { padding: 10px 18px; font-size: 14px; }

/* Hero */
.hero { padding: 56px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.eyebrow { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--emerald); font-weight: 700; margin: 0 0 12px; }
.hero h1 { font-family: var(--font-display); font-size: clamp(40px, 5.5vw, 58px); line-height: 1.08; margin: 0 0 16px; font-weight: 700; }
.hero h1 em { font-style: italic; color: var(--emerald); }
.hero-sub { font-size: 18px; color: var(--ink-soft); max-width: 520px; margin: 0 0 26px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-img { border-radius: 18px; width: 100%; height: 420px; object-fit: cover; display: block; box-shadow: 0 24px 48px rgba(28, 25, 23, 0.14); }
.hero-badge { display: inline-block; margin-top: 24px; background: var(--emerald-light); color: #065F46; font-weight: 700; font-size: 14px; padding: 10px 18px; border-radius: 999px; }

/* Sections */
.section { padding: 80px 0; }
.section-tint { background: var(--bg-2); }
.section-dark { background: var(--ink); color: #fff; }
h2 { font-family: var(--font-display); font-size: clamp(32px, 5vw, 46px); line-height: 1.1; margin: 0 0 14px; font-weight: 700; }
.section-sub { font-size: 17px; color: var(--ink-soft); max-width: 660px; margin: 0 0 40px; }
.section-dark .section-sub { color: #D6D3D1; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.section-head h2 { margin: 0; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(28, 25, 23, 0.12); }
.card img { width: 100%; height: 190px; object-fit: cover; display: block; }
.card-body { padding: 24px; }
.card-body h3 { font-family: var(--font-display); font-size: 24px; margin: 0 0 6px; }
.card-body p { color: var(--ink-soft); margin: 0 0 14px; font-size: 15px; }
.card-body .price { font-weight: 800; font-size: 16px; color: var(--emerald); }

/* Services */
.service-list { max-width: 780px; }
.service-item { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding: 20px 0; align-items: flex-start; }
.service-item:first-of-type { border-top: 1px solid var(--line); }
.service-item b { font-family: var(--font-display); font-size: 22px; }
.service-item p { margin: 2px 0 0; color: var(--ink-soft); font-size: 14px; max-width: 520px; }
.service-item .meta { text-align: right; flex-shrink: 0; }
.service-item .price { font-size: 18px; font-weight: 800; color: var(--emerald); display: block; }
.service-item .dur { font-size: 13px; color: var(--muted); }
.book-link { display: inline-block; margin-top: 8px; font-weight: 700; font-size: 14px; color: var(--emerald); text-decoration: none; }
.book-link:hover { text-decoration: underline; }
.cond-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.cond-chip { background: var(--emerald-light); color: #065F46; border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { border-top: 3px solid var(--emerald); padding-top: 20px; }
.step b { font-family: var(--font-display); font-size: 40px; color: var(--emerald); display: block; line-height: 1; margin-bottom: 8px; }
.step h3 { font-family: var(--font-display); font-size: 24px; margin: 0 0 8px; }
.step p { color: var(--ink-soft); margin: 0; font-size: 15px; }
.section-dark .step p { color: #D6D3D1; }

/* FAQ */
.faq-list { border-top: 1.5px solid var(--ink); }
.faq-item { border-bottom: 1.5px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: none; border: none; cursor: pointer; padding: 22px 4px; font-family: var(--font-display); font-size: 24px; text-align: left; color: var(--ink); }
.faq-q span { color: var(--emerald); font-size: 26px; flex-shrink: 0; transition: transform .2s ease; }
.faq-q[aria-expanded="true"] span { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { margin: 0 0 22px; color: var(--ink-soft); max-width: 680px; }

/* Booking */
.book-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.book-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.book-step { display: none; }
.book-step.active { display: block; }
.book-step h3 { font-family: var(--font-display); font-size: 26px; margin: 0 0 6px; }
.book-step .hint { color: var(--ink-soft); font-size: 14px; margin: 0 0 20px; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.choice { border: 1.5px solid var(--line); border-radius: 10px; padding: 14px 16px; cursor: pointer; background: #fff; text-align: left; font-family: var(--font-body); }
.choice:hover { border-color: var(--ink); }
.choice.selected { border-color: var(--emerald); background: var(--emerald-light); }
.choice b { display: block; font-size: 15px; }
.choice span { color: var(--ink-soft); font-size: 13px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; font-size: 14px; font-weight: 700; }
.field input, .field select { border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 15px; font-family: var(--font-body); width: 100%; background: #fff; }
.field input:focus, .field select:focus { outline: none; border-color: var(--emerald); }
.field input.invalid { border-color: #C0392B; }
.error-msg { color: #C0392B; font-size: 14px; margin: -8px 0 16px; display: none; }
.error-msg.show { display: block; }
.summary { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 28px; position: sticky; top: 130px; }
.summary h3 { font-family: var(--font-display); font-size: 26px; margin: 0 0 16px; }
.summary p { color: #D6D3D1; font-size: 15px; margin: 0 0 8px; }
.summary p b { color: #fff; }
.confirm-box { text-align: center; padding: 32px 0; }
.confirm-box .big-check { font-size: 56px; color: var(--emerald); line-height: 1; }
.confirm-box h3 { font-family: var(--font-display); font-size: 34px; margin: 12px 0 8px; }
.confirm-box p { color: var(--ink-soft); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.info-card h3 { font-family: var(--font-display); font-size: 26px; margin: 0 0 12px; }
.info-card p { color: var(--ink-soft); margin: 0 0 8px; }
.info-card .hours { width: 100%; border-collapse: collapse; margin-top: 8px; }
.info-card .hours td { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.info-card .hours td:last-child { text-align: right; color: var(--ink-soft); }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.form-success { display: none; background: var(--emerald-light); border: 1.5px solid var(--emerald); border-radius: 12px; padding: 18px; }
.form-success.show { display: block; }

/* Footer */
.phys-footer { background: var(--ink); color: #fff; padding: 48px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.phys-footer .logo { color: #fff; }
.phys-footer p { color: #D6D3D1; font-size: 14px; }
.phys-footer h4 { margin: 0 0 12px; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
.phys-footer ul { list-style: none; padding: 0; margin: 0; }
.phys-footer li { margin-bottom: 8px; }
.phys-footer a { color: #D6D3D1; text-decoration: none; font-size: 14px; }
.phys-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #44403C; margin-top: 36px; padding-top: 20px; font-size: 13px; color: #A8A29E; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.revealed { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-img { height: 300px; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .book-wrap { grid-template-columns: 1fr; }
  .summary { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
@media (max-width: 720px) {
  .phys-nav { display: none; position: absolute; top: 103px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; padding: 16px 4vw 22px; gap: 16px; }
  .phys-nav.open { display: flex; }
  .menu-btn { display: flex; }
  .demo-bar-inner span:first-child { font-size: 12px; }
  .choice-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* --- Hill Country Physio home redesign (2026-10-25): reversed split + horizontal timeline --- */
.hp-hero{padding:64px 0 72px}
.hp-hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.hp-hero-img{width:100%;height:480px;object-fit:cover;border-radius:18px;display:block}
.hp-hero-grid h1{font-family:"Source Serif 4",serif;font-size:52px;line-height:1.12;font-weight:700;margin:14px 0 18px}
.hp-hero-grid h1 em{font-style:italic;color:#047857}
.hp-sub{font-size:17px;line-height:1.65;color:#4A4A44}
.hp-cta{display:flex;gap:12px;margin-top:28px;flex-wrap:wrap}
.hp-note{margin-top:24px;font-size:14px;font-weight:600;color:#047857}
.hp-process{padding:0 0 72px}
.hp-process h2{font-family:"Source Serif 4",serif;font-size:38px;font-weight:700;margin:12px 0 44px}
.hp-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;position:relative}
.hp-steps::before{content:"";position:absolute;top:22px;left:12%;right:12%;height:2px;background:#D6E5DC}
.hp-step{position:relative}
.hp-dot{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:#047857;color:#fff;font-weight:700;font-size:14px;position:relative;z-index:1;margin-bottom:16px}
.hp-step h3{font-family:"Source Serif 4",serif;font-size:22px;font-weight:700}
.hp-step p{color:#4A4A44;line-height:1.6;margin-top:8px;font-size:15px}
.hp-process-cta{margin-top:40px}
.hp-photos{padding:0 0 72px}
.hp-photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.hp-photo-grid img{width:100%;height:300px;object-fit:cover;border-radius:16px;display:block}
.hp-visit{background:#EAF3EE;padding:60px 0;text-align:center}
.hp-visit h2{font-family:"Source Serif 4",serif;font-size:36px;font-weight:700;margin:12px 0 10px}
.hp-visit p{color:#4A4A44}
.hp-visit .btn{margin-top:24px}
@media(max-width:760px){
  .hp-hero-grid{grid-template-columns:1fr}
  .hp-hero-img{height:300px}
  .hp-hero-grid h1{font-size:36px}
  .hp-steps{grid-template-columns:1fr}
  .hp-steps::before{top:0;bottom:0;left:22px;right:auto;width:2px;height:auto}
  .hp-step{padding-left:64px}
  .hp-step .hp-dot{position:absolute;left:0;top:0;margin-bottom:0}
  .hp-process h2{font-size:28px}
  .hp-photo-grid{grid-template-columns:1fr}
  .hp-photo-grid img{height:230px}
  .hp-visit h2{font-size:28px}
}
