/* ==========================================================================
   Nebraska Physiotherapy — Brand Stylesheet
   Per brand kit: Montserrat 400/600, Black #000000, White #FFFFFF
   ========================================================================== */

:root {
  --black: #000000;
  --ink: #111111;
  --charcoal: #1a1a1a;
  --gray-900: #2c2c2c;
  --gray-700: #4a4a4a;
  --muted: #6B6B6B;
  --gray-300: #D9D9D9;
  --border: #E6E6E6;
  --gray-100: #F0F0F0;
  --bg: #FFFFFF;
  --bg-alt: #FAFAFA;
  --red: #E1262E;
  --red-dark: #B81E25;
  --radius: 4px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
  --max-width: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  color: var(--charcoal);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  color: var(--black);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--black); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.15s ease; }
a:hover { border-bottom-color: var(--black); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5rem 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--black); color: #E5E5E5; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark a { color: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.85rem;
}
.section--dark .eyebrow { color: var(--red); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.95rem 1.8rem;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn-outline:hover {
  background: var(--black);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-ghost:hover {
  background: #fff;
  color: var(--black);
}
.btn:hover { border-bottom-color: currentColor; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--black);
  border-bottom: 0;
}
.logo:hover { border-bottom: 0; }
.logo-mark {
  width: 30px;
  height: 44px;
  display: block;
  object-fit: contain;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-text-name {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black);
}
.logo-text-tag {
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-top: 4px;
}
.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2.25rem;
  align-items: center;
}
.nav-links a {
  color: var(--charcoal);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 0;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { margin-left: 1rem; }
.nav-cta a::after { display: none; }
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  margin: 5px 0;
  transition: 0.3s;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: var(--black);
  color: #fff;
  overflow: hidden;
  padding: 6rem 0 5.5rem;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -120px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -100px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}
.hero h1 { color: #fff; }
.hero .eyebrow { color: #fff; opacity: 0.7; }
.hero-lede {
  font-size: 1.1rem;
  color: #cccccc;
  max-width: 560px;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}
.hero-ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.hero-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 2rem;
  backdrop-filter: blur(10px);
}
.hero-panel h3 {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero-stat {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-stat:first-of-type { border-top: 0; padding-top: 0; }
.hero-stat-num {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  line-height: 1;
  flex-shrink: 0;
  width: 32px;
  letter-spacing: 0.02em;
}
.hero-stat-body strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}
.hero-stat-body span { color: #999; font-size: 0.85rem; }

.page-hero {
  background: var(--black);
  color: #fff;
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.page-hero .container { position: relative; z-index: 2; max-width: 800px; }
.page-hero h1 { color: #fff; margin-bottom: 0.6rem; }
.page-hero p { color: #c8c8c8; font-size: 1.1rem; max-width: 640px; margin: 0; line-height: 1.7; }
.page-hero .eyebrow { color: #fff; opacity: 0.7; }

/* ==========================================================================
   Cards / Grids
   ========================================================================== */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.85rem;
  transition: all 0.25s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--charcoal);
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--muted); margin-bottom: 0; font-size: 0.95rem; }

.icon {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  background: var(--black);
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}
.icon svg { width: 22px; height: 22px; }

/* Service channel callouts */
.channel-card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 2.25rem;
}
.channel-card h3 { font-size: 1.3rem; }
.channel-card ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.channel-card li { margin-bottom: 0.5rem; }

/* Why-choose-us features */
.feature {
  text-align: center;
  padding: 1rem;
}
.feature .icon {
  margin: 0 auto 1.25rem;
  width: 56px; height: 56px;
}
.feature .icon svg { width: 26px; height: 26px; }

/* Testimonials */
.testimonial {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.testimonial-quote {
  color: var(--charcoal);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
  position: relative;
  padding-left: 1.25rem;
  border-left: 3px solid var(--red);
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: auto;
}
.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--black);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}
.testimonial-author strong {
  display: block;
  color: var(--black);
  font-size: 0.95rem;
  font-weight: 600;
}
.testimonial-author span { color: var(--muted); font-size: 0.85rem; }

/* Testimonial placeholder panel */
.testimonial-placeholder {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.testimonial-placeholder h2 { margin-bottom: 1rem; }
.testimonial-placeholder p {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 1.75rem;
  font-size: 1.02rem;
  line-height: 1.7;
}

/* CTA banner */
.cta-banner {
  background: var(--black);
  color: #fff;
  text-align: center;
  padding: 4rem 1.5rem;
}
.cta-banner h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(255,255,255,0.75); max-width: 620px; margin: 0 auto 1.75rem; }

/* ==========================================================================
   Team
   ========================================================================== */
.team-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
}
.team-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--black);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.team-body { padding: 1.75rem; }
.team-body h3 { margin-bottom: 0.2rem; font-size: 1.2rem; }
.team-role {
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.team-body p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0; }

/* ==========================================================================
   Services list (focus-grid)
   ========================================================================== */
.focus-grid { grid-template-columns: repeat(3, 1fr); }
.focus-item {
  background: #fff;
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.2s ease;
}
.focus-item:hover {
  border-color: var(--black);
  transform: translateY(-2px);
}
.focus-item .icon {
  width: 38px; height: 38px;
  margin-bottom: 0.9rem;
}
.focus-item .icon svg { width: 19px; height: 19px; }
.focus-item h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.focus-item p { color: var(--muted); font-size: 0.92rem; margin: 0; }

.payment-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.payment-list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  color: var(--charcoal);
}
.payment-list li:last-child { border-bottom: 0; }
.payment-list li::before {
  content: '';
  display: block;
  width: 8px; height: 8px;
  background: var(--red);
  flex-shrink: 0;
  margin-top: 8px;
}

/* ==========================================================================
   About page
   ========================================================================== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.two-col .visual {
  background: var(--black);
  color: #fff;
  padding: 3rem 2.5rem;
  border-radius: var(--radius);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.two-col .visual h3 { color: #fff; font-size: 1.3rem; margin-bottom: 1.25rem; }
.two-col .visual p { color: rgba(255,255,255,0.85); margin: 0 0 0.6rem; font-size: 0.98rem; }
.two-col .visual p:last-child { margin-bottom: 0; }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
}
.contact-info {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-item:last-of-type { border-bottom: 0; padding-bottom: 0; }
.contact-item:first-of-type { padding-top: 0; }
.contact-item .icon {
  margin-bottom: 0;
  width: 38px; height: 38px;
  flex-shrink: 0;
}
.contact-item .icon svg { width: 19px; height: 19px; }
.contact-item strong {
  display: block;
  color: var(--black);
  margin-bottom: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.contact-item a, .contact-item span { color: var(--charcoal); font-size: 0.95rem; }
.contact-item a:hover { border-bottom-color: var(--black); }

form .field { margin-bottom: 1.35rem; }
form label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 0.45rem;
}
form input, form textarea, form select {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  color: var(--charcoal);
  background: #fff;
  transition: border-color 0.15s ease;
}
form input:focus, form textarea:focus, form select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(225, 38, 46, 0.15);
}
form textarea { min-height: 150px; resize: vertical; }

.map-wrap {
  margin-top: 3rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
  filter: grayscale(100%);
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.4rem 0;
}
.faq-item:last-child { border-bottom: 0; }
.faq-item h3 { font-size: 1.05rem; margin-bottom: 0.4rem; color: var(--black); }
.faq-item p { color: var(--muted); margin: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--black);
  color: #B5B5B5;
  padding: 4rem 0 1.75rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.25rem;
  margin-bottom: 2.75rem;
}
.footer-grid h4 {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 1.1rem;
}
.footer-grid a {
  color: #B5B5B5;
  font-size: 0.92rem;
  border-bottom: 0;
}
.footer-grid a:hover { color: #fff; border-bottom: 0; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.6rem; }
.footer-grid p { color: #999; font-size: 0.92rem; margin-bottom: 0.5rem; line-height: 1.7; }
.footer-brand .logo { color: #fff; }
.footer-brand .logo-text-name { color: #fff; }
.footer-brand .logo-text-tag { color: #999; }
.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid #333;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: #777;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .focus-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 2.25rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 3.25rem 0; }
  .hero { padding: 4rem 0; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 1.5rem 1.25rem;
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links li {
    width: 100%;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-links li:last-child { border-bottom: 0; }
  .nav-cta { margin-left: 0; margin-top: 0.5rem; width: 100%; }
  .nav-cta .btn { width: 100%; }
  .menu-toggle { display: block; }
  .grid-3, .grid-2, .focus-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
  .logo-text-tag { display: none; }
}
