/**
 * Treatment landing pages – redesign v2
 * Matches homepage aesthetic: white/light backgrounds, subtle borders,
 * clean typography, teal accents on borders not backgrounds
 * Scoped to .landing-heel
 */

/* ----- Layout reset ----- */
.landing-heel {
  max-width: 1024px;
  width: 100%;
  padding: 0 15px 40px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* ----- Breadcrumb ----- */
.landing-heel .subpage__breadcrumb {
  font-size: 0.9rem;
  color: #666;
  margin: 20px 0 12px;
  padding: 0;
}

.landing-heel .subpage__breadcrumb a {
  color: #00B4B4;
}

.landing-heel .subpage__breadcrumb .current {
  color: #2C0089;
  font-weight: 500;
}

/* ----- Hero: mirrors homepage hero layout ----- */
.landing-heel .landing-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  padding: 30px 0;
}

.landing-heel .landing-hero-inner {
  flex: 1 1 340px;
  text-align: center;
}

.landing-heel .landing-hero h1 {
  color: #2C0089;
  font-weight: 300;
  font-size: clamp(1.6rem, 4vw, 2rem);
  line-height: 1.2;
  margin: 0 0 12px;
}

.landing-heel .landing-hero h1 strong {
  font-weight: 600;
}

.landing-heel .landing-hero .landing-hero-subtitle {
  color: #444;
  font-weight: 300;
  font-size: 1.1rem;
  line-height: 1.5;
  margin: 0 0 20px;
}

.landing-heel .landing-hero .landing-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.landing-heel .landing-hero-image {
  flex: 1 1 340px;
}

.landing-heel .landing-hero-image img {
  width: 100%;
  border-radius: 10px;
}

@media (max-width: 700px) {
  .landing-heel .landing-hero {
    flex-direction: column;
    text-align: center;
  }
  .landing-heel .landing-hero .landing-ctas {
    justify-content: center;
  }
}

/* ----- Section titles: consistent with homepage h2 style ----- */
.landing-heel .landing-section-title {
  color: #2C0089;
  font-weight: 400;
  font-size: 1.5rem;
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(0, 180, 180, 0.2);
}

/* ----- Text sections: intro, benefits, location ----- */
.landing-heel .landing-section {
  padding: 30px 0;
  margin: 0;
}

.landing-heel .landing-section p {
  color: #333;
  font-size: 1rem;
  line-height: 1.65;
  margin: 0 0 12px;
  max-width: 72ch;
}

.landing-heel .landing-section p:last-child {
  margin-bottom: 0;
}

.landing-heel .landing-section a {
  color: #00B4B4;
  font-weight: 500;
}

.landing-heel .landing-section a:hover {
  text-decoration: underline;
}

/* ----- Lead image ----- */
.landing-heel .landing-figure {
  margin: 0 0 30px;
}

.landing-heel .landing-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  border: 2px solid rgba(0, 180, 180, 0.25);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

/* ----- Services: cards matching homepage treatment-card style ----- */
.landing-heel .landing-services {
  padding: 30px 0;
}

.landing-heel .landing-services .landing-section-title {
  text-align: center;
  margin-bottom: 24px;
}

.landing-heel .landing-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  justify-items: center;
}

/* Centre a lone orphan card on the last row */
.landing-heel .landing-services-grid > :last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: 340px;
}

.landing-heel .landing-service-card {
  background: #fff;
  border: 2px solid #e8f7f7;
  border-radius: 10px;
  padding: 24px 20px;
  text-align: center;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.landing-heel .landing-service-card:hover {
  border-color: #00B4B4;
  box-shadow: 0 4px 16px rgba(0, 180, 180, 0.15);
  transform: translateY(-3px);
  text-decoration: none;
}

.landing-heel .landing-service-card h3 {
  color: #2C0089;
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 8px;
}

.landing-heel .landing-service-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
  max-width: none;
}

.landing-heel .landing-service-card .landing-card-meta {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 500;
  color: #00B4B4;
  margin-bottom: 8px;
}

.landing-heel .landing-service-card a {
  color: #00B4B4;
  font-weight: 500;
}

/* ----- What to expect / Why choose: matches homepage w2e-section ----- */
.landing-heel .landing-why {
  background: #f9f9f9;
  border-top: 3px solid #00B4B4;
  border-bottom: 3px solid #00B4B4;
  padding: 40px 15px;
  margin: 0 -15px 30px;
  box-sizing: border-box;
}

.landing-heel .landing-why .landing-inner {
  max-width: 1024px;
  margin: 0 auto;
}

.landing-heel .landing-why .landing-section-title {
  text-align: center;
  border-bottom: none;
  margin-bottom: 24px;
}

.landing-heel .landing-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  justify-items: center;
}

.landing-heel .landing-why-grid > :last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: 340px;
}

.landing-heel .landing-why-card {
  background: #fff;
  border-radius: 10px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.25s;
}

.landing-heel .landing-why-card:hover {
  box-shadow: 0 4px 16px rgba(0, 180, 180, 0.15);
}

.landing-heel .landing-why-card h3 {
  color: #2C0089;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 8px;
}

.landing-heel .landing-why-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
  max-width: none;
}

/* ----- Feature list (benefits, location) ----- */
.landing-heel .landing-feature-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 20px 24px;
  background: #f9f9f9;
  border-left: 5px solid #00B4B4;
  border-radius: 0 10px 10px 0;
}

.landing-heel .landing-feature-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
  color: #333;
  font-size: 1rem;
  line-height: 1.55;
}

.landing-heel .landing-feature-list li:last-child {
  margin-bottom: 0;
}

.landing-heel .landing-feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300B4B4'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

.landing-heel .landing-feature-list a {
  color: #00B4B4;
  font-weight: 500;
}

/* ----- FAQ: clean cards on light bg, matching homepage style ----- */
.landing-heel .landing-faq {
  padding: 30px 0;
}

.landing-heel .landing-faq .landing-section-title {
  margin-bottom: 20px;
}

.landing-heel .landing-faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 700px;
}

.landing-heel .landing-faq-item {
  background: #fff;
  border: 2px solid #e8f7f7;
  border-left: 5px solid #00B4B4;
  padding: 20px 24px;
  border-radius: 0 10px 10px 0;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.landing-heel .landing-faq-item:hover {
  border-color: #00B4B4;
  box-shadow: 0 2px 12px rgba(0, 180, 180, 0.1);
}

.landing-heel .landing-faq-item h3 {
  color: #2C0089;
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 8px;
}

.landing-heel .landing-faq-item p {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.landing-heel .landing-faq-item a {
  color: #00B4B4;
  font-weight: 500;
}

/* ----- Related treatments: matches homepage treatment-card grid ----- */
.landing-heel .landing-related {
  padding: 30px 0;
}

.landing-heel .landing-related .landing-section-title {
  margin-bottom: 12px;
}

.landing-heel .landing-related > .landing-inner > p {
  margin-bottom: 20px;
}

.landing-heel .landing-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  justify-items: center;
}

.landing-heel .landing-related-grid > :last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: 300px;
}

.landing-heel .landing-related-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 2px solid #e8f7f7;
  border-radius: 10px;
  padding: 24px 20px;
  text-align: center;
  text-decoration: none;
  color: #1a1a1a;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.landing-heel .landing-related-card:hover {
  border-color: #00B4B4;
  box-shadow: 0 4px 16px rgba(0, 180, 180, 0.15);
  transform: translateY(-3px);
  text-decoration: none;
}

.landing-heel .landing-related-card h3 {
  color: #2C0089;
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 8px;
}

.landing-heel .landing-related-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
  max-width: none;
}

/* ----- Final CTA: matches homepage hero-style, light bg ----- */
.landing-heel .landing-cta-block {
  text-align: center;
  padding: 36px 24px;
  margin-top: 10px;
  background: linear-gradient(135deg, #e8f7f7 0%, #f0fbfb 100%);
  border: 2px solid #00B4B4;
  border-radius: 12px;
}

.landing-heel .landing-cta-block h2 {
  color: #2C0089;
  font-weight: 500;
  font-size: 1.5rem;
  margin: 0 0 12px;
  border: none;
  padding: 0;
}

.landing-heel .landing-cta-block p {
  color: #444;
  margin: 0 0 20px;
  font-size: 1rem;
  max-width: none;
}

.landing-heel .landing-cta-block .landing-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Inner containers: no longer need heavy padding */
.landing-heel .landing-inner {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

/* ----- Mobile adjustments ----- */
@media (max-width: 600px) {
  .landing-heel {
    padding-left: 15px;
    padding-right: 15px;
  }
  .landing-heel .landing-why {
    margin-left: -15px;
    margin-right: -15px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .landing-heel .landing-section {
    padding: 24px 0;
  }
  .landing-heel .landing-faq-item {
    padding: 16px 18px;
  }
  .landing-heel .landing-service-card {
    padding: 18px 16px;
  }
}
