/*==========================================================
  RALA Digital Hub — SEO Landing / Service Page Styles
  Extends css/style.css (inherits :root variables)
  Used by all location + service pages
==========================================================*/

/*--- Breadcrumb ------------------------------------------*/
.breadcrumb-bar {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  margin-top: 80px;
}
.breadcrumb-bar ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-light);
}
.breadcrumb-bar li { display: flex; align-items: center; gap: 8px; }
.breadcrumb-bar li + li::before {
  content: "\203A";
  color: var(--text-lighter);
  font-size: 15px;
}
.breadcrumb-bar a { color: var(--text-light); text-decoration: none; transition: color .2s var(--ease); }
.breadcrumb-bar a:hover { color: var(--primary); }
.breadcrumb-bar li[aria-current] { color: var(--text-dark); font-weight: 600; }

/*--- Page Hero -------------------------------------------*/
.page-hero {
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 55%, #1d4ed8 140%);
  color: #fff;
  padding: 70px 0 78px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  top: -180px; right: -140px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(59,130,246,.32) 0%, transparent 68%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .eyebrow {
  display: inline-block;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #bfdbfe;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.page-hero h1 {
  /* style.css colours all h1-h6 with var(--text-dark). An explicit rule on the
     element beats colour inherited from .page-hero, so the heading must set
     white itself or it renders near-black on the dark hero. */
  color: #fff;
  font-size: 43px;
  line-height: 1.16;
  font-weight: 800;
  margin: 0 0 20px;
  max-width: 900px;
  letter-spacing: -.7px;
}
.page-hero h1 span { color: #60a5fa; }
.page-hero .lead {
  font-size: 17.5px;
  line-height: 1.72;
  color: #cbd5e1;
  max-width: 780px;
  margin-bottom: 30px;
}
.page-hero .hero-btns { margin-bottom: 34px; }
.page-hero .btn-outline-custom { border-color: rgba(255,255,255,.38); color: #fff; }
.page-hero .btn-outline-custom:hover { background: #fff; color: var(--navy); border-color: #fff; }

/*--- Hero proof strip ------------------------------------*/
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.hero-proof div { display: flex; flex-direction: column; }
.hero-proof strong {
  font-size: 27px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}
.hero-proof span {
  font-size: 12.5px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-top: 5px;
}

/*--- Generic section shell -------------------------------*/
.seo-section { padding: 76px 0; }
.seo-section.alt { background: var(--bg-soft); }
.seo-section > .container > .section-tag { margin-bottom: 14px; }

.seo-head { max-width: 820px; margin-bottom: 46px; }
.seo-head h2 {
  font-size: 33px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.24;
  margin: 0 0 16px;
  letter-spacing: -.5px;
}
.seo-head h2 .highlight { color: var(--primary); }
.seo-head p { font-size: 16.5px; line-height: 1.8; color: var(--text); margin: 0; }

.seo-prose p {
  font-size: 16.5px;
  line-height: 1.86;
  color: var(--text);
  margin-bottom: 20px;
}
.seo-prose h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 40px 0 16px;
  letter-spacing: -.2px;
}
.seo-prose strong { color: var(--text-dark); font-weight: 600; }
.seo-prose a { color: var(--primary); text-decoration: none; font-weight: 500; }
.seo-prose a:hover { text-decoration: underline; }
.seo-prose ul { padding-left: 0; list-style: none; margin: 0 0 24px; }
.seo-prose ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.74;
  color: var(--text);
}
.seo-prose ul li::before {
  content: "\f00c";
  font-family: FontAwesome;
  position: absolute;
  left: 0; top: 1px;
  color: var(--green);
  font-size: 13.5px;
}

/*--- Feature / service cards -----------------------------*/
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
  height: 100%;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.feature-card .fc-icon {
  width: 50px; height: 50px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: #eff6ff;
  color: var(--primary);
  font-size: 21px;
  margin-bottom: 18px;
}
.feature-card .fc-icon.green  { background: var(--green-bg);  color: var(--green); }
.feature-card .fc-icon.purple { background: var(--purple-bg); color: var(--purple); }
.feature-card .fc-icon.orange { background: var(--orange-bg); color: var(--orange); }
.feature-card .fc-icon.teal   { background: var(--teal-bg);   color: var(--teal); }
.feature-card .fc-icon.red    { background: var(--red-bg);    color: var(--red); }
.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 10px;
}
.feature-card p { font-size: 14.8px; line-height: 1.74; color: var(--text-light); margin: 0; }

/*--- Numbered process steps ------------------------------*/
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.process-step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
}
.process-step .step-num {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.process-step h3 { font-size: 17px; font-weight: 700; color: var(--text-dark); margin: 0 0 9px; }
.process-step p { font-size: 14.5px; line-height: 1.7; color: var(--text-light); margin: 0; }

/*--- Tech stack chips ------------------------------------*/
.stack-chips { display: flex; flex-wrap: wrap; gap: 11px; }
.stack-chips span {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 9px 19px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: all .22s var(--ease);
}
.stack-chips span:hover { border-color: var(--primary); color: var(--primary); }

/*--- Areas served grid -----------------------------------*/
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 11px;
}
.areas-grid a, .areas-grid span {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 14.2px;
  color: var(--text);
  text-decoration: none;
  transition: all .22s var(--ease);
}
.areas-grid a:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #eff6ff;
  transform: translateY(-2px);
}
.areas-grid i { color: var(--primary); margin-right: 8px; font-size: 13px; }

/*--- Comparison / why-us table ---------------------------*/
.seo-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.seo-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 620px;
}
.seo-table th {
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  padding: 16px 20px;
  letter-spacing: .2px;
}
.seo-table td {
  padding: 15px 20px;
  font-size: 14.8px;
  color: var(--text);
  border-top: 1px solid var(--border);
  line-height: 1.65;
}
.seo-table tbody tr:nth-child(even) { background: var(--bg-soft); }
.seo-table td:first-child { font-weight: 600; color: var(--text-dark); }

/*--- FAQ accordion ---------------------------------------*/
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.faq-item.open { box-shadow: var(--shadow-md); border-color: #bfdbfe; }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 20px 54px 20px 24px;
  font-size: 16.2px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  position: relative;
  line-height: 1.55;
  font-family: inherit;
}
.faq-q::after {
  content: "\f107";
  font-family: FontAwesome;
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 18px;
  transition: transform .28s var(--ease);
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .34s var(--ease);
}
.faq-a-inner {
  padding: 0 24px 22px;
  font-size: 15.4px;
  line-height: 1.82;
  color: var(--text);
}
.faq-a-inner p { margin: 0 0 12px; }
.faq-a-inner p:last-child { margin-bottom: 0; }
.faq-a-inner a { color: var(--primary); text-decoration: none; font-weight: 500; }
.faq-a-inner a:hover { text-decoration: underline; }

/*--- CTA band --------------------------------------------*/
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 62px 0;
  text-align: center;
}
.cta-band h2 {
  /* Same reason as .page-hero h1 — must override the global heading colour. */
  color: #fff;
  font-size: 31px;
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: -.4px;
}
.cta-band p {
  font-size: 16.5px;
  color: #cbd5e1;
  max-width: 640px;
  margin: 0 auto 28px;
  line-height: 1.74;
}
.cta-band .btn-outline-custom { border-color: rgba(255,255,255,.42); color: #fff; }
.cta-band .btn-outline-custom:hover { background: #fff; color: var(--navy); border-color: #fff; }
.cta-phone {
  margin-top: 22px;
  font-size: 14.5px;
  color: #94a3b8;
}
.cta-phone a { color: #fff; font-weight: 600; text-decoration: none; }
.cta-phone a:hover { text-decoration: underline; }

/*--- Related / internal link cards -----------------------*/
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  text-decoration: none;
  transition: all .26s var(--ease);
}
.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.related-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 8px;
}
.related-card p { font-size: 14.2px; color: var(--text-light); line-height: 1.68; margin: 0 0 12px; }
.related-card .rc-link { font-size: 13.8px; font-weight: 600; color: var(--primary); }
.related-card .rc-link i { margin-left: 5px; font-size: 12px; }

/*--- Local NAP block -------------------------------------*/
.nap-block {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 26px 28px;
}
.nap-block h3 { font-size: 18px; font-weight: 700; color: var(--text-dark); margin: 0 0 14px; }
.nap-block p { font-size: 15.2px; line-height: 1.82; color: var(--text); margin: 0 0 10px; }
.nap-block p i { color: var(--primary); width: 20px; }
.nap-block a { color: var(--text); text-decoration: none; }
.nap-block a:hover { color: var(--primary); }

/*--- Responsive ------------------------------------------*/
@media (max-width: 991px) {
  .feature-grid  { grid-template-columns: repeat(2, 1fr); }
  .process-grid  { grid-template-columns: repeat(2, 1fr); }
  .related-grid  { grid-template-columns: repeat(2, 1fr); }
  .page-hero h1  { font-size: 35px; }
  .seo-head h2   { font-size: 28px; }
}

@media (max-width: 767px) {
  .breadcrumb-bar { margin-top: 62px; padding: 11px 0; }
  .breadcrumb-bar ol { font-size: 12px; }
  .page-hero { padding: 46px 0 52px; }
  .page-hero h1 { font-size: 28px; letter-spacing: -.3px; }
  .page-hero .lead { font-size: 15.8px; }
  .hero-proof { gap: 18px 28px; }
  .hero-proof strong { font-size: 22px; }
  .seo-section { padding: 52px 0; }
  .seo-head { margin-bottom: 32px; }
  .seo-head h2 { font-size: 24px; }
  .seo-head p, .seo-prose p { font-size: 15.6px; }
  .feature-grid, .process-grid, .related-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .faq-q { font-size: 15.2px; padding: 17px 46px 17px 18px; }
  .faq-a-inner { padding: 0 18px 18px; font-size: 14.8px; }
  .cta-band { padding: 46px 0; }
  .cta-band h2 { font-size: 24px; }
  .cta-band p { font-size: 15.4px; }
  .nap-block { padding: 22px; }
}
