:root {
  --color-bg: #ffffff;
  --color-surface: #f8f9fa;
  --color-surface-muted: #f0f1f2;
  --color-accent: #c02026;
  --color-accent-soft: rgba(192, 32, 38, 0.1);
  --color-text: #1a1a1a;
  --color-text-muted: #666666;
  --color-border-subtle: #e0e0e0;
  --color-danger: #c02026;

  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;

  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.05);

  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background: #ffffff;
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
button:hover {
  cursor: pointer;
}

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4.5rem 0;
}

.section--muted {
  background: var(--color-surface);
}

.section--emphasis {
  background: var(--color-surface-muted);
}

.section--cta {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

.section-header {
  max-width: 640px;
  margin: 0 auto 2.25rem;
  text-align: center;
}

.section-header h2 {
  font-size: 2rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.section-header p {
  color: var(--color-text-muted);
  line-height: 1.7;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: var(--space-xl);
  align-items: flex-start;
}

.section-grid--contact {
  align-items: stretch;
}

@media (max-width: 900px) {
  .section-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--color-border-subtle);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 1.25rem;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand a {
  display: inline-block;
  text-decoration: none;
  transition: opacity 0.2s ease-out;
}

.brand a:hover {
  opacity: 0.85;
}

.brand-mark {
  display: block;
  height: auto;
  max-height: 50px;
  width: auto;
  object-fit: contain;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0;
  margin: 0;
}

.main-nav a {
  position: relative;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: color 0.2s ease-out;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--color-accent);
  transition: width 0.2s ease-out;
}

.main-nav a:is(:hover, :focus-visible),
.main-nav a.is-active {
  color: var(--color-text);
}

.main-nav a:is(:hover, :focus-visible)::after,
.main-nav a.is-active::after {
  width: 100%;
}

.nav-item-has-dropdown {
  position: relative;
}

.nav-item-has-dropdown > a::after {
  content: "▼";
  font-size: 0.6rem;
  margin-left: 0.3rem;
  display: inline-block;
  transition: transform 0.2s ease-out;
}

.nav-item-has-dropdown:hover > a::after,
.nav-item-has-dropdown.is-open > a::after {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  list-style: none;
  padding: 0.5rem 0;
  margin: 0.5rem 0 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s ease-out, visibility 0.2s ease-out, transform 0.2s ease-out;
  z-index: 30;
  display: flex;
  flex-direction: column;
}

.nav-item-has-dropdown:hover .nav-dropdown,
.nav-item-has-dropdown.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown li {
  width: 100%;
  margin: 0;
}

.nav-dropdown a {
  display: block;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: background 0.2s ease-out, color 0.2s ease-out;
  border-bottom: none;
}

.nav-dropdown a::after {
  display: none;
}

.nav-dropdown a:hover,
.nav-dropdown a.is-active {
  background: var(--color-accent-soft);
  color: var(--color-accent);
}

.nav-dropdown a.is-active {
  font-weight: 600;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease-out;
  z-index: 25;
}

.mobile-menu-toggle:hover {
  background: var(--color-accent-soft);
}

.mobile-menu-toggle:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.mobile-menu-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 20px;
  height: 16px;
  position: relative;
}

.mobile-menu-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  transition: all 0.3s ease-out;
  transform-origin: center;
}

.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-icon span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-icon span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-icon span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 860px) {
  .header-inner {
    flex-wrap: nowrap;
    align-items: center;
    position: relative;
  }

  .brand-tagline {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
    order: 2;
    margin-left: auto;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid var(--color-border-subtle);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    z-index: 24;
  }

  .main-nav.is-open {
    max-height: 600px;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 0;
  }

  .main-nav li {
    width: 100%;
  }

  .main-nav a {
    display: block;
    padding: 0.85rem 1.25rem;
    font-size: 1rem;
    border-bottom: 1px solid var(--color-border-subtle);
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav a:is(:hover, :focus-visible),
  .main-nav a.is-active {
    background: var(--color-accent-soft);
    color: var(--color-accent);
  }

  .nav-item-has-dropdown > a::after {
    display: none;
  }

  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--color-border-subtle);
    border-radius: 0;
    margin: 0;
    padding: 0;
    min-width: auto;
    background: var(--color-surface);
    display: flex;
    flex-direction: column;
  }

  .nav-dropdown a {
    padding-left: 2.5rem;
    font-size: 0.95rem;
  }

  .btn-outline {
    display: none;
  }
}

.hero {
  padding: 4rem 0 3.5rem;
  background: linear-gradient(to bottom, #ffffff, #f8f9fa);
  position: relative;
}

.hero--fullscreen {
  padding: 0;
  background: transparent;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-content-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
}

.hero-copy {
  max-width: 600px;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero--fullscreen .eyebrow {
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.hero--fullscreen h1 {
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero--fullscreen .hero-subtitle {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero--fullscreen .metric {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero--fullscreen .metric dt {
  color: var(--color-text-muted);
}

.hero--fullscreen .metric dd {
  color: var(--color-text);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3.2fr) minmax(0, 2.4fr);
  gap: 3rem;
  align-items: center;
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .hero--fullscreen {
    min-height: 80vh;
  }

  .hero-content-overlay {
    padding: 1.5rem 1.25rem;
  }

  .hero-copy {
    max-width: 100%;
  }
}

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2.45rem, 3vw + 1.4rem, 3.15rem);
  line-height: 1.15;
  margin: 0 0 1.1rem;
  color: var(--color-text);
}

.hero-subtitle {
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  padding: 0.7rem 1.4rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.2s ease-out;
}

.btn-primary {
  background: var(--color-accent);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(192, 32, 38, 0.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(192, 32, 38, 0.4);
  background: #a01a1f;
}

.btn-secondary {
  background: transparent;
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-secondary:hover {
  background: var(--color-accent-soft);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-outline:hover {
  background: var(--color-accent-soft);
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.1rem;
}

.metric {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-subtle);
}

.metric dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.metric dd {
  margin: 0;
  font-weight: 600;
  color: var(--color-text);
}

.hero-media {
  display: flex;
  justify-content: flex-end;
}

.hero-image-card {
  max-width: 360px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-soft);
}

.hero-image {
  height: 220px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--color-surface);
}

.hero-image--primary {
  background-image: url("../img/placeholder-operations.jpg");
}

.hero-image-card figcaption {
  padding: 0.85rem 1rem 1rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

@media (max-width: 960px) {
  .hero {
    padding-top: 3rem;
  }

  .hero-media {
    justify-content: flex-start;
  }
}

.slideshow-container {
  position: relative;
  max-width: 360px;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-soft);
}

.slideshow-container--fullscreen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: 0;
  border: none;
  box-shadow: none;
  z-index: 1;
}

.slideshow-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slideshow-container--fullscreen .slideshow-wrapper {
  height: 100vh;
}

.slideshow-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  display: flex;
  flex-direction: column;
}

.slideshow-slide.active {
  opacity: 1;
  z-index: 1;
}

.slide-image {
  flex: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
}

.slideshow-container--fullscreen .slide-image {
  min-height: 100vh;
}

.slide-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.slideshow-container--fullscreen .slide-video {
  min-height: 100vh;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
  z-index: 2;
}

.slide-content {
  padding: 1.25rem 1.5rem;
  background: #ffffff;
  z-index: 2;
}

.slide-content--overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  padding: 1.5rem 2rem;
  z-index: 3;
}

.slide-content h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  color: var(--color-text);
  font-weight: 600;
}

.slide-content--overlay h3 {
  color: #ffffff;
  font-size: 1.3rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.slide-content p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.slide-content--overlay p {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  font-size: 1rem;
}

.slideshow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-accent);
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease-out;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.slideshow-btn:hover {
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.slideshow-btn--prev {
  left: 0.75rem;
}

.slideshow-btn--next {
  right: 0.75rem;
}

.slideshow-indicators {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.5rem;
}

.slideshow-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.2s ease-out;
  padding: 0;
}

.slideshow-indicator:hover {
  background: rgba(255, 255, 255, 0.8);
}

.slideshow-indicator.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  width: 24px;
  border-radius: 5px;
}

@media (max-width: 960px) {
  .slideshow-container:not(.slideshow-container--fullscreen) {
    max-width: 100%;
  }

  .slideshow-container:not(.slideshow-container--fullscreen) .slideshow-wrapper {
    height: 350px;
  }

  .slideshow-container:not(.slideshow-container--fullscreen) .slide-image {
    min-height: 240px;
  }

  .slideshow-container--fullscreen .slideshow-wrapper {
    height: 100vh;
  }

  .slide-content--overlay {
    padding: 1.25rem 1.5rem;
  }

  .slide-content--overlay h3 {
    font-size: 1.1rem;
  }

  .slide-content--overlay p {
    font-size: 0.9rem;
  }
}

.section--muted {
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

.section h2 {
  margin-top: 0;
  color: var(--color-text);
}

.section p {
  color: var(--color-text-muted);
  line-height: 1.7;
}

#services {
  position: relative;
  background: #ffffff;
}

#services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("../img/Slide01.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.2;
  z-index: 0;
}

#services .container {
  position: relative;
  z-index: 1;
}

.content-video {
  margin-top: 2rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-subtle);
}

.content-video-player {
  width: 100%;
  height: auto;
  display: block;
  max-height: 600px;
  object-fit: contain;
}

@media (max-width: 900px) {
  .content-video {
    margin-top: 1.5rem;
  }
}

.key-points {
  display: grid;
  gap: 1rem;
}

.key-point {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-subtle);
}

.key-point h3 {
  font-size: 1rem;
  margin: 0 0 0.4rem;
  color: var(--color-text);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (max-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .card-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.card {
  padding: 1.3rem 1.4rem;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-subtle);
  transition: box-shadow 0.2s ease-out, transform 0.2s ease-out;
}

.card:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.55rem;
  font-size: 1.05rem;
  color: var(--color-text);
}

.card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.section-cta {
  margin-top: 1.75rem;
  text-align: right;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-accent);
  font-weight: 500;
}

.link-arrow::after {
  content: "→";
  font-size: 0.9rem;
}

.section--emphasis .section-grid {
  align-items: center;
}

.icon-list {
  list-style: none;
  padding: 0;
  margin: 1.1rem 0 0;
}

.icon-list li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.55rem;
  color: var(--color-text-muted);
}

.icon-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--color-accent);
}

.hse-badge-block {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hse-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 2px solid var(--color-accent);
  box-shadow: var(--shadow-subtle);
}

.hse-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-text-muted);
}

.hse-value {
  font-weight: 600;
  color: var(--color-text);
}

.hse-note {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.hse-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.gallery-thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.gallery-thumbnail:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-soft);
  z-index: 1;
}

.gallery-thumbnail:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.gallery-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease-out;
}

.gallery-thumbnail:hover img {
  transform: scale(1.1);
}

@media (max-width: 640px) {
  .hse-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }
}

.experience-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.experience-showcase-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s ease-out;
  display: flex;
  flex-direction: column;
  border: 2px solid transparent;
}

.experience-showcase-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.experience-showcase-card--current {
  border-color: var(--color-accent);
  box-shadow: 0 8px 30px rgba(192, 32, 38, 0.2);
}

.experience-showcase-image {
  position: relative;
  width: 100%;
  height: 280px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("../img/Slide05.jpg");
  overflow: hidden;
}

.experience-showcase-card--past .experience-showcase-image {
  background-image: url("../img/Slide01.jpg");
}

.experience-showcase-card--current .experience-showcase-image {
  background-image: url("../img/Slide03.jpg");
}

.experience-showcase-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.6));
  transition: opacity 0.3s ease-out;
}

.experience-showcase-card:hover .experience-showcase-overlay {
  opacity: 0.7;
}

.experience-showcase-overlay--current {
  background: linear-gradient(to bottom, rgba(192, 32, 38, 0.2), rgba(0, 0, 0, 0.7));
}

.experience-showcase-badge-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--color-accent);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  box-shadow: 0 4px 12px rgba(192, 32, 38, 0.4);
  z-index: 2;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(192, 32, 38, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(192, 32, 38, 0.6);
  }
}

.experience-showcase-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.experience-showcase-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.experience-showcase-period {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-accent), #a01a1f);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  box-shadow: 0 4px 12px rgba(192, 32, 38, 0.3);
}

.experience-showcase-status {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid var(--color-border-subtle);
}

.experience-showcase-status--active {
  background: rgba(192, 32, 38, 0.1);
  color: var(--color-accent);
  border-color: var(--color-accent);
  animation: pulse-subtle 3s ease-in-out infinite;
}

@keyframes pulse-subtle {
  0%, 100% {
    background: rgba(192, 32, 38, 0.1);
  }
  50% {
    background: rgba(192, 32, 38, 0.15);
  }
}

.experience-showcase-title {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.experience-showcase-description {
  margin: 0;
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.experience-showcase-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.experience-highlight-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  transition: all 0.2s ease-out;
}

.experience-showcase-card:hover .experience-highlight-item {
  background: #ffffff;
  border-color: var(--color-accent);
  box-shadow: var(--shadow-subtle);
}

.experience-highlight-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.experience-highlight-item span {
  font-size: 0.95rem;
  color: var(--color-text);
  font-weight: 500;
}

@media (max-width: 1200px) {
  .experience-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .experience-showcase {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .experience-showcase-image {
    height: 240px;
  }

  .experience-showcase-content {
    padding: 2rem;
  }

  .experience-showcase-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 640px) {
  .experience-showcase-content {
    padding: 1.5rem;
  }

  .experience-showcase-title {
    font-size: 1.3rem;
  }

  .experience-showcase-description {
    font-size: 0.95rem;
  }
}

.awards-grid .card {
  background: #ffffff;
  border-color: var(--color-border-subtle);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.award-card-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--color-surface);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease-out;
}

.award-card-image:hover {
  transform: scale(1.02);
}

.award-card-image:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.award-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease-out;
}

.award-card-image:hover img {
  transform: scale(1.1);
}

.award-card-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease-out;
  z-index: 2;
  pointer-events: none;
}

.award-card-image:hover .award-card-image-overlay {
  opacity: 1;
}

.award-card-content {
  padding: 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.award-card-content h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--color-text);
}

.award-card-content p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.awards-list {
  display: grid;
  gap: 2.5rem;
  margin-top: 2rem;
}

.award-item {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2.5rem;
  padding: 2rem;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-subtle);
  transition: box-shadow 0.2s ease-out, transform 0.2s ease-out;
  align-items: center;
}

.award-item:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.award-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
}

.award-image--clickable {
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
  transition: transform 0.2s ease-out;
}

.award-image--clickable:hover {
  transform: scale(1.02);
}

.award-image--clickable:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.award-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease-out;
}

.award-image--clickable:hover img {
  transform: scale(1.05);
}

.award-image-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  border: 2px dashed var(--color-border-subtle);
  color: var(--color-text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 1;
}

.award-image img + .award-image-placeholder {
  display: none;
}

.award-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity 0.2s ease-out;
  z-index: 2;
  pointer-events: none;
}

.award-image--clickable:hover .award-image-overlay {
  opacity: 1;
}

.award-image-icon {
  font-size: 2rem;
  color: #ffffff;
}

.award-image-text {
  font-size: 0.9rem;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.award-content h2 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  color: var(--color-text);
}

.award-description {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-accent);
  margin: 0 0 0.75rem;
}

.award-details {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 900px) {
  .award-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .award-image {
    max-width: 400px;
    margin: 0 auto;
  }
}

.section-cta-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.section-cta-strip h2 {
  margin-bottom: 0.4rem;
  color: var(--color-text);
}

.section-cta-strip p {
  margin: 0;
  color: var(--color-text-muted);
}

.section-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact-details h3 {
  margin-bottom: 0.25rem;
  color: var(--color-text);
}

.contact-details p {
  margin-top: 0;
  color: var(--color-text-muted);
}

.contact-details a {
  color: var(--color-accent);
}

.contact-form {
  padding: 1.4rem 1.5rem 1.6rem;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-soft);
}

.form-row {
  margin-bottom: 0.9rem;
}

.form-row label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.85rem;
  color: var(--color-text);
  font-weight: 500;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--color-border-subtle);
  padding: 0.55rem 0.65rem;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--color-text);
  background: #ffffff;
  transition: border-color 0.2s ease-out, box-shadow 0.2s ease-out;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-soft);
}

.form-row--inline {
  display: flex;
  align-items: center;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.checkbox input {
  margin-top: 0.2rem;
}

.form-helper {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.map-container {
  margin-top: 2rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border-subtle);
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: none;
}

@media (max-width: 640px) {
  .map-container iframe {
    height: 350px;
  }
}

.site-footer {
  padding: 2.4rem 0 2rem;
  border-top: 1px solid var(--color-border-subtle);
  background: #8b0000;
  color: #ffffff;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 2fr) minmax(0, 1.8fr);
  gap: 2rem;
}

.footer-brand a {
  display: inline-block;
  text-decoration: none;
  transition: opacity 0.2s ease-out;
}

.footer-brand a:hover {
  opacity: 0.85;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-meta {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-nav h3,
.footer-meta-links h3 {
  margin-top: 0;
  font-size: 0.95rem;
  color: #ffffff;
}

.footer-nav ul,
.footer-meta-links ul {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0;
}

.footer-nav li,
.footer-meta-links li {
  margin-bottom: 0.35rem;
}

.footer-nav a,
.footer-meta-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease-out;
}

.footer-nav a:hover,
.footer-meta-links a:hover {
  color: #ffffff;
}

@media (max-width: 860px) {
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .hero-metrics {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-cta-strip {
    align-items: flex-start;
  }
}

.management-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.management-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  padding: 2rem;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-subtle);
  transition: box-shadow 0.2s ease-out, transform 0.2s ease-out;
}

.management-card:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.management-photo {
  display: flex;
  align-items: flex-start;
}

.photo-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--color-surface);
  border: 2px dashed var(--color-border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.management-content h2 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-accent);
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.management-content h3 {
  font-size: 1.5rem;
  margin: 0 0 1rem;
  color: var(--color-text);
}

.management-bio {
  color: var(--color-text-muted);
  line-height: 1.7;
}

.management-bio p {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
}

.management-bio p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .management-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .management-photo {
    justify-content: center;
  }

  .photo-placeholder {
    max-width: 200px;
  }
}

.founding-member-image--clickable {
  position: relative;
  width: 100%;
  max-height: 300px;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.card .founding-member-image--clickable {
  width: auto;
  height: 300px;
  max-width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 0;
  border: none;
  display: block;
  margin: 0 auto;
}

.card-grid .card:only-child,
.card-grid .card:first-child:nth-last-child(2),
.card-grid .card:last-child:nth-child(2) {
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.card-grid .card:only-child .founding-member-image--clickable,
.card-grid .card:first-child:nth-last-child(2) .founding-member-image--clickable,
.card-grid .card:last-child:nth-child(2) .founding-member-image--clickable {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
}

.founding-member-image--clickable:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-soft);
}

.founding-member-image--clickable:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.founding-member-image--clickable img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease-out;
}

.founding-member-image--clickable:hover img {
  transform: scale(1.05);
}

.founding-member-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease-out;
  z-index: 2;
  pointer-events: none;
}

.founding-member-image--clickable:hover .founding-member-image-overlay {
  opacity: 1;
}

.founding-member-image-icon {
  font-size: 2rem;
  color: #ffffff;
}

.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
}

.lightbox-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}

.lightbox-content {
  position: relative;
  z-index: 1001;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
}

.lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  background: #ffffff;
  padding: 0.5rem;
}

.lightbox-caption {
  color: #ffffff;
  font-size: 1.1rem;
  text-align: center;
  margin: 0;
  max-width: 800px;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease-out;
  z-index: 1002;
  line-height: 1;
  padding: 0;
}

.lightbox-close:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: scale(1.1);
}

@media (max-width: 640px) {
  .lightbox-content {
    padding: 1rem;
  }

  .lightbox-close {
    top: 0.5rem;
    right: 0.5rem;
    width: 36px;
    height: 36px;
    font-size: 1.5rem;
  }

  .lightbox-caption {
    font-size: 0.95rem;
  }
}

.section--gold-prices {
  position: relative;
  background: #1a1a1a;
  color: #ffffff;
  padding: 4.5rem 0;
}

.section--gold-prices::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("../img/Slide01.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.2;
  z-index: 0;
}

.section--gold-prices .container {
  position: relative;
  z-index: 1;
}

.section--gold-prices .section-header h2 {
  color: #ffffff;
}

.section--gold-prices .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

.gold-chart-container {
  background: #0f0f0f;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gold-chart-controls {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.gold-chart-timeframes {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.gold-timeframe-btn {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease-out;
  font-weight: 500;
}

.gold-timeframe-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.gold-timeframe-btn.active {
  background: #d4af37;
  border-color: #d4af37;
  color: #1a1a1a;
  font-weight: 600;
}

.gold-chart-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.gold-date-range {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  flex-wrap: wrap;
}

.gold-date-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.gold-date-input {
  padding: 0.4rem 0.6rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 0.85rem;
  font-family: inherit;
  transition: all 0.2s ease-out;
}

.gold-date-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  border-color: #d4af37;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.gold-date-input::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
}

.gold-date-apply-btn {
  padding: 0.4rem 1rem;
  background: #d4af37;
  border: 1px solid #d4af37;
  border-radius: var(--radius-sm);
  color: #1a1a1a;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease-out;
  font-family: inherit;
}

.gold-date-apply-btn:hover {
  background: #c19b2e;
  border-color: #c19b2e;
  transform: translateY(-1px);
}

.gold-performance {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.gold-performance-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.gold-performance-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #4ade80;
}

.gold-chart-legend {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.gold-legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.25rem 0;
  transition: color 0.2s ease-out;
}

.gold-legend-item:hover:not(:disabled) {
  color: rgba(255, 255, 255, 0.8);
}

.gold-legend-item:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.gold-legend-item.active {
  color: #d4af37;
}

.gold-legend-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d4af37;
  display: inline-block;
  flex-shrink: 0;
}

.gold-legend-item:disabled .gold-legend-indicator {
  background: transparent;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.9rem;
  line-height: 1;
}

.gold-chart-wrapper {
  position: relative;
  height: 500px;
  margin-bottom: 1rem;
  background: #0a0a0a;
  border-radius: var(--radius-md);
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.gold-chart-range-selector {
  height: 80px;
  background: #0a0a0a;
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.gold-range-selector-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.gold-range-handles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.gold-range-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #ffffff;
  cursor: ew-resize;
  pointer-events: all;
  z-index: 10;
  transition: background 0.2s ease-out;
}

.gold-range-handle:hover {
  background: #d4af37;
}

.gold-range-handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}

.gold-range-handle:hover::before {
  background: #d4af37;
  box-shadow: 0 0 6px rgba(212, 175, 55, 0.6);
}

.gold-range-handle-left {
  left: 0;
}

.gold-range-handle-right {
  right: 0;
}

.gold-range-selection {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(212, 175, 55, 0.1);
  border-left: 2px solid rgba(212, 175, 55, 0.3);
  border-right: 2px solid rgba(212, 175, 55, 0.3);
  pointer-events: none;
  z-index: 5;
}

@media (max-width: 768px) {
  .gold-chart-controls {
    flex-direction: column;
  }

  .gold-chart-info {
    align-items: flex-start;
    width: 100%;
  }

  .gold-date-range {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
  }

  .gold-date-input {
    width: 100%;
    max-width: 200px;
  }

  .gold-date-apply-btn {
    width: 100%;
    max-width: 200px;
  }

  .gold-chart-wrapper {
    height: 350px;
  }

  .gold-chart-range-selector {
    height: 60px;
  }
}

.gold-chart-attribution {
  text-align: right;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.gold-chart-attribution p {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.gold-chart-attribution a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease-out;
}

.gold-chart-attribution a:hover {
  color: #d4af37;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.service-card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border-subtle);
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease-out;
}

.service-card:hover .service-card-image img {
  transform: scale(1.05);
}

.service-card-content {
  padding: 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-card-content h2 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--color-text);
}

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

.service-card-content .icon-list {
  margin-top: 0.5rem;
}

@media (max-width: 640px) {
  .service-card-image {
    height: 180px;
  }
}
