/*
Nebras Clinic — Local SEO Page Styles
Styles the .nebras-local-page template used on the London local landing pages.

Brand colors as specified by the client:
  Button background: #883BB0
  Button text:        #FFFFFF
  Body text:          black on white sections, white on dark/purple sections
*/

.nebras-local-page {
  --nebras-btn-bg: #883BB0;
  --nebras-btn-text: #FFFFFF;
  --nebras-btn-hover: #712F94;
  --nebras-dark: #1A1A1A;      /* near-black text on white */
  --nebras-soft: #F7F2FA;      /* soft lavender-tinted background (used below the hero) */
  --nebras-border: #E6D9EF;    /* light purple border */
  --nebras-hero-bg: #1A1A1A;   /* dark hero, matching the site's header/homepage style */
  --nebras-radius: 10px;

  max-width: 880px;
  margin: 0 auto;
  padding: 0 20px 60px;
  color: var(--nebras-dark);
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  line-height: 1.7;
  background: #FFFFFF;
}

.nebras-local-page * { box-sizing: border-box; }

/* ---------- Hero ----------
   Dark background so the site's transparent header (designed for dark
   photo backgrounds on the homepage) stays legible here too, with no
   changes needed to the global header. */
.nebras-local-page .hero-section {
  text-align: center;
  padding: 160px 20px 60px;  /* extra top padding so content clears the fixed/transparent header */
  background: var(--nebras-hero-bg);
  border-radius: var(--nebras-radius);
  margin-bottom: 40px;
}

.nebras-local-page h1 {
  font-size: 2.1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 16px;
  letter-spacing: 0.2px;
}

.nebras-local-page .hero-subtitle {
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto 28px;
  color: #E6E6E6;
}

/* ---------- Buttons ---------- */
.nebras-local-page .cta-button {
  display: inline-block;
  background: var(--nebras-btn-bg);
  color: var(--nebras-btn-text) !important;
  padding: 14px 34px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.4px;
  transition: background 0.2s ease, transform 0.15s ease;
}

.nebras-local-page .cta-button:hover {
  background: var(--nebras-btn-hover);
  transform: translateY(-1px);
}

/* ---------- Section headings ---------- */
.nebras-local-page section {
  margin: 46px 0;
}

.nebras-local-page h2 {
  font-size: 1.55rem;
  color: var(--nebras-dark);
  border-bottom: 2px solid var(--nebras-border);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.nebras-local-page h3 {
  font-size: 1.15rem;
  color: var(--nebras-btn-bg);
  margin: 20px 0 8px;
}

.nebras-local-page h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--nebras-dark);
  margin: 16px 0 4px;
}

.nebras-local-page h5 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6B6B6B;
  margin: 12px 0 2px;
}

.nebras-local-page h6 {
  font-size: 0.82rem;
  font-style: italic;
  color: #8A8A8A;
  margin: 10px 0 2px;
}

/* ---------- FAQ ---------- */
.nebras-local-page .faq > div {
  border-bottom: 1px solid var(--nebras-border);
  padding: 16px 0;
}

.nebras-local-page .faq h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--nebras-dark);
}

/* ---------- Candidacy lists ---------- */
.nebras-local-page .candidacy ul {
  padding-left: 20px;
  margin: 0 0 8px;
}

.nebras-local-page .candidacy li {
  margin-bottom: 6px;
}

/* ---------- Pricing table ---------- */
.nebras-local-page .price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 12px;
}

.nebras-local-page .price-table th,
.nebras-local-page .price-table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--nebras-border);
}

.nebras-local-page .price-table th {
  background: var(--nebras-soft);
  font-weight: 600;
}

.nebras-local-page .price-table td:last-child,
.nebras-local-page .price-table th:last-child {
  text-align: right;
  color: var(--nebras-btn-bg);
  font-weight: 600;
}

/* ---------- Why choose us ---------- */
.nebras-local-page .why-choose-us h3 {
  position: relative;
  padding-left: 22px;
}

.nebras-local-page .why-choose-us h3::before {
  content: "\2726";
  position: absolute;
  left: 0;
  color: var(--nebras-btn-bg);
  font-size: 1rem;
}

/* ---------- Location info ---------- */
.nebras-local-page .location-info {
  background: var(--nebras-soft);
  border-radius: var(--nebras-radius);
  padding: 28px 32px;
}

.nebras-local-page .location-info h4:first-child {
  margin-top: 0;
}

.nebras-local-page .location-info a {
  color: var(--nebras-btn-bg);
  font-weight: 600;
  text-decoration: none;
}

/* ---------- Related services ---------- */
.nebras-local-page .related-services ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.nebras-local-page .related-services li a {
  display: inline-block;
  padding: 10px 18px;
  background: #fff;
  border: 1px solid var(--nebras-border);
  border-radius: 999px;
  text-decoration: none;
  color: var(--nebras-btn-bg);
  font-size: 0.9rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nebras-local-page .related-services li a:hover {
  border-color: var(--nebras-btn-bg);
  background: var(--nebras-soft);
}

/* ---------- Footer CTA ---------- */
.nebras-local-page .page-cta {
  text-align: center;
  background: var(--nebras-dark);
  color: #FFFFFF;
  border-radius: var(--nebras-radius);
  padding: 44px 24px;
}

.nebras-local-page .page-cta h2 {
  color: #FFFFFF;
  border-bottom: none;
  margin-bottom: 10px;
}

.nebras-local-page .page-cta p {
  margin-bottom: 22px;
  color: #E6E6E6;
}

.nebras-local-page .page-cta a.cta-button {
  color: var(--nebras-btn-text) !important;
}

/* ---------- Mobile ---------- */
@media (max-width: 600px) {
  .nebras-local-page h1 { font-size: 1.6rem; }
  .nebras-local-page .hero-section { padding: 40px 16px 28px; }
  .nebras-local-page .price-table th,
  .nebras-local-page .price-table td { padding: 8px 10px; font-size: 0.9rem; }
}
