/* PrimeX Media — Page-specific styles: /locations */

.primex-content {
  --pmx-purple: #9333ea;
    --pmx-purple-dark: #7e22ce;
    --pmx-purple-light: #a855f7;
    --pmx-purple-glow: rgba(147, 51, 234, 0.4);
    --pmx-bg: #000000;
    --pmx-bg-elevated: #0a0a0a;
    --pmx-bg-card: #0f0f0f;
    --pmx-bg-section: #050505;
    --pmx-text-main: #ffffff;
    --pmx-text-muted: #a1a1aa;
    --pmx-text-subtle: #71717a;
    --pmx-border: #222222;
    --pmx-border-light: #333333;
    --transition: 0.3s ease;
    --radius: 1rem;
    --radius-lg: 1.5rem;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.7);
    --shadow-purple: 0 16px 32px rgba(147, 51, 234, 0.3);
    --gradient-purple: linear-gradient(135deg, var(--pmx-purple), var(--pmx-purple-dark));
}

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

.primex-content html, .primex-content body {
  overflow-x: hidden;
    width: 100%;
}

.primex-content body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--pmx-bg);
    color: var(--pmx-text-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

#primex-locations-page-wrapper {
  width: 100%;
}

.container {
  max-width: 1400px; margin: 0 auto; padding: 0 2rem;
}

.grid {
  display: grid; gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 450px), 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.hero {
  position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10rem 0 8rem;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.15) 0%, rgba(0, 0, 0, 0.95) 100%);
    text-align: center;
}

.hero::before {
  content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 20% 50%, rgba(147, 51, 234, 0.15), transparent 50%),
      radial-gradient(circle at 80% 80%, rgba(147, 51, 234, 0.1), transparent 50%);
    z-index: 0;
    animation: pulseGlow 8s ease-in-out infinite alternate;
    width: 100%;
    max-width: 100%;
}

@keyframes pulseGlow { 0% { opacity: 0.6; } 100% { opacity: 1; } }

.hero .container {
  position: relative; z-index: 1; max-width: 1100px;
}

.eyebrow {
  display: inline-block;
    background: rgba(147, 51, 234, 0.2);
    border: 1px solid var(--pmx-purple);
    color: var(--pmx-purple-light);
    padding: 0.6rem 1.75rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    backdrop-filter: blur(10px);
    white-space: normal;
    word-break: break-word;
    max-width: 100%;
}

.hero h1 {
  font-family: "Playfair Display", serif;
    font-size: clamp(2.25rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--pmx-purple-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    max-width: 900px;
    word-break: break-word;
}

.subheadline {
  font-size: clamp(1rem, 2.5vw, 1.375rem);
    color: var(--pmx-text-muted);
    line-height: 1.9;
    max-width: 850px;
    margin: 0 auto 3rem;
}

.cta-row {
  display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.btn {
  display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.125rem 2.25rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all var(--transition);
    white-space: nowrap;
    cursor: pointer;
    border: none;
    max-width: 100%;
}

.btn-primary {
  background: var(--gradient-purple); color: white; box-shadow: var(--shadow-purple);
}

.btn-primary:hover {
  transform: translateY(-3px); box-shadow: 0 20px 40px rgba(147, 51, 234, 0.5);
}

.btn-secondary {
  background: rgba(147, 51, 234, 0.15);
    color: var(--pmx-purple-light);
    border: 2px solid var(--pmx-purple);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(147, 51, 234, 0.25); transform: translateY(-3px);
}

.trust-bullets {
  list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 750px;
    margin: 0 auto;
}

.trust-bullets li {
  display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
    font-size: 1.0625rem;
    color: var(--pmx-text-muted);
    text-align: center;
    padding: 0 1rem;
    word-break: break-word;
}

.trust-bullets li::before {
  content: "✓";
    color: var(--pmx-purple);
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.1em;
}

.primex-content section {
  padding: 7rem 0; position: relative;
}

.primex-content section:nth-child(even) {
  background: var(--pmx-bg-section);
}

.primex-content section h2 {
  font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 700;
    margin: 0 auto 2rem;
    line-height: 1.2;
    text-align: center;
    max-width: 900px;
    position: relative;
    display: block;
    width: 100%;
    word-break: break-word;
}

.primex-content section h2::after {
  content: "";
    position: absolute;
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: var(--gradient-purple);
    border-radius: 2px;
}

.primex-content section > .container > p {
  font-size: 1.0625rem;
    color: var(--pmx-text-muted);
    line-height: 1.9;
    max-width: 850px;
    margin: 0 auto 4rem;
    text-align: center;
}

.city-grid {
  display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 2rem;
}

.city-card {
  background: var(--pmx-bg-card);
    border: 1px solid var(--pmx-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    color: var(--pmx-text-main);
    text-align: left;
}

.city-card::before {
  content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: var(--gradient-purple);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition);
}

.city-card:hover {
  border-color: var(--pmx-purple);
    transform: translateY(-8px);
    box-shadow: var(--shadow-purple);
    color: var(--pmx-text-main);
    text-decoration: none;
}

.city-card:hover::before {
  transform: scaleX(1);
}

.city-card .card-eyebrow {
  display: inline-block;
    background: rgba(147, 51, 234, 0.15);
    border: 1px solid rgba(147, 51, 234, 0.4);
    color: var(--pmx-purple-light);
    padding: 0.35rem 0.9rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    width: fit-content;
}

.city-card.primary .card-eyebrow {
  background: rgba(147, 51, 234, 0.25);
    border-color: var(--pmx-purple);
}

.city-card h3 {
  font-family: "Playfair Display", serif;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--pmx-text-main);
    font-weight: 700;
    line-height: 1.3;
}

.city-card p {
  color: var(--pmx-text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 0.9375rem;
}

.city-card .card-link {
  color: var(--pmx-purple);
    font-weight: 600;
    font-size: 0.9375rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition);
}

.city-card .card-link::after {
  content: "→";
    transition: transform var(--transition);
}

.city-card:hover .card-link {
  color: var(--pmx-purple-light);
}

.city-card:hover .card-link::after {
  transform: translateX(4px);
}

.feature {
  background: var(--pmx-bg-card);
    border: 1px solid var(--pmx-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    transition: all var(--transition);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.feature:hover {
  border-color: var(--pmx-purple); transform: translateY(-5px); box-shadow: var(--shadow-md);
}

.feature h3 {
  font-family: "Playfair Display", serif; font-size: 1.5rem; margin-bottom: 1.125rem; color: var(--pmx-text-main); font-weight: 700; line-height: 1.3;
}

.feature p {
  color: var(--pmx-text-muted); line-height: 1.9; font-size: 1rem;
}

.service-bullets {
  list-style: none;
    background: var(--pmx-bg-card);
    border: 1px solid var(--pmx-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: left;
}

.service-bullets li {
  padding: 1.125rem 0 1.125rem 2.25rem;
    border-bottom: 1px solid var(--pmx-border);
    color: var(--pmx-text-muted);
    font-size: 1rem;
    position: relative;
    transition: all var(--transition);
}

.service-bullets li:last-child {
  border-bottom: none; padding-bottom: 0;
}

.service-bullets li::before {
  content: "◆"; position: absolute; left: 0; color: var(--pmx-purple); font-size: 0.875rem; top: 1.25rem;
}

.service-bullets li:hover {
  padding-left: 2.5rem; color: var(--pmx-text-main);
}

.service-bullets li strong {
  color: var(--pmx-text-main); font-weight: 600;
}

.internal-links {
  margin-top: 3rem;
    padding: 2rem 2rem;
    background: rgba(147, 51, 234, 0.08);
    border-left: 4px solid var(--pmx-purple);
    border-radius: var(--radius);
    font-size: 1rem;
    color: var(--pmx-text-main);
    text-align: center;
    line-height: 2.2;
    word-break: break-word;
}

.internal-links a {
  color: var(--pmx-purple);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition);
    border-bottom: 2px solid transparent;
    display: inline-block;
}

.internal-links a:hover {
  color: #ffffff; border-bottom-color: var(--pmx-purple);
}

.bottom-cta {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.2), rgba(122, 34, 206, 0.15));
    padding: 9rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.bottom-cta::before {
  content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: min(700px, 120vw);
    height: min(700px, 120vw);
    background: radial-gradient(circle, rgba(147, 51, 234, 0.3), transparent 70%);
    transform: translate(-50%, -50%);
    animation: pulseGlow 6s ease-in-out infinite alternate;
    pointer-events: none;
}

.bottom-cta .container {
  position: relative; z-index: 1;
}

.bottom-cta h2 {
  font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 2rem;
    word-break: break-word;
}

.bottom-cta h2::after {
  display: none;
}

.bottom-cta > .container > p {
  font-size: 1.125rem; max-width: 850px; margin: 0 auto 3rem;
}

.fineprint {
  font-size: 0.875rem; color: var(--pmx-text-subtle); margin-top: 1.5rem; font-style: italic; text-align: center; line-height: 1.7;
}

.fineprint a {
  color: var(--pmx-purple); text-decoration: none;
}

.fineprint a:hover {
  color: #ffffff;
}

@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

.city-card, .feature, .service-bullets {
  animation: fadeInUp 0.6s ease-out backwards;
}

.city-card:nth-child(1), .feature:nth-child(1) {
  animation-delay: 0.1s;
}

.city-card:nth-child(2), .feature:nth-child(2) {
  animation-delay: 0.2s;
}

.city-card:nth-child(3), .feature:nth-child(3) {
  animation-delay: 0.3s;
}

.city-card:nth-child(4), .feature:nth-child(4) {
  animation-delay: 0.4s;
}

.city-card:nth-child(5), .feature:nth-child(5) {
  animation-delay: 0.5s;
}

.city-card:nth-child(6), .feature:nth-child(6) {
  animation-delay: 0.6s;
}

.city-card:nth-child(7) {
  animation-delay: 0.7s;
}

.city-card:nth-child(8) {
  animation-delay: 0.8s;
}

.city-card:nth-child(9) {
  animation-delay: 0.9s;
}

.city-card:nth-child(10) {
  animation-delay: 1s;
}

.nearby-links {
  list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.nearby-links li a {
  display: block;
    background: var(--pmx-bg-card);
    border: 1px solid var(--pmx-border);
    border-radius: var(--radius);
    padding: 1.75rem 1.25rem;
    color: var(--pmx-purple);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition);
    text-align: center;
    word-break: break-word;
}

.nearby-links li a:hover {
  background: rgba(147, 51, 234, 0.1);
    border-color: var(--pmx-purple);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.chips {
  list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    margin-top: 2rem;
    justify-content: center;
}

.chips li {
  background: rgba(147, 51, 234, 0.15);
    border: 1px solid var(--pmx-purple);
    color: var(--pmx-purple-light);
    padding: 0.625rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition);
    cursor: default;
    max-width: calc(100vw - 4rem);
    word-break: break-word;
}

.chips li:hover {
  background: rgba(147, 51, 234, 0.25); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }
  .primex-content section {
    padding: 5rem 0;
  }
  .hero {
    min-height: 70vh; padding: 7rem 0 5rem;
  }
  .cta-row {
    flex-direction: column; width: 100%;
  }
  .btn {
    width: 100%; justify-content: center; white-space: normal; text-align: center;
  }
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }
  .city-grid {
    grid-template-columns: 1fr;
  }
  .city-card, .feature {
    padding: 2rem 1.75rem;
  }
  .service-bullets {
    padding: 2rem 1.5rem;
  }
  .trust-bullets li {
    text-align: left; justify-content: flex-start;
  }
  .eyebrow {
    font-size: 0.8rem; letter-spacing: 0.05em; padding: 0.5rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  .hero {
    padding: 5.5rem 0 3.5rem; min-height: auto;
  }
  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.75rem);
  }
  .eyebrow {
    font-size: 0.75rem; padding: 0.45rem 1rem; letter-spacing: 0.04em;
  }
  .primex-content section {
    padding: 4rem 0;
  }
  .primex-content section h2 {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }
  .city-card, .feature {
    padding: 1.75rem 1.25rem;
  }
  .service-bullets {
    padding: 1.5rem 1.25rem;
  }
  .service-bullets li {
    padding: 1rem 0 1rem 1.75rem; font-size: 0.9375rem;
  }
  .service-bullets li::before {
    top: 1.1rem;
  }
  .chips li {
    font-size: 0.875rem; padding: 0.5rem 1rem;
  }
  .bottom-cta {
    padding: 6rem 0;
  }
  .cta-row {
    gap: 1rem; margin-bottom: 3rem;
  }
  .internal-links {
    padding: 1.5rem 1.25rem; font-size: 0.9375rem; border-left-width: 3px;
  }
  .nearby-links {
    grid-template-columns: 1fr;
  }
}
