/* =============================================
   UEBER-UNS.CSS – "Premium Heritage" About-Us page
   B+F Bakery & Food GmbH
   Sections: Team, Geschichte (Timeline), Standorte
   ============================================= */

/* =============================================
   PAGE HERO – full-bleed image with navy overlay
   ============================================= */
.about-hero {
  position: relative;
  min-height: 88vh;
  padding: 11rem 0 6rem;
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: center;
  background: var(--primary-dark);
}

/* Background image + Ken-Burns zoom */
.about-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.about-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.08);
  animation: aboutHeroZoom 18s ease-out forwards;
  will-change: transform;
}
@keyframes aboutHeroZoom {
  0%   { transform: scale(1.08); }
  100% { transform: scale(1.14); }
}

/* Dark gradient overlay – reads text even on busy photos */
.about-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 80% 15%,
      rgba(200, 153, 63, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 85%,
      rgba(27, 58, 92, 0.65) 0%, transparent 60%),
    linear-gradient(135deg,
      rgba(15, 38, 64, 0.92) 0%,
      rgba(27, 58, 92, 0.78) 35%,
      rgba(15, 38, 64, 0.72) 100%);
}

/* Subtle grain for depth */
.about-hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.25;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.03) 0, transparent 2px),
    radial-gradient(circle at 30% 70%, rgba(0,0,0,0.06) 0, transparent 1.5px);
  background-size: 3px 3px, 5px 5px;
}

/* decorative circles */
.about-hero::before,
.about-hero::after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 2;
  border-radius: 50%;
}

.about-hero::after {
  bottom: -120px; left: -120px;
  width: 380px; height: 380px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-hero-inner {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}

.about-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}
.about-hero-kicker::before,
.about-hero-kicker::after {
  content: '';
  width: 38px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light));
  border-radius: 2px;
}
.about-hero-kicker::after {
  background: linear-gradient(90deg, var(--gold-light), transparent);
}

.about-hero h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2.75rem, 5.8vw, 4.5rem);
  font-weight: 600;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}
.about-hero h1 em {
  font-style: italic;
  color: var(--gold-light);
  font-weight: 500;
}

.about-hero-lead {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.85;
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

/* Inline anchor-nav (sub-navigation within page) */
.about-subnav {
  display: inline-flex;
  gap: 0.4rem;
  padding: 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  flex-wrap: wrap;
  justify-content: center;
}
.about-subnav a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: all 0.4s var(--ease-out);
}
.about-subnav a i {
  font-size: 1rem;
  color: var(--gold-light);
  transition: transform 0.4s var(--ease-out);
}
.about-subnav a:hover {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #fff;
}
.about-subnav a:hover i {
  color: #fff;
  transform: translateY(-2px);
}

/* Hero stat strip */
.about-hero-stats {
  margin-top: 3.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 90px;
}
.hero-stat-num {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1;
  letter-spacing: 0.01em;
}
.hero-stat-label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

/* Scroll indicator */
.about-hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  transition: color 0.35s var(--ease-out);
}
.about-hero-scroll .scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, transparent, var(--gold-light));
  position: relative;
  overflow: hidden;
}
.about-hero-scroll .scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(180deg, transparent, #fff);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%   { top: -50%; }
  100% { top: 150%; }
}
.about-hero-scroll:hover { color: var(--gold-light); }

/* =============================================
   SECTION INTRO HELPERS
   ============================================= */
.about-section {
  padding: 7rem 0;
  position: relative;
  scroll-margin-top: 80px;
}
.about-section.bg-cream { background: var(--cream); }
.about-section.bg-warm { background: var(--warm-white); }

.about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1rem;
}
.about-eyebrow::before {
  content: '';
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
}

.about-section-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.about-section-title em {
  color: var(--gold-dark);
  font-style: italic;
  font-weight: 500;
}

.about-section-lead {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.85;
  max-width: 680px;
}

/* =============================================
   TEAM SECTION
   ============================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(max(300px, calc(100%/3 - 2 * var(--gap, 1rem))), 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.team-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  padding: 2.25rem 1.75rem 2rem;
  text-align: center;
  transition: transform 0.55s var(--ease-out),
              box-shadow 0.55s var(--ease-out),
              border-color 0.55s var(--ease-out);
  overflow: hidden;
}

/* Gold accent line at top, grows on hover */
.team-card::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 50px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 0 0 2px 2px;
  transition: width 0.5s var(--ease-out);
}
.team-card:hover::before { width: 100px; }

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

/* Avatar: circular gold-ringed portrait */
.team-avatar {
  width: 132px;
  height: 132px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg,
    var(--primary-soft), rgba(200, 153, 63, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.02em;
  position: relative;
  border: 2px solid transparent;
  background-clip: padding-box;
  transition: transform 0.6s var(--ease-out);
}
.team-avatar::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px dashed rgba(200, 153, 63, 0.35);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out),
              transform 0.6s var(--ease-out);
}
.team-card:hover .team-avatar {
  transform: scale(1.04);
}
.team-card:hover .team-avatar::before {
  opacity: 1;
  transform: rotate(18deg);
}

.team-card:hover .team-avatar::before {
  opacity: 1;
  transform: rotate(18deg);
}

/* Foto innerhalb des Avatar-Kreises: passt sich perfekt ein */
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  display: block;
}

.team-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.35rem;
  line-height: 1.25;
}
.team-role {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1.35rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
  width: 70%;
}

.team-contact {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: center;
}
.team-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--ink-light);
  text-decoration: none;
  transition: color 0.35s var(--ease-out);
}
.team-contact a i {
  color: var(--gold);
  font-size: 0.95rem;
  transition: transform 0.4s var(--ease-out);
}
.team-contact a:hover {
  color: var(--primary);
}
.team-contact a:hover i {
  transform: translateX(2px);
}

/* =============================================
   GESCHICHTE – vertical timeline
   ============================================= */
.timeline {
  position: relative;
  max-width: 920px;
  margin: 4rem auto 0;
  padding: 1rem 0;
}

/* central vertical line */
.timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: linear-gradient(180deg,
    transparent 0%,
    var(--gold) 8%,
    var(--gold) 92%,
    transparent 100%);
  border-radius: 1px;
}

.timeline-item {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: start;
  padding-bottom: 3rem;
  box-sizing: border-box;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-item.left,
.timeline-item.right { left: 0; text-align: left; }

/* card column placement */
.timeline-item.left  .timeline-card  { grid-column: 1; grid-row: 1; }
.timeline-item.right .timeline-card  { grid-column: 3; grid-row: 1; }

/* media column placement */
.timeline-item.left  .timeline-media { grid-column: 3; grid-row: 1; }
.timeline-item.right .timeline-media { grid-column: 1; grid-row: 1; }

/* gold year-dot on the central line */
.timeline-item .dot {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  margin-top: 1.6rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 5px rgba(200, 153, 63, 0.12);
  z-index: 2;
  transition: transform 0.45s var(--ease-out),
              box-shadow 0.45s var(--ease-out);
}

/* Timeline image zone */
.timeline-media {
  padding: 0 1rem;
  display: flex;
  align-items: flex-start;
}

.timeline-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.55s var(--ease-out),
              box-shadow 0.55s var(--ease-out);
}
.timeline-img:hover {
  transform: scale(1.025);
  box-shadow: var(--shadow-lg);
}

.timeline-img-placeholder {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg,
    rgba(27, 58, 92, 0.04) 0%,
    rgba(200, 153, 63, 0.07) 100%);
  border: 2px dashed rgba(200, 153, 63, 0.28);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--gold-dark);
  opacity: 0.55;
  pointer-events: none;
}
.timeline-img-placeholder i { font-size: 2rem; }
.timeline-img-placeholder span {
  font-size: 0.72rem;
  font-family: 'DM Sans', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.timeline-card {
  display: block;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 1.75rem 1.9rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.55s var(--ease-out),
              box-shadow 0.55s var(--ease-out),
              border-color 0.55s var(--ease-out);
  text-align: left;
  max-width: 100%;
  position: relative;
}
.timeline-card::after {
  /* Small arrow pointer toward the line */
  content: '';
  position: absolute;
  top: 1.75rem;
  width: 12px;
  height: 12px;
  background: #fff;
  border-top: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  transition: border-color 0.45s var(--ease-out);
}
.timeline-item.left  .timeline-card::after { right: -7px; transform: rotate(45deg); }
.timeline-item.right .timeline-card::after { left:  -7px; transform: rotate(-135deg); }

.timeline-item:hover .dot {
  transform: scale(1.18);
  box-shadow: 0 0 0 8px rgba(200, 153, 63, 0.18);
}
.timeline-item:hover .timeline-card {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200, 153, 63, 0.45);
}

.timeline-year {
  font-family: 'DM Sans', Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold-dark);
  line-height: 1;
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}
.timeline-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.timeline-text {
  color: var(--ink-light);
  font-size: 0.98rem;
  line-height: 1.75;
  margin: 0;
}

/* =============================================
   STANDORTE – interactive map + cards
   ============================================= */

/* ----- Map container ----- */
.locations-map-wrap {
  position: relative;
  margin: 4rem 0 3rem;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, #fff 0%, var(--cream) 100%);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  padding: 10px;
}

.locations-map {
  height: 520px;
  width: 100%;
  border-radius: calc(var(--radius-xl) - 10px);
  overflow: hidden;
  background: #f6f2ea;
}

/* Legend floating bottom-left */
.locations-map-legend {
  position: absolute;
  left: 1.75rem;
  bottom: 1.75rem;
  z-index: 500;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.9rem 1.15rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  color: var(--ink);
}
.locations-map-legend .legend-title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.4rem;
  margin-bottom: 0.15rem;
}
.locations-map-legend .legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
}
.locations-map-legend .legend-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--primary);
  position: relative;
}
.locations-map-legend .legend-dot::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--gold);
}
.locations-map-legend .legend-dot.is-hq {
  background: var(--gold);
  border-color: var(--primary);
}
.locations-map-legend .legend-dot.is-hq::after {
  background: var(--primary-dark);
}

/* Decorative gold corners */
.map-corner {
  position: absolute;
  width: 32px;
  height: 32px;
  pointer-events: none;
  z-index: 400;
}
.map-corner.tl { top: 0;    left: 0;    border-top: 2px solid var(--gold);    border-left: 2px solid var(--gold);    border-radius: var(--radius-xl) 0 0 0; }
.map-corner.tr { top: 0;    right: 0;   border-top: 2px solid var(--gold);    border-right: 2px solid var(--gold);   border-radius: 0 var(--radius-xl) 0 0; }
.map-corner.bl { bottom: 0; left: 0;    border-bottom: 2px solid var(--gold); border-left: 2px solid var(--gold);    border-radius: 0 0 0 var(--radius-xl); }
.map-corner.br { bottom: 0; right: 0;   border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold);   border-radius: 0 0 var(--radius-xl) 0; }

/* ----- Custom pins ----- */
.bf-pin-wrap { background: transparent; border: 0; }
.bf-pin {
  position: relative;
  width: 32px;
  height: 44px;
  filter: drop-shadow(0 6px 10px rgba(15, 38, 64, 0.28));
  transition: transform 0.35s var(--ease-out);
  transform-origin: 50% 100%;
}
.bf-pin svg {
  width: 100%;
  height: 100%;
  display: block;
}
.bf-pin:hover,
.leaflet-marker-icon:hover .bf-pin {
  transform: scale(1.12) translateY(-2px);
}

/* pulse for HQ pin */
.bf-pin.is-hq .bf-pin-pulse {
  position: absolute;
  left: 50%;
  bottom: 2px;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.5;
  animation: bfPinPulse 2.2s ease-out infinite;
  z-index: -1;
}
@keyframes bfPinPulse {
  0%   { transform: translateX(-50%) scale(0.8); opacity: 0.6; }
  100% { transform: translateX(-50%) scale(3.4); opacity: 0; }
}

/* ----- Popup styling (override Leaflet default) ----- */
.bf-popup-wrap .leaflet-popup-content-wrapper {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xl);
  padding: 0;
  overflow: hidden;
}
.bf-popup-wrap .leaflet-popup-content {
  margin: 0;
  padding: 1.1rem 1.25rem 1rem;
  font-family: 'DM Sans', sans-serif;
  min-width: 220px;
}
.bf-popup-wrap .leaflet-popup-tip {
  background: #fff;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}
.bf-popup-wrap .leaflet-popup-close-button {
  color: var(--ink-light) !important;
  padding: 6px 8px 0 0 !important;
  font-size: 1.2rem !important;
  font-weight: 300 !important;
}
.bf-popup-wrap .leaflet-popup-close-button:hover { color: var(--gold-dark) !important; }

.bf-popup-flag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 0.5rem;
  width: 100%;
}
.bf-popup-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.35rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.bf-popup-country {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--gold);
  background: var(--gold-soft);
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  letter-spacing: 0.14em;
}
.bf-popup-role {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.02em;
}
.bf-popup-addr {
  margin: 0 0 0.8rem;
  font-size: 0.82rem;
  color: var(--ink-light);
  line-height: 1.5;
}
.bf-popup-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.bf-popup-link:hover {
  color: var(--gold-dark);
  border-bottom-color: var(--gold);
}

/* Leaflet controls – match brand */
.leaflet-control-zoom a {
  background-color: #fff !important;
  color: var(--primary) !important;
  border-color: var(--border-light) !important;
  font-weight: 600 !important;
}
.leaflet-control-zoom a:hover {
  background-color: var(--gold-soft) !important;
  color: var(--gold-dark) !important;
}
.leaflet-control-attribution {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 0.65rem !important;
  background: rgba(255, 255, 255, 0.85) !important;
}

/* ----- Location cards grid ----- */
.locations-wrap {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
}

.location-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.55s var(--ease-out),
              box-shadow 0.55s var(--ease-out),
              border-color 0.55s var(--ease-out);
}
.location-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--gold), var(--gold-light));
  transform: translateY(-100%);
  transition: transform 0.6s var(--ease-out);
}
.location-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.location-card:hover::before { transform: translateY(0); }

/* HQ marker accent */
.location-card.is-hq {
  background: linear-gradient(180deg, #fff 0%, rgba(200, 153, 63, 0.04) 100%);
  border-color: rgba(200, 153, 63, 0.3);
}
.location-card.is-hq::before { transform: translateY(0); }

.location-flag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1.25rem;
}
.location-flag .flag-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 153, 63, 0.18);
}

.location-city {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
  line-height: 1.15;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.location-country {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  background: var(--gold-soft);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  letter-spacing: 0.12em;
}

.location-function {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed var(--border);
}

.location-address {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--ink-light);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.location-address i {
  color: var(--gold);
  font-size: 1.1rem;
  margin-top: 0.18rem;
  flex-shrink: 0;
}

.location-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.35s var(--ease-out);
}
.location-cta i { transition: transform 0.35s var(--ease-out); }
.location-cta:hover { color: var(--gold-dark); }
.location-cta:hover i { transform: translateX(3px); }

/* =============================================
   CTA PANEL (bottom of about-us page)
   ============================================= */
.about-cta {
  padding: 6rem 0;
  background:
    radial-gradient(ellipse at top right,
      rgba(200, 153, 63, 0.28) 0%, transparent 55%),
    linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.about-cta::before,
.about-cta::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
/*.about-cta::before {
  top: -100px; left: -100px;
  width: 340px; height: 340px;
  border: 1px solid rgba(200, 153, 63, 0.25);
}*/
.about-cta::after {
  bottom: -160px; right: -160px;
  width: 460px; height: 460px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.about-cta .container { position: relative; z-index: 2; }

.about-cta h2 {
  font-family: 'DM Sans', sans-serif;
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  margin-bottom: 1rem;
}
.about-cta h2 em { color: var(--gold-light); font-style: italic; font-weight: 500; }
.about-cta p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  max-width: 560px;
  margin: 0 auto 2.25rem;
  line-height: 1.8;
}

/* Reveal animation – shared via style3.css ([data-reveal] + .visible) */

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 991.98px) {
  .about-hero { min-height: 78vh; padding: 9rem 0 5rem; }
  .about-hero-stats { gap: 2rem 2.5rem; margin-top: 2.5rem; padding-top: 2rem; }
  .about-hero-scroll { display: none; }
  .about-section { padding: 5.5rem 0; }
  .locations-map { height: 460px; }

  /* Timeline → left-rail layout on tablet/mobile */
  .timeline::before { left: 24px; transform: none; }
  .timeline-item,
  .timeline-item.left,
  .timeline-item.right {
    width: 100%;
    left: 0;
    text-align: left;
    padding: 0 0 2.5rem 3.5rem;
  }
  .timeline-item.left .dot,
  .timeline-item.right .dot { left: 15px; right: auto; }
  .timeline-item.left  .timeline-card::after,
  .timeline-item.right .timeline-card::after {
    left: -7px;
    right: auto;
    transform: rotate(-135deg);
  }
}

@media (max-width: 575.98px) {
  .about-hero { min-height: 0; padding: 7.5rem 0 4rem; }
  .about-hero-stats { gap: 1.25rem 2rem; padding-top: 1.75rem; margin-top: 2rem; }
  .hero-stat { min-width: 72px; }
  .about-subnav { gap: 0.25rem; padding: 0.4rem; }
  .about-subnav a { padding: 0.55rem 1rem; font-size: 0.82rem; }
  .team-avatar { width: 110px; height: 110px; font-size: 2rem; }
  .team-grid { gap: 1.5rem; }
  .timeline-card { padding: 1.4rem 1.4rem; }
  .timeline-year { font-size: 1.7rem; }
  .location-city { font-size: 1.4rem; }
  .about-section { padding: 4.5rem 0; }
  .about-cta { padding: 4.5rem 0; }
  .locations-map { height: 380px; }
  .locations-map-legend { left: 0.85rem; bottom: 0.85rem; padding: 0.7rem 0.85rem; font-size: 0.75rem; }
  .locations-map-wrap { padding: 6px; }
  .map-corner { width: 22px; height: 22px; }
}
