/* ============================================================
   VINOVE — Careers Location Landing Pages
   FILE: css/pages/careers-location.css

   §0  Location Hero      — dark / ink
   §1  Location Context   — light / paper
   §2  Role Cards         — light / paper  (reuses careers-roles.css)
   §3  Apply CTA          — light / paper
   §4  Responsive
   ============================================================ */


/* ╔═══════════════════════════════════════════════════════╗
   §0  LOCATION HERO
   ╚═══════════════════════════════════════════════════════╝ */

#loc-hero {
  background: rgb(9,12,21);
  padding-top: calc(var(--nav-h) + clamp(3rem, 6vw, 5rem));
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Ambient radial glow — location-specific colour set via inline style */
#loc-hero::before {
  content: '';
  position: absolute;
  left: -10%;
  top: -30%;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, var(--loc-glow, rgba(200,85,61,0.07)) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

#loc-hero::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(200,85,61,0.3), transparent);
  z-index: 1;
}

.loc-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Breadcrumb */
.loc-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.75rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
  font-family: var(--font);
  flex-wrap: wrap;
}

.loc-breadcrumb a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.18s;
}

.loc-breadcrumb a:hover {
  color: rgba(255,255,255,0.8);
}

.loc-breadcrumb svg {
  width: 10px;
  height: 10px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
  opacity: 0.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Location badge */
.loc-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.875rem 0.35rem 0.6rem;
  background: rgba(200,85,61,0.12);
  border: 1px solid rgba(200,85,61,0.25);
  border-radius: 100px;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(200,85,61,0.9);
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
}

.loc-badge svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

#loc-hero h1 {
  font-family: var(--font);
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 700;
  line-height: 1.07;
  color: #fff;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
}

.loc-hero-sub {
  font-family: var(--font);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 0 2rem;
}

/* Stat strip */
.loc-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.loc-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.loc-stat-num {
  font-family: var(--font);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}

.loc-stat-label {
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  line-height: 1.3;
}


/* ╔═══════════════════════════════════════════════════════╗
   §1  LOCATION CONTEXT
   ╚═══════════════════════════════════════════════════════╝ */

#loc-context {
  background: var(--paper);
  padding: clamp(3.5rem, 6vw, 5.5rem) var(--gutter);
  border-bottom: 1px solid var(--surface-2);
}

.loc-context-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 6rem;
  align-items: start;
}

.loc-context-copy {
  /* left column */
}

.loc-context-copy .eyebrow {
  margin-bottom: 1rem;
}

.loc-context-copy h2 {
  font-family: var(--font);
  font-size: clamp(1.625rem, 2.75vw, 2.25rem);
  font-weight: 700;
  color: var(--text-strong);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
}

.loc-context-copy p {
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.7;
  margin: 0 0 1rem;
}

.loc-context-copy p:last-child {
  margin-bottom: 0;
}

/* Details list */
.loc-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.loc-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1.125rem 1.25rem;
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(14,19,32,0.07);
}

.loc-detail-icon {
  width: 36px;
  height: 36px;
  background: rgba(200,85,61,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.loc-detail-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--terra);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.loc-detail-body {
  flex: 1;
  min-width: 0;
}

.loc-detail-title {
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 0.2rem;
}

.loc-detail-desc {
  font-family: var(--font);
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}


/* ╔═══════════════════════════════════════════════════════╗
   §2  ROLE CARDS
   (shared classes from careers-roles.css, kept below)
   ╚═══════════════════════════════════════════════════════╝ */

#loc-roles {
  background: var(--paper);
  padding: clamp(3.5rem, 6vw, 5.5rem) var(--gutter);
}

.loc-roles-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.loc-roles-hd {
  margin-bottom: 2.5rem;
}

.loc-roles-hd .eyebrow {
  margin-bottom: 0.75rem;
}

.loc-roles-hd h2 {
  font-family: var(--font);
  font-size: clamp(1.625rem, 2.75vw, 2.25rem);
  font-weight: 700;
  color: var(--text-strong);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.loc-roles-hd p {
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.65;
  margin: 0;
  max-width: 560px;
}

/* Role count */
.loc-roles-count {
  font-family: var(--font);
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.loc-roles-count strong {
  color: var(--text-strong);
  font-weight: 700;
}

/* "See all roles" link after cards */
.loc-roles-more {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.loc-roles-more a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--terra);
  text-decoration: none;
  transition: gap 0.2s;
}

.loc-roles-more a svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s;
}

.loc-roles-more a:hover {
  gap: 0.7rem;
}

.loc-roles-more a:hover svg {
  transform: translateX(3px);
}


/* ╔═══════════════════════════════════════════════════════╗
   §3  APPLY CTA
   ╚═══════════════════════════════════════════════════════╝ */

#loc-cta {
  background: var(--ink);
  padding: clamp(4rem, 7vw, 6.5rem) var(--gutter);
  position: relative;
  overflow: hidden;
}

#loc-cta::before {
  content: '';
  position: absolute;
  right: -5%;
  top: -20%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(200,85,61,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.loc-cta-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.loc-cta-copy .eyebrow {
  margin-bottom: 1rem;
}

.loc-cta-copy h2 {
  font-family: var(--font);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.loc-cta-copy p {
  font-family: var(--font);
  font-size: 1rem;
  color: var(--ink-text-body);
  line-height: 1.65;
  margin: 0;
}

.loc-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.loc-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.875rem 1.75rem;
  background: var(--terra);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition:
    background 0.18s,
    transform 0.12s,
    box-shadow 0.18s,
    gap 0.2s;
}

.loc-cta-primary svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.18s;
}

.loc-cta-primary:hover {
  background: color-mix(in srgb, var(--terra) 85%, #000);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(200,85,61,0.35);
  gap: 0.7rem;
}

.loc-cta-primary:hover svg {
  transform: translateX(2px);
}

.loc-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.18s, gap 0.2s;
}

.loc-cta-secondary svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.18s;
}

.loc-cta-secondary:hover {
  color: rgba(255,255,255,0.9);
  gap: 0.65rem;
}

.loc-cta-secondary:hover svg {
  transform: translateX(2px);
}

/* Talent form variant inside CTA section */
.loc-talent-form {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.loc-talent-label {
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.25rem;
}

.loc-talent-row {
  display: flex;
  gap: 0.625rem;
}

.loc-talent-input {
  flex: 1;
  min-width: 0;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 400;
  color: #fff;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  outline: none;
  transition:
    border-color 0.18s,
    background 0.18s,
    box-shadow 0.18s;
  -webkit-appearance: none;
}

.loc-talent-input::placeholder {
  color: var(--ink-text-muted);
}

.loc-talent-input:focus {
  border-color: rgba(200,85,61,0.5);
  background: rgba(255,255,255,0.09);
  box-shadow: 0 0 0 3px rgba(200,85,61,0.12);
}

.loc-talent-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.3);
  cursor: pointer;
  transition:
    background 0.18s,
    border-color 0.18s,
    transform 0.12s,
    box-shadow 0.18s;
  white-space: nowrap;
}

.loc-talent-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.loc-talent-note {
  font-family: var(--font);
  font-size: 0.8125rem;
  color: var(--ink-text-muted);
  margin: 0;
  line-height: 1.5;
}


/* ╔═══════════════════════════════════════════════════════╗
   §4  RESPONSIVE
   ╚═══════════════════════════════════════════════════════╝ */

@media (max-width: 960px) {
  .loc-context-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .loc-cta-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 680px) {
  .loc-stats {
    gap: 1.75rem;
  }

  .loc-talent-row {
    flex-direction: column;
  }

  .loc-cta-actions {
    width: 100%;
  }

  .loc-cta-primary {
    width: 100%;
    justify-content: center;
  }
}
