:root {
  --ocean-deep: #0a2540;
  --ocean-teal: #00798c;
  --ocean-soft: #2a9d8f;
  --ocean-foam: #d1f0ea;
  --ocean-sand: #f4f9f9;
  --text-dark: #1e293b;
  --text-muted: #475569;
  --white: #ffffff;
  --font-main: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.med-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 5%;
}

/* Header */
.ortho-nav-bar {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  z-index: 1000;
  border-bottom: 1px solid var(--ocean-foam);
}

.nav-bounds {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-cluster {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ocean-deep);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
}

.primary-links {
  display: flex;
  gap: 2rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ocean-deep);
}

.primary-links a:hover {
  color: var(--ocean-soft);
}

.nav-action-btn {
  background: var(--ocean-teal);
  color: var(--white);
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.3s ease;
}

.nav-action-btn:hover {
  background: var(--ocean-deep);
  color: var(--white);
}

/* Hero */
.pt-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 85vh;
  background: var(--ocean-sand);
}

.hero-text-pane {
  padding: 8rem 5% 4rem 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.premium-badge {
  background: var(--ocean-foam);
  color: var(--ocean-teal);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1.1;
  color: var(--ocean-deep);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 480px;
}

.process-micro {
  background: var(--white);
  padding: 1.5rem;
  border-left: 4px solid var(--ocean-soft);
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.process-micro strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--ocean-deep);
}

.process-micro ol {
  margin-left: 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.process-micro li {
  margin-bottom: 0.25rem;
}

.action-trigger-btn {
  background: var(--ocean-deep);
  color: var(--white);
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 4px;
  box-shadow: 0 10px 25px rgba(10, 37, 64, 0.2);
}

.action-trigger-btn:hover {
  background: var(--ocean-teal);
  color: var(--white);
}

.hero-visual-pane img {
  height: 100%;
}

/* About / Origins */
.clinic-origins {
  padding: 7rem 5%;
  background: var(--white);
}

.origins-layout {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  align-items: center;
}

.origins-content {
  flex: 1 1 500px;
}

.origins-content h2 {
  font-size: 2.5rem;
  color: var(--ocean-deep);
  margin-bottom: 1.5rem;
}

.origins-content p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.inline-ref {
  color: var(--ocean-teal);
  font-weight: 600;
  border-bottom: 1px dotted var(--ocean-teal);
}

.inline-ref:hover {
  color: var(--ocean-deep);
  border-bottom-style: solid;
}

.stats-ribbon {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--ocean-foam);
}

.stat-block {
  display: flex;
  flex-direction: column;
}

.stat-val {
  font-size: 3rem;
  font-weight: 800;
  color: var(--ocean-teal);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.5rem;
}

.origins-image {
  flex: 1 1 400px;
}

.origins-image img {
  border-radius: 8px;
  box-shadow: -20px 20px 0 var(--ocean-foam);
}

/* Patient Stories */
.patient-stories {
  background: var(--ocean-deep);
  color: var(--white);
  padding: 6rem 0;
}

.patient-stories h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 4rem;
  color: var(--ocean-foam);
}

.stories-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.story-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2.5rem 2rem;
  border-radius: 8px;
  flex: 1 1 280px;
  max-width: 400px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.patient-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  border: 2px solid var(--ocean-soft);
}

.story-card blockquote {
  font-size: 1.05rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.story-card cite {
  font-weight: 600;
  color: var(--ocean-foam);
}

/* Specializations */
.rehab-focus-areas {
  padding: 8rem 0;
  background: var(--ocean-sand);
}

.focus-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 5rem;
}

.focus-intro h2 {
  font-size: 2.5rem;
  color: var(--ocean-deep);
  margin-bottom: 1rem;
}

.focus-intro p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.focus-module {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  transition: transform 0.3s ease;
}

.focus-module:hover {
  transform: translateY(-5px);
}

.focus-module img {
  height: 240px;
}

.focus-body {
  padding: 2.5rem 2rem;
}

.focus-body h3 {
  font-size: 1.4rem;
  color: var(--ocean-deep);
  margin-bottom: 1rem;
}

.focus-body p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.benefit-list {
  list-style: none;
}

.benefit-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--ocean-teal);
  font-weight: 600;
}

.benefit-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--ocean-deep);
}

/* Contact */
.recovery-inquiry {
  padding: 6rem 0;
  background: var(--white);
}

.inquiry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.inquiry-info h2 {
  font-size: 2.5rem;
  color: var(--ocean-deep);
  margin-bottom: 1rem;
}

.inquiry-info p {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
}

.clinic-hours {
  background: var(--ocean-sand);
  padding: 2rem;
  border-radius: 8px;
}

.clinic-hours strong {
  color: var(--ocean-deep);
  display: block;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.clinic-hours ul {
  list-style: none;
  color: var(--text-muted);
}

.clinic-hours li {
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--ocean-foam);
  padding-bottom: 0.5rem;
}

.ortho-form {
  background: var(--white);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
  border: 1px solid var(--ocean-foam);
}

.input-group {
  margin-bottom: 1.5rem;
}

.input-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ocean-deep);
  margin-bottom: 0.5rem;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.input-group input:focus,
.input-group textarea:focus {
  outline: none;
  border-color: var(--ocean-teal);
}

.submit-inquiry {
  width: 100%;
  background: var(--ocean-teal);
  color: var(--white);
  padding: 1rem;
  border: none;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.submit-inquiry:hover {
  background: var(--ocean-deep);
}

/* Footer */
.ortho-footer {
  background: var(--ocean-deep);
  color: var(--ocean-sand);
  padding: 5rem 0 2rem;
}

.footer-parts {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.logo-mark-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.insurance-noise {
  font-size: 0.8rem;
  color: #94a3b8;
  max-width: 350px;
  line-height: 1.6;
}

.foot-contacts p {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: #cbd5e1;
}

.foot-contacts a {
  color: var(--ocean-foam);
}

.foot-contacts a:hover {
  text-decoration: underline;
}

.foot-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.foot-links a {
  color: #cbd5e1;
  font-size: 0.95rem;
}

.foot-links a:hover {
  color: var(--white);
}

.foot-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
  color: #64748b;
}

/* Legal Pages */
.legal-wrap {
  max-width: 800px;
  margin: 120px auto 80px;
  padding: 0 5%;
}

.legal-wrap h1 {
  color: var(--ocean-deep);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.legal-wrap p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 992px) {
  .pt-hero-split {
    grid-template-columns: 1fr;
  }
  .hero-text-pane {
    padding: 6rem 5% 4rem;
  }
  .hero-visual-pane img {
    height: 400px;
  }
  .inquiry-grid {
    grid-template-columns: 1fr;
  }
  .footer-parts {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .primary-links {
    display: none;
  }
  .footer-parts {
    grid-template-columns: 1fr;
  }
  .origins-layout {
    gap: 2rem;
  }
  .stats-ribbon {
    flex-direction: column;
    gap: 1.5rem;
  }
}
