/*
 * LJB Marketing Agency — location-pages.css
 * Shared styles for Tier-2 Website Design, Local SEO, and Google Ads city pages.
 * Loaded by updated functions.php for child pages beneath:
 *   /website-design/
 *   /local-seo-services/
 *   /google-ads/
 */

/* ========================================================================== 
   PAGE SHELL
   ========================================================================== */

.ljb-location-page {
  --loc-dark: #07111f;
  --loc-dark-2: #0b1727;
  --loc-ink: var(--ljb-black-bg, #00272d);
  --loc-text: var(--ljb-black-text, #2a2b2f);
  --loc-teal: var(--ljb-teal, #00b7b9);
  --loc-white: #fff;
  --loc-soft: #f7f8f8;
  --loc-line: rgba(0,39,45,.10);
  overflow: hidden;
  background: var(--loc-white);
  color: var(--loc-text);
}

.ljb-loc-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: clamp(22px, 4vw, 54px);
  padding-right: clamp(22px, 4vw, 54px);
}

/* ========================================================================== 
   HERO
   ========================================================================== */

.ljb-loc-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(68px, 8vw, 118px) 0 clamp(72px, 8vw, 116px);
  background:
    radial-gradient(circle at 12% 20%, rgba(0,183,185,.22), transparent 34%),
    radial-gradient(circle at 88% 12%, rgba(0,28,65,.24), transparent 34%),
    linear-gradient(135deg, #07111f 0%, #0b1727 48%, #06101d 100%);
  color: var(--loc-white);
}

.ljb-loc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: .24;
}

.ljb-loc-hero::after {
  content: "";
  position: absolute;
  width: clamp(260px, 38vw, 560px);
  height: clamp(260px, 38vw, 560px);
  border-radius: 50%;
  right: -12%;
  bottom: -52%;
  z-index: -1;
  background: rgba(0,183,185,.10);
  filter: blur(2px);
  border: 1px solid rgba(255,255,255,.08);
}

.ljb-loc-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(30px, 4vw, 52px);
  color: rgba(255,255,255,.58);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.ljb-loc-breadcrumb a {
  color: rgba(255,255,255,.72);
  transition: color .2s ease;
}

.ljb-loc-breadcrumb a:hover {
  color: var(--loc-teal);
}

.ljb-loc-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
}

.ljb-loc-hero-copy {
  min-width: 0;
  max-width: 760px;
}

.ljb-loc-hero-form {
  min-width: 0;
  width: 100%;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 28px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 28px 70px rgba(0,0,0,.24);
  color: var(--loc-text);
}


.ljb-loc-form-context {
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(0,39,45,.10);
}

.ljb-loc-form-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 14px;
  padding: 7px 13px 6px;
  border: 1px solid rgba(0,183,185,.28);
  border-radius: 999px;
  background: rgba(0,183,185,.08);
  color: #009da0;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.ljb-loc-form-context h2 {
  margin: 0;
  color: var(--loc-ink);
  font-size: clamp(27px, 2.6vw, 36px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -.025em;
  text-transform: uppercase;
}

.ljb-loc-form-context > p {
  margin: 10px 0 0;
  color: rgba(42,43,47,.66);
  font-size: 14px;
  line-height: 1.55;
}

.ljb-loc-form-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
  color: var(--loc-ink);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 800;
}

.ljb-loc-form-stars {
  color: #f4b400;
  font-size: 17px;
  letter-spacing: 1px;
  line-height: 1;
}

.ljb-loc-form-rating-sep {
  color: rgba(42,43,47,.28);
  font-weight: 700;
}

.ljb-loc-hero-form .gform_wrapper,
.ljb-loc-hero-form .gform_wrapper.gravity-theme {
  margin: 0;
}

.ljb-loc-hero-form .gform_heading {
  margin-bottom: 18px;
}

.ljb-loc-hero-form .gform_title {
  margin: 0 0 6px;
  color: var(--loc-ink);
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -.02em;
}

.ljb-loc-hero-form .gform_description {
  color: rgba(42,43,47,.70);
  font-size: 14px;
  line-height: 1.55;
}

.ljb-loc-hero-form .gfield {
  margin-bottom: 14px;
}

.ljb-loc-hero-form .gfield_label,
.ljb-loc-hero-form label {
  color: var(--loc-ink);
  font-size: 13px;
  font-weight: 800;
}

.ljb-loc-hero-form input[type="text"],
.ljb-loc-hero-form input[type="email"],
.ljb-loc-hero-form input[type="tel"],
.ljb-loc-hero-form input[type="url"],
.ljb-loc-hero-form input[type="number"],
.ljb-loc-hero-form select,
.ljb-loc-hero-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(0,39,45,.14);
  border-radius: 12px;
  background: #f7f9fa;
  color: var(--loc-text);
  font: inherit;
  box-shadow: none;
}

.ljb-loc-hero-form textarea {
  min-height: 110px;
  resize: vertical;
}

.ljb-loc-hero-form input:focus,
.ljb-loc-hero-form select:focus,
.ljb-loc-hero-form textarea:focus {
  outline: 2px solid rgba(0,183,185,.25);
  outline-offset: 1px;
  border-color: var(--loc-teal);
}

.ljb-loc-hero-form .gform_footer,
.ljb-loc-hero-form .gform_page_footer {
  margin-top: 18px;
  padding: 0;
}

.ljb-loc-hero-form .gform_button,
.ljb-loc-hero-form input[type="submit"],
.ljb-loc-hero-form button[type="submit"] {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 12px;
  background: var(--loc-teal);
  color: #001f24;
  font-weight: 900;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease;
}

.ljb-loc-hero-form .gform_button:hover,
.ljb-loc-hero-form input[type="submit"]:hover,
.ljb-loc-hero-form button[type="submit"]:hover {
  transform: translateY(-1px);
  opacity: .92;
}

.ljb-loc-hero-form .gfield_validation_message,
.ljb-loc-hero-form .validation_message {
  color: #9b1c1c;
  font-size: 12px;
}

.ljb-loc-hero-form .gform_validation_errors {
  margin-bottom: 16px;
  border-radius: 12px;
}

.ljb-loc-hero .ljb-eyebrow {
  margin-bottom: 20px;
  color: var(--loc-teal);
}

.ljb-loc-hero h1 {
  max-width: 1000px;
  margin: 0;
  color: var(--loc-white);
  font-size: clamp(42px, 6vw, 78px);
  line-height: .99;
  font-weight: 900;
  letter-spacing: -.035em;
  text-transform: uppercase;
  text-wrap: balance;
}

.ljb-loc-hero-copy > p {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255,255,255,.78);
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.72;
}

.ljb-loc-hero-copy > p:first-of-type {
  margin-top: 24px;
}

.ljb-loc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* ========================================================================== 
   MAIN CONTENT
   ========================================================================== */

.ljb-loc-content {
  position: relative;
  padding: clamp(70px, 8vw, 116px) 0;
  background:
    linear-gradient(180deg, #ffffff 0%, #ffffff 72%, #f8fbfb 100%);
}

.ljb-loc-prose {
  width: 100%;
  max-width: none;
  margin: 0;
}

.ljb-loc-prose > h2 {
  margin: clamp(56px, 6vw, 78px) 0 18px;
  color: var(--loc-ink);
  font-size: clamp(30px, 3.7vw, 48px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.ljb-loc-prose > h2:first-child {
  margin-top: 0;
}

.ljb-loc-prose > h3 {
  margin: 38px 0 12px;
  color: var(--loc-ink);
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -.015em;
}

.ljb-loc-prose p {
  margin: 0 0 22px;
  color: rgba(42,43,47,.86);
  font-size: clamp(16px, 1.18vw, 18px);
  line-height: 1.82;
}

.ljb-loc-prose strong {
  color: var(--loc-ink);
  font-weight: 800;
}

.ljb-loc-prose a:not(.ljb-btn) {
  color: #008f92;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.ljb-loc-prose ul,
.ljb-loc-prose ol {
  display: grid;
  gap: 12px;
  margin: 26px 0 30px;
  padding: 0;
  list-style: none;
}

.ljb-loc-prose li {
  position: relative;
  padding-left: 28px;
  color: rgba(42,43,47,.84);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.72;
}

.ljb-loc-prose ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .72em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--loc-teal);
  box-shadow: 0 0 0 5px rgba(0,183,185,.10);
}

.ljb-loc-prose ol {
  counter-reset: loc-counter;
}

.ljb-loc-prose ol li {
  counter-increment: loc-counter;
  padding-left: 42px;
}

.ljb-loc-prose ol li::before {
  content: counter(loc-counter);
  position: absolute;
  left: 0;
  top: .05em;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--loc-ink);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

/* Make dense expertise runs easier to scan without forcing identical markup. */
.ljb-loc-prose h3 + p {
  padding-left: 18px;
  border-left: 3px solid rgba(0,183,185,.35);
}

/* ========================================================================== 
   INLINE CTA FROM IMPORTED CONTENT
   ========================================================================== */

.ljb-loc-inline-cta {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: clamp(46px, 6vw, 72px) 0;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(0,39,45,.08);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(0,183,185,.14), transparent 40%),
    #f5f9f9;
  box-shadow: 0 18px 48px rgba(0,39,45,.07);
}

.ljb-loc-inline-cta p {
  flex: 1 1 auto;
  margin: 0;
  color: var(--loc-ink);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.35;
  font-weight: 800;
}

.ljb-loc-inline-cta .ljb-btn {
  flex: 0 0 auto;
}

/* ========================================================================== 
   LIGHT CONTENT ACCENTS
   ========================================================================== */

.ljb-loc-prose blockquote {
  margin: 34px 0;
  padding: 26px 30px;
  border-left: 4px solid var(--loc-teal);
  border-radius: 0 18px 18px 0;
  background: #f6fbfb;
  color: var(--loc-ink);
}

.ljb-loc-prose hr {
  height: 1px;
  margin: 50px 0;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(0,39,45,.18), transparent);
}

/* ========================================================================== 
   SERVICE-SPECIFIC SUBTLE ACCENTS
   ========================================================================== */

.ljb-location-page--website-design .ljb-loc-hero::after {
  transform: rotate(-10deg);
  border-radius: 42% 58% 62% 38%;
}

.ljb-location-page--local-seo .ljb-loc-hero::after {
  box-shadow: inset 0 0 0 34px rgba(255,255,255,.018);
}

.ljb-location-page--google-ads .ljb-loc-hero::after {
  width: clamp(300px, 42vw, 620px);
  height: clamp(180px, 24vw, 340px);
  border-radius: 999px;
  transform: rotate(-16deg);
}

/* ========================================================================== 
   FINAL CTA
   ========================================================================== */

.ljb-loc-final-cta {
  padding: 0 clamp(22px, 4vw, 54px) clamp(72px, 8vw, 120px);
  background: #f8fbfb;
}

.ljb-loc-final-cta .ljb-loc-container {
  max-width: 1240px;
  padding-left: 0;
  padding-right: 0;
}

.ljb-loc-final-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(46px, 6vw, 76px);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% 20%, rgba(18,203,196,.18), transparent 34%),
    radial-gradient(circle at 88% 12%, rgba(0,28,65,.18), transparent 34%),
    linear-gradient(135deg, #07111f 0%, #0b1727 48%, #06101d 100%);
  box-shadow: 0 28px 90px rgba(0,0,0,.18);
  text-align: center;
}

.ljb-loc-final-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: .18;
}

.ljb-loc-kicker {
  display: block;
  margin-bottom: 14px;
  color: var(--loc-teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.ljb-loc-final-card h2 {
  max-width: 820px;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(34px, 4.5vw, 60px);
  line-height: 1.02;
  letter-spacing: -.03em;
  text-transform: uppercase;
}

.ljb-loc-final-card p {
  max-width: 720px;
  margin: 20px auto 0;
  color: rgba(255,255,255,.72);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.7;
}

.ljb-loc-final-card .ljb-btn {
  margin-top: 28px;
}

/* ========================================================================== 
   RESPONSIVE
   ========================================================================== */

@media (max-width: 900px) {
  .ljb-loc-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ljb-loc-hero-copy {
    max-width: none;
  }

  .ljb-loc-hero-form {
    max-width: 680px;
  }
}

@media (max-width: 780px) {
  .ljb-loc-hero {
    padding-top: 54px;
    padding-bottom: 68px;
  }

  .ljb-loc-breadcrumb {
    margin-bottom: 28px;
    font-size: 10px;
  }

  .ljb-loc-hero h1 {
    font-size: clamp(38px, 11vw, 56px);
  }

  .ljb-loc-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ljb-loc-hero-actions .ljb-btn {
    width: 100%;
  }

  .ljb-loc-hero-form {
    max-width: none;
    padding: 24px 20px;
    border-radius: 22px;
  }

  .ljb-loc-form-context h2 {
    font-size: 28px;
  }

  .ljb-loc-form-context {
    margin-bottom: 20px;
    padding-bottom: 18px;
  }



  .ljb-loc-inline-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .ljb-loc-inline-cta .ljb-btn {
    width: 100%;
  }

  .ljb-loc-prose > h2 {
    margin-top: 50px;
  }

  .ljb-loc-final-card {
    border-radius: 26px;
  }
}

@media (max-width: 480px) {
  .ljb-loc-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .ljb-loc-hero .ljb-eyebrow {
    font-size: 11px;
  }

  .ljb-loc-hero-copy > p {
    font-size: 15px;
  }

  .ljb-loc-prose p,
  .ljb-loc-prose li {
    font-size: 15px;
  }

  .ljb-loc-inline-cta {
    padding: 24px;
    border-radius: 22px;
  }

  .ljb-loc-final-cta {
    padding-left: 18px;
    padding-right: 18px;
  }

  .ljb-loc-final-card {
    padding: 38px 22px;
  }
}

/* ========================================================================== 
   ACCESSIBILITY / MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .ljb-location-page *,
  .ljb-location-page *::before,
  .ljb-location-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
