/* ==========================================================================
   Qubrixa SEO - Locations Page Premium Stylesheet v2.0
   ========================================================================== */

/* Hero Section - 2 Column Layout */
.locations-hero {
  position: relative;
  padding: 9rem 0 5.5rem 0;
  background: #0b0f1a;
  border-bottom: 1px solid var(--glass-border);
  overflow: hidden;
}

.locations-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 25%;
  width: 650px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* 2-column grid */
.loc-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.loc-hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Shared hero classes */
.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d4af37;
  margin-bottom: 1.25rem;
}

.hero-white-title {
  font-family: var(--font-headings);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  margin: 0 0 1.25rem 0;
  letter-spacing: -0.02em;
}

.hero-gold-divider {
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, #d4af37, #aa7c11);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 1.75rem;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #d4af37 0%, #aa7c11 100%);
  color: #0b0f1a;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 0.85rem 1.6rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.85rem 1.6rem;
  border-radius: 50px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
  border-color: rgba(212, 175, 55, 0.5);
  color: #d4af37;
}

/* Flags row */
.loc-flags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.loc-flag-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50px;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  transition: all 0.3s ease;
}

.loc-flag-chip:hover {
  border-color: rgba(212, 175, 55, 0.25);
  color: rgba(255, 255, 255, 0.8);
}

/* RIGHT: Contact Form Card */
.loc-hero-right {
  display: flex;
  flex-direction: column;
}

.loc-contact-card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 2.25rem 2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.loc-card-header {
  margin-bottom: 1.75rem;
}

.loc-card-header h3 {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0.75rem 0 0.5rem 0;
  line-height: 1.25;
}

.loc-card-header p {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
  line-height: 1.6;
}

.loc-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Shared audit-field + select + submit + trust */
.audit-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.audit-field label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
}

.audit-field input {
  width: 100%;
  background: #1a2235;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  color: #ffffff;
  font-size: 0.9rem;
  font-family: var(--font-body);
  outline: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.audit-field input::placeholder { color: rgba(255,255,255,0.18); }
.audit-field input:focus {
  border-color: rgba(212, 175, 55, 0.4);
  background: #1e2a3a;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.07);
}

.ind-select-wrap { position: relative; }

.ind-select-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.2);
  font-size: 0.8rem;
  pointer-events: none;
  z-index: 1;
}

.ind-select-wrap select {
  width: 100%;
  background: #1a2235;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 0.8rem 2.5rem 0.8rem 2.5rem;
  color: #ffffff;
  font-size: 0.9rem;
  font-family: var(--font-body);
  outline: none;
  appearance: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.ind-select-wrap select:focus {
  border-color: rgba(212,175,55,0.4);
  background: #1e2a3a;
}

.ind-select-wrap select option { background: #1a2235; color: #ffffff; }

.ind-select-arrow {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.2);
  font-size: 0.75rem;
  pointer-events: none;
}

.btn-audit-submit {
  width: 100%;
  padding: 0.95rem 1.5rem;
  background: linear-gradient(135deg, #d4af37 0%, #aa7c11 100%);
  color: #0b0f1a;
  font-weight: 800;
  font-size: 0.95rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.25rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
  font-family: var(--font-headings);
}

.btn-audit-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}

.ind-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: #d4af37;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
}

.ind-form-trust {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ind-form-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 600;
}

.ind-form-trust i { color: #d4af37; font-size: 0.7rem; }

/* Responsive */
@media (max-width: 1024px) {
  .loc-hero-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .loc-hero-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .loc-hero-left { align-items: center; }
  .hero-ctas { justify-content: center; }
  .loc-flags-row { justify-content: center; }
}



/* Country Keyword Grid Section */
.locations-index-section {
  padding: 6rem 0;
  position: relative;
  background: var(--bg-primary);
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.location-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.25) 100%);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 16px;
  padding: 2.25rem 2rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}

.location-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), transparent 50%, rgba(212, 175, 55, 0.05));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.location-card:hover {
  border-color: rgba(212, 175, 55, 0.25);
  background: rgba(212, 175, 55, 0.02);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.06);
}

.location-card:hover::before {
  opacity: 1;
}

.location-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 1rem;
}

.location-flag {
  font-size: 2rem;
}

.location-card-header h3 {
  font-size: 1.35rem;
  font-family: var(--font-headings);
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.location-card-metrics {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(3, 7, 18, 0.3);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.02);
}

.location-metric {
  display: flex;
  flex-direction: column;
}

.location-metric-val {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.location-metric-lbl {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.location-keywords-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.location-kw-tag {
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.location-card:hover .location-kw-tag {
  border-color: rgba(212, 175, 55, 0.15);
  background: rgba(212, 175, 55, 0.02);
  color: #f5ebd0;
}

.location-card-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.3s ease;
}

.location-card:hover .location-card-link {
  color: #d4af37;
  transform: translateX(3px);
}

/* Rich Strategy Content Section */
.locations-content-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  position: relative;
  z-index: 2;
}

.locations-rich-content {
  max-width: 900px;
  margin: 0 auto;
}

.locations-rich-content h3 {
  font-size: 1.8rem;
  font-family: var(--font-headings);
  color: #ffffff;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.locations-rich-content h3:first-of-type {
  margin-top: 0;
}

.locations-rich-content h4 {
  font-size: 1.3rem;
  font-family: var(--font-headings);
  color: #d4af37;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.locations-rich-content p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.locations-rich-content ul {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.locations-rich-content ul li {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.75rem;
}

.locations-rich-content ul li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.15rem;
  color: #d4af37;
  font-size: 0.85rem;
}

/* Responsive queries */
@media (max-width: 1200px) {
  .locations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .locations-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .locations-rich-content h3 {
    font-size: 1.5rem;
  }
  
  .locations-rich-content h4 {
    font-size: 1.15rem;
  }
  
  .location-card {
    padding: 1.75rem 1.5rem;
  }
}

/* Dynamic Content Tabs System */
.locations-tabs-container {
  margin-top: 2rem;
}

.locations-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 1.5rem;
}

.loc-tab-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(212, 175, 55, 0.15);
  color: rgba(255, 255, 255, 0.7);
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.loc-tab-btn:hover {
  border-color: rgba(212, 175, 55, 0.4);
  color: #ffffff;
  background: rgba(212, 175, 55, 0.03);
}

.loc-tab-btn.active {
  background: linear-gradient(135deg, #d4af37 0%, #aa7c11 100%);
  color: #020617;
  border-color: transparent;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.25);
}

.loc-tab-panel {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.loc-tab-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Custom bullet lists layout inside tabs */
.tab-split-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: flex-start;
}

.tab-features-box {
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--glass-shadow);
}

@media (max-width: 991px) {
  .tab-split-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Service Grid Responsiveness */
.locations-services-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (max-width: 576px) {
  .locations-services-list-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }
}

