/* VAKOL BRASS — public design system */

:root {
  --navy: #121826;
  --navy-2: #1b2434;
  --ink: #1f2430;
  --muted: #6b6560;
  --brass: #c4a35a;
  --brass-dark: #8f7330;
  --brass-soft: #e8d7a8;
  --paper: #fffdf8;
  --off: #f4f0e7;
  --line: #e4ddd0;
  --shadow: 0 16px 40px rgba(18, 24, 38, 0.08);
  --radius: 18px;
  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --bs-body-font-family: var(--font-body);
  --bs-font-sans-serif: var(--font-body);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

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

a { color: inherit; }

.topbar {
  background: var(--navy);
  color: #d8d3c8;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.topbar a { color: #f3efe6; text-decoration: none; }
.topbar a:hover { color: var(--brass-soft); }
.topbar .sep { opacity: 0.35; margin: 0 0.6rem; }

.site-header {
  background: linear-gradient(180deg, #171e2c 0%, var(--navy) 100%);
  border-bottom: 1px solid rgba(196, 163, 90, 0.28);
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 8px 24px rgba(18, 24, 38, 0.18);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  line-height: 0;
  padding: 0.1rem 0;
  transition: opacity 0.2s ease;
}

.brand-mark:hover {
  opacity: 0.92;
}

.brand-logo-frame {
  display: contents;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.brand-logo {
  display: block;
  height: 72px;
  width: auto;
  max-width: min(42vw, 150px);
  object-fit: contain;
  flex-shrink: 0;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.brand-mark-footer .brand-logo {
  height: 96px;
  max-width: 180px;
}

.navbar {
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  min-height: 88px;
}

.navbar-toggler {
  border-color: rgba(232, 215, 168, 0.35);
  padding: 0.4rem 0.55rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.15rem rgba(196, 163, 90, 0.25);
}

.navbar-toggler-icon {
  filter: invert(1) brightness(1.15);
}

@media (max-width: 575.98px) {
  .brand-logo {
    height: 58px;
    max-width: 120px;
  }

  .navbar {
    min-height: 74px;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
  }
}

.brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  line-height: 1.1;
  gap: 0.18rem;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #ffffff;
  white-space: nowrap;
}

.brand-text span {
  display: block;
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  text-align: left;
  color: rgba(255, 255, 255, 0.88);
  margin-right: -0.32em;
}

.navbar-nav .nav-link {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ddd6c8 !important;
  padding: 0.7rem 0.7rem !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--brass-soft) !important; }

.dropdown-menu {
  font-family: var(--font-body);
  font-size: 0.92rem;
  background: #1b2434;
  border: 1px solid rgba(196, 163, 90, 0.22);
  border-radius: 12px;
  padding: 0.45rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.dropdown-item {
  color: #e7e0d2;
  border-radius: 8px;
  padding: 0.55rem 0.8rem;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: rgba(196, 163, 90, 0.16);
  color: #fff;
}

@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu,
  .navbar .dropdown:focus-within > .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(196, 163, 90, 0.18);
  }

  .navbar-collapse .dropdown-menu {
    display: block;
    position: static;
    float: none;
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 0 0 0.4rem 0.9rem;
  }

  .navbar-collapse .dropdown-item {
    color: #cfc8bb;
  }
}

.btn-brass,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.78rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: 0.2s ease;
}

.btn-brass {
  background: var(--brass);
  color: var(--navy);
  border-color: var(--brass);
}

.btn-brass:hover { background: var(--brass-dark); color: #fff; }

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}

.btn-ghost:hover { border-color: var(--brass); color: var(--brass-soft); }

.btn-navy {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.btn-navy:hover { background: var(--navy-2); color: #fff; }

.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 80% 20%, rgba(196,163,90,0.18), transparent 28%),
    linear-gradient(120deg, rgba(18,24,38,0.94), rgba(18,24,38,0.78)),
    var(--navy-2);
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(196,163,90,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,163,90,0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 30% 40%, #000 20%, transparent 75%);
}

.hero-inner { position: relative; z-index: 1; padding: 6rem 0 5rem; }

.hero-slider {
  position: relative;
  min-height: 78vh;
  color: #fff;
  overflow: hidden;
  background: var(--navy);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.hero-slide-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(18,24,38,0.82), rgba(18,24,38,0.45) 55%, rgba(18,24,38,0.28));
}

.hero-slider .hero-inner {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-slider .hero-inner.is-title-only {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: none;
  padding: 3.6rem 1.25rem 2rem;
}

.hero-slide-overlay.is-light {
  background:
    linear-gradient(180deg, rgba(18,24,38,0.62) 0%, rgba(18,24,38,0.22) 45%, rgba(18,24,38,0.4) 100%);
}

.hero-title-only {
  display: block;
  width: fit-content;
  max-width: min(920px, 100%);
  margin-left: auto;
  margin-right: auto;
  padding: 0.65rem 1.6rem 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.6vw, 2.5rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: none;
  color: #fff6df;
  text-align: center;
  text-shadow:
    0 1px 0 rgba(196, 163, 90, 0.4),
    0 6px 28px rgba(0, 0, 0, 0.65);
  border-bottom: 2px solid var(--brass);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 50%;
  background: rgba(18,24,38,0.35);
  color: #fff;
  display: grid;
  place-items: center;
}

.hero-nav:hover { border-color: var(--brass); color: var(--brass-soft); }
.hero-prev { left: 1rem; }
.hero-next { right: 1rem; }

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.4rem;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}

.hero-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
}

.hero-dots button.is-active { background: var(--brass); width: 22px; border-radius: 999px; }

@media (max-width: 767px) {
  .hero-nav { display: none; }
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--brass);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.74rem;
  margin-bottom: 1rem;
}

.hero h1,
.page-hero h1,
.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.hero h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); max-width: 14ch; }

.hero .lead {
  max-width: 34rem;
  color: #d8d3c8;
  font-size: 1.15rem;
  margin: 1.25rem 0 2rem;
}

.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 4.5rem 0 3.5rem;
}

.page-hero p { color: #cfc8bb; max-width: 40rem; }

.section { padding: 5rem 0; }
.section-muted { background: var(--off); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy .section-title { color: #fff; }
.section-navy .why-point h3 { color: #fff; margin-bottom: 0.55rem; }
.section-navy .why-point p { color: #cfc8bb; line-height: 1.55; }

.section-title { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 0.75rem; }
.section-copy { color: var(--muted); max-width: 40rem; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--navy);
}
.stat-card span { color: var(--muted); font-size: 0.88rem; }
.stat-empty { font-size: 0.92rem !important; color: var(--brass-dark) !important; }

.home-certs-extra {
  max-width: 46rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.card-quiet {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-quiet:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(18,24,38,0.12);
}

.product-detail-grid {
  position: relative;
  z-index: 0;
  align-items: flex-start;
}

.product-gallery-card {
  height: auto;
}

.product-gallery-card:hover {
  transform: none;
  box-shadow: var(--shadow);
}

.related-products {
  position: relative;
  z-index: 0;
  clear: both;
}

.product-media {
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(160deg, #efe7d4, #d8c49a 45%, #b8944c);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.card-quiet:hover .product-media img {
  transform: scale(1.18);
}

.product-main-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #efe7d4;
  position: relative;
}

.product-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  background: #efe7d4;
  aspect-ratio: 1 / 1;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumb.is-active,
.product-thumb:hover { border-color: var(--brass); }

.product-media .placeholder-mark {
  font-family: var(--font-display);
  color: rgba(18,24,38,0.35);
  font-size: 1.4rem;
}

.product-body { padding: 1.2rem 1.25rem 1.4rem; }
.product-code {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--brass-dark);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}
.product-body h3 { font-size: 1.15rem; margin: 0.2rem 0 0.45rem; }
.product-body p { color: var(--muted); font-size: 0.92rem; margin-bottom: 0.8rem; }

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(196,163,90,0.14);
  color: var(--brass-dark);
  margin-bottom: 1rem;
}
.feature-icon-sm {
  width: 38px;
  height: 38px;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}
.quality-points li {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}
.quality-points li:last-child {
  border-bottom: 1px solid var(--line);
}
.quality-points strong {
  color: var(--navy);
  font-size: 0.95rem;
}
.quality-points span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}
.industry-home-card strong {
  display: block;
  color: var(--navy);
  font-size: 1rem;
}

.process-step {
  padding: 1.4rem;
  border-left: 2px solid var(--brass);
  background: #fff;
  border-radius: 0 var(--radius) var(--radius) 0;
  height: 100%;
}

.process-step .num {
  font-family: var(--font-display);
  color: var(--brass-dark);
  font-size: 1.6rem;
}

.industry-tile {
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  min-height: 160px;
}

.category-card {
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(18,24,38,0.12);
}
.category-media {
  aspect-ratio: 16 / 10;
  background: linear-gradient(160deg, #efe7d4, #d8c49a 45%, #b8944c);
  overflow: hidden;
}
.category-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.category-body {
  padding: 1.25rem 1.35rem 1.4rem;
}
.category-body h3 {
  margin-bottom: 0.45rem;
}
.category-body p {
  font-size: 0.92rem;
  margin-bottom: 0.85rem;
  line-height: 1.5;
}
.category-link {
  color: var(--brass-dark);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cert-panel {
  height: auto;
}

.cert-panel:hover {
  transform: none;
}

.cert-list {
  display: grid;
  gap: 1rem;
}

.cert-card {
  display: grid;
  gap: 0.85rem;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbf8f1;
}

.cert-thumb {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.cert-thumb img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  object-position: center top;
}

.cert-copy {
  display: grid;
  gap: 0.28rem;
}

.cert-copy strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy);
}

.cert-copy p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  margin: 0;
}

.cert-meta {
  color: var(--muted);
  font-size: 0.82rem;
}

.cert-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.2rem;
}

.cert-actions a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass-dark);
  text-decoration: none;
}

.cert-actions a:hover {
  color: var(--navy);
}

.quote-banner {
  background:
    linear-gradient(120deg, rgba(18,24,38,0.94), rgba(18,24,38,0.82)),
    var(--navy-2);
  color: #fff;
  border-radius: 28px;
  padding: 3.2rem;
}

.testimonial-card { padding: 1.6rem; }
.testimonial-card p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.08rem;
}

.about-promise {
  color: var(--navy);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.about-director-role {
  color: var(--brass-dark);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.86rem;
}

.director-photo {
  aspect-ratio: 4 / 5;
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  background: linear-gradient(160deg, #efe7d4, #d8c49a 45%, #b8944c);
}

.director-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-director-bio p {
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.about-director-bio p:last-child {
  margin-bottom: 1rem;
}

.about-team {
  background:
    linear-gradient(180deg, rgba(239, 231, 212, 0.45), transparent 70%);
}

.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  height: 100%;
}

.team-photo {
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, #efe7d4, #d8c49a 45%, #b8944c);
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.team-role {
  color: var(--brass-dark);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
}

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

.site-footer {
  background: var(--navy);
  color: #cfc8bb;
  padding: 4rem 0 1.5rem;
}

.site-footer h4 {
  font-family: var(--font-body);
  font-weight: 600;
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.site-footer a { color: #cfc8bb; text-decoration: none; }
.site-footer a:hover { color: var(--brass-soft); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 2.5rem; padding-top: 1.2rem; font-size: 0.85rem; }
.footer-credit {
  text-align: center;
  margin-top: 0.65rem;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  color: rgba(207, 200, 187, 0.75);
}
.footer-credit a {
  color: var(--brass);
  text-decoration: none;
}
.footer-credit a:hover {
  color: #fff;
  text-decoration: underline;
}

.form-control, .form-select, .form-label {
  font-family: var(--font-body);
}

.form-control, .form-select {
  border-radius: 12px;
  border-color: var(--line);
  padding: 0.75rem 0.9rem;
  background: #fff;
}

.form-control:focus, .form-select:focus {
  border-color: var(--brass);
  box-shadow: 0 0 0 0.2rem rgba(196,163,90,0.18);
}

.breadcrumb { background: transparent; padding: 0; }
.breadcrumb-item a { color: var(--brass-dark); text-decoration: none; }

.spec-table th {
  width: 34%;
  color: var(--muted);
  font-weight: 500;
}

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

.gallery-item {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: #efe7d4;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img { transform: scale(1.12); }

.search-bar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.4rem 0.35rem 1rem;
}

.search-bar input { border: 0; box-shadow: none !important; }

.filter-chip {
  display: inline-block;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.82rem;
  text-decoration: none;
  color: var(--ink);
  margin: 0 0.3rem 0.4rem 0;
}

.filter-chip.active,
.filter-chip:hover { border-color: var(--brass); color: var(--brass-dark); }

.alert { border: 0; border-radius: 14px; }

@media (max-width: 991px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: auto; }
  .quote-banner { padding: 2rem; }
}

@media (max-width: 767px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .navbar-nav .nav-link { padding: 0.55rem 0 !important; }
}

@media (max-width: 480px) {
  .stat-grid,
  .gallery-grid { grid-template-columns: 1fr; }
}
