/* ============================================================
   Visma Promotions Inc. — Main Stylesheet
   ============================================================ */

/* 1. CSS Custom Properties
   ============================================================ */
:root {
  --gold-dark:       #978770;
  --gold-light:      #D1C8AC;
  --gold-mid:        #B5A88C;
  --bg-primary:      #09080A;
  --bg-secondary:    #0F0D0C;
  --bg-card:         #141210;
  --bg-card-hover:   #1A1714;
  --text-primary:    #F5F0E8;
  --text-secondary:  #C4BAA8;
  --text-muted:      #7D7163;
  --border-color:    rgba(151, 135, 112, 0.18);
  --border-hover:    rgba(209, 200, 172, 0.38);
  --gradient-gold:   linear-gradient(135deg, #978770 0%, #D1C8AC 50%, #978770 100%);
  --gradient-gold-h: linear-gradient(90deg, #978770 0%, #D1C8AC 100%);
  --gradient-gold-v: linear-gradient(180deg, #978770 0%, #D1C8AC 100%);
  --shadow-gold:     0 0 40px rgba(151, 135, 112, 0.12);
  --shadow-card:     0 4px 30px rgba(0, 0, 0, 0.45);
  --font-heading:    'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container-max:   1200px;
  --section-py:      5.5rem;
  --header-h:        80px;
  --radius-sm:       4px;
  --radius-md:       10px;
  --radius-lg:       18px;
  --transition:      all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.18s ease;
}

/* 2. Reset & Base
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold-light);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover { color: var(--text-primary); }

ul, ol { list-style: none; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}

input, textarea, select, button {
  font-family: var(--font-body);
}

/* 3. Typography
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.65rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

p:last-child { margin-bottom: 0; }

.text-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-center  { text-align: center; }
.text-muted   { color: var(--text-muted) !important; }

/* 4. Layout
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

section { padding-block: var(--section-py); }

.bg-alt  { background-color: var(--bg-secondary); }
.bg-card { background-color: var(--bg-card); }

/* Section header */
.section-header {
  text-align: center;
  margin-bottom: 3.75rem;
}

.section-header .eyebrow,
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.8rem;
}

.section-header h2 { margin-bottom: 1rem; }

.section-header p {
  max-width: 620px;
  margin-inline: auto;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.divider {
  width: 56px;
  height: 2px;
  background: var(--gradient-gold-h);
  margin: 1.1rem auto 0;
  border-radius: 2px;
}

/* 5. Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2.1rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
  text-transform: uppercase;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-gold);
  color: var(--bg-primary);
  border: 1px solid transparent;
}

.btn-primary:hover {
  background: var(--gradient-gold-h);
  color: var(--bg-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(151, 135, 112, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--gold-light);
  border: 1px solid var(--gold-dark);
}

.btn-outline:hover {
  background: rgba(151, 135, 112, 0.1);
  color: var(--text-primary);
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* 6. Header / Navigation
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(9, 8, 10, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.site-logo img {
  height: 48px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-link {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 1px;
  background: var(--gradient-gold-h);
  transition: width 0.28s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-light);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: calc(100% - 1.8rem);
}

.nav-cta { margin-left: 0.85rem; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 7. Hero Section
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 75% 40%, rgba(151, 135, 112, 0.09) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 80%, rgba(209, 200, 172, 0.05) 0%, transparent 45%),
    var(--bg-primary);
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(151, 135, 112, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(151, 135, 112, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--bg-primary), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-mid);
  margin-bottom: 1.6rem;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--gradient-gold-h);
}

.hero h1 {
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero p.lead {
  font-size: 1.08rem;
  line-height: 1.82;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 2.5rem;
}

.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2rem;
  padding: 0.5rem 1rem;
  background: rgba(151, 135, 112, 0.07);
  border: 1px solid var(--border-color);
  border-radius: 50px;
}

.hero-location svg { color: var(--gold-dark); }

/* 8. About Section
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  border-radius: var(--radius-md);
  filter: brightness(0.85) saturate(0.75);
  background-color: var(--bg-card);
  display: block;
}

.about-image-frame {
  position: absolute;
  inset: -6px;
  border-radius: calc(var(--radius-md) + 6px);
  background: var(--gradient-gold);
  z-index: -1;
  opacity: 0.4;
}

.about-badge {
  position: absolute;
  bottom: -1.75rem;
  right: -1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.75rem;
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
}

.about-badge .badge-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.about-badge .badge-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.3rem;
  display: block;
}

.about-content h2 { margin-bottom: 1.5rem; }

.about-content p {
  font-size: 1.015rem;
  line-height: 1.82;
  margin-bottom: 1.2rem;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 2.25rem;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.value-icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  background: rgba(151, 135, 112, 0.1);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
}

.value-item h5 {
  font-size: 0.875rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

.value-item p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* 9. Services Section
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-gold-h);
  transform: scaleX(0);
  transition: transform 0.35s ease;
  transform-origin: left;
}

.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card), var(--shadow-gold);
  background: var(--bg-card-hover);
}

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

.service-icon {
  width: 58px; height: 58px;
  background: rgba(151, 135, 112, 0.1);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  color: var(--gold-light);
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--text-primary);
}

.service-card p {
  font-size: 0.895rem;
  line-height: 1.72;
  color: var(--text-muted);
  margin: 0;
}

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

/* 10. Careers / Jobs Section
   ============================================================ */
.hiring-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(74, 222, 128, 0.07);
  border: 1px solid rgba(74, 222, 128, 0.2);
  border-radius: 50px;
  padding: 0.5rem 1.3rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #86efac;
  margin-bottom: 1.5rem;
}

.hiring-badge .dot {
  width: 8px; height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
  50%       { opacity: 0.8; box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.job-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: var(--transition);
  position: relative;
}

.job-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-gold-h);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  transform: scaleX(0);
  transition: transform 0.35s ease;
}

.job-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card), var(--shadow-gold);
  background: var(--bg-card-hover);
}

.job-card:hover::after { transform: scaleX(1); }

.job-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(151, 135, 112, 0.1);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 0.3rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-mid);
  width: fit-content;
}

.job-card h3 {
  font-size: 1.05rem;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
}

.job-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.72;
  flex-grow: 1;
  margin: 0;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border-color);
}

.job-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.job-meta-item svg { color: var(--gold-dark); flex-shrink: 0; }

/* 11. Culture / Gallery Section
   ============================================================ */
.team-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
}

.gallery-item img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  transition: transform 0.55s ease, filter 0.55s ease;
  filter: brightness(0.72) saturate(0.65);
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(0.88) saturate(0.82);
}

.gallery-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(9,8,10,0.88) 0%, transparent 100%);
}

.gallery-overlay p {
  font-size: 0.85rem;
  color: var(--gold-light);
  font-weight: 500;
  margin: 0;
}

/* 12. Contact Section
   ============================================================ */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h2 { margin-bottom: 1.25rem; }

.contact-info > p {
  font-size: 1rem;
  line-height: 1.82;
  margin-bottom: 2.25rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  background: rgba(151, 135, 112, 0.1);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  margin-top: 0.1rem;
}

.contact-item-text h5 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.contact-item-text p,
.contact-item-text a {
  font-size: 0.945rem;
  color: var(--text-secondary);
  margin: 0;
}

.contact-item-text a:hover { color: var(--gold-light); }

/* 13. Forms
   ============================================================ */
.form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
}

.form-wrapper h3 {
  font-size: 1.3rem;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.form-wrapper .form-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.form-group { margin-bottom: 1.3rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.55rem;
}

label .req {
  color: var(--gold-light);
  margin-left: 0.2rem;
}

.form-control {
  width: 100%;
  padding: 0.82rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.94rem;
  transition: var(--transition-fast);
  -webkit-appearance: none;
  appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(151, 135, 112, 0.14);
  background: rgba(20, 18, 16, 0.9);
}

.form-control::placeholder {
  color: var(--text-muted);
  opacity: 0.55;
}

textarea.form-control {
  resize: vertical;
  min-height: 145px;
}

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23978770' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

select.form-control option {
  background: var(--bg-card);
  color: var(--text-primary);
}

.form-control[type="file"] {
  padding: 0.68rem 1rem;
  cursor: pointer;
}

.form-hint {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  display: block;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.form-check input[type="checkbox"] {
  width: 18px; height: 18px;
  flex-shrink: 0;
  accent-color: var(--gold-dark);
  margin-top: 2px;
  cursor: pointer;
}

.form-check label {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 400;
  margin: 0;
}

.form-check label a { color: var(--gold-light); }

.btn-submit {
  width: 100%;
  padding: 1rem;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* 14. Alert / Notification
   ============================================================ */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.3rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid;
  margin-bottom: 1.75rem;
  font-size: 0.925rem;
  line-height: 1.6;
}

.alert-success {
  background: rgba(74, 222, 128, 0.07);
  border-color: rgba(74, 222, 128, 0.22);
  color: #86efac;
}

.alert-error {
  background: rgba(248, 113, 113, 0.07);
  border-color: rgba(248, 113, 113, 0.22);
  color: #fca5a5;
}

.alert-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  margin-top: 1px;
}

.alert-content strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.hidden { display: none !important; }

/* 15. Footer
   ============================================================ */
.site-footer {
  background: #050405;
  border-top: 1px solid var(--border-color);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border-color);
}

.footer-brand img {
  height: 44px;
  margin-bottom: 1.3rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.82;
  max-width: 290px;
  margin: 0;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-mid);
  margin-bottom: 1.35rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 5px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.6rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 1.6rem;
}

.footer-legal a {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-legal a:hover { color: var(--gold-light); }

/* 16. Page Banner (inner pages)
   ============================================================ */
.page-banner {
  padding-top: calc(var(--header-h) + 4.5rem);
  padding-bottom: 4rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(151, 135, 112, 0.06) 0%, transparent 55%);
}

.page-banner .container { position: relative; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb .sep { color: var(--text-muted); opacity: 0.4; }
.breadcrumb span { color: var(--gold-mid); }

.page-banner h1 {
  font-size: clamp(1.85rem, 4vw, 2.8rem);
  margin-bottom: 0.75rem;
}

.page-banner p {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* 17. Legal Content (terms / privacy)
   ============================================================ */
.legal-content {
  max-width: 840px;
  margin-inline: auto;
}

.legal-meta {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.6rem;
  margin-bottom: 2.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.legal-content h2 {
  font-size: 1.35rem;
  margin-top: 2.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
}

.legal-content h3 {
  font-size: 1.05rem;
  margin-top: 1.85rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-weight: 600;
}

.legal-content p {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.88;
  margin-bottom: 1.1rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.1rem;
}

.legal-content ul li {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.88;
  margin-bottom: 0.4rem;
}

.legal-content a {
  color: var(--gold-light);
  text-decoration: underline;
  text-decoration-color: rgba(209, 200, 172, 0.3);
}

/* 18. Apply Page
   ============================================================ */
.apply-form-outer {
  max-width: 800px;
  margin-inline: auto;
}

/* 19. Fade-up scroll animation
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(1) { transition-delay: 0s; }
.fade-up:nth-child(2) { transition-delay: 0.08s; }
.fade-up:nth-child(3) { transition-delay: 0.16s; }

/* 20. Accessibility
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--gold-dark);
  outline-offset: 3px;
}

/* 21. Tablet ≤ 1024px
   ============================================================ */
@media (max-width: 1024px) {
  :root { --section-py: 4.5rem; }

  .about-grid,
  .contact-wrapper { grid-template-columns: 1fr; gap: 3rem; }

  .about-image img { max-height: 420px; }
  .about-badge { bottom: 1rem; right: 1rem; }

  .services-grid,
  .jobs-grid,
  .team-gallery { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* 22. Mobile ≤ 768px
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --section-py: 3.5rem;
    --header-h: 70px;
  }

  /* Mobile nav */
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(9, 8, 10, 0.98);
    backdrop-filter: blur(14px);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem 1.25rem;
    gap: 0.35rem;
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-120%);
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
  }

  .site-nav.open { transform: translateY(0); }

  .nav-link {
    padding: 0.9rem 1rem;
  }

  .nav-link::after { display: none; }

  .nav-cta {
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .nav-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .nav-toggle { display: flex; }

  /* Hero */
  .hero { min-height: 92vh; }
  .hero p.lead { font-size: 1rem; }

  /* Grids → single col */
  .services-grid,
  .jobs-grid,
  .team-gallery,
  .action-gallery,
  .about-values { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  /* Gallery height */
  .gallery-item img { height: 260px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .footer-brand p { max-width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }

  /* About badge */
  .about-badge {
    position: static;
    display: inline-block;
    margin-top: 1.25rem;
  }

  .about-image-frame { display: none; }
}

/* 23. Small mobile ≤ 480px
   ============================================================ */
@media (max-width: 480px) {
  :root { --section-py: 3rem; }

  .container { padding-inline: 1rem; }

  .btn-group { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }

  .form-wrapper { padding: 1.5rem 1.25rem; }
  .hero h1 { font-size: 2.1rem; }
}

/* 24. Print
   ============================================================ */
@media print {
  .site-header,
  .site-footer,
  .nav-toggle,
  .btn { display: none; }

  body { background: white; color: black; }
  a { color: inherit; text-decoration: underline; }
}
