* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: linear-gradient(#090b0d, #14181d);
  color: #eee;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
  width: 100%;
}

.container {
  max-width: 1180px;
  margin: auto;
  padding: 0 24px;
}

/* Top Announcement Bar */
.top-bar {
  background: #07090c;
  border-bottom: 1px solid #1f232a;
  font-size: 11.5px;
  padding: 7px 0;
  color: #9ca3af;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.iso-pill {
  background: linear-gradient(135deg, #d8b15e, #b98d35);
  color: #111418;
  font-weight: 800;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 10px;
  letter-spacing: 0.5px;
  display: inline-block;
}

.top-bar-text {
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #d7b260;
}

.top-bar-right {
  color: #848a93;
  font-size: 11px;
  letter-spacing: 0.5px;
}

/* Sticky Navigation Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 13, 16, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #292d33;
}

.nav {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.brand:hover {
  transform: translateY(-1px);
}

.brand-logo {
  height: 60px;
  width: auto;
  max-width: 68px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.brand:hover .brand-logo {
  transform: scale(1.04);
  filter: drop-shadow(0 3px 12px rgba(215, 178, 96, 0.35)) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.7));
}

.brand-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1;
}

.logo-text {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 4px;
}

.logo-sub {
  font-size: 10.5px;
  letter-spacing: 3.5px;
  color: #c9a65b;
  margin-top: 5px;
  border-top: 2px solid #c9a65b;
  padding-top: 4px;
}

.logo-iso {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #d7b260;
  margin-top: 4px;
  font-weight: 700;
  white-space: nowrap;
}

nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

nav button {
  background: none;
  border: 0;
  color: #ddd;
  font-size: 15px;
  cursor: pointer;
  transition: color 0.2s ease;
}

nav button:hover {
  color: #d7b260;
}

.quote-btn,
.primary,
.secondary {
  border-radius: 7px;
  padding: 13px 20px;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.quote-btn:hover,
.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(215, 178, 96, 0.3);
}

.quote-btn,
.primary {
  background: linear-gradient(135deg, #d8b15e, #b98d35);
  color: #101010;
  border: 0;
}

.secondary {
  border: 1px solid #777;
  color: #eee;
  background: transparent;
}

.secondary:hover {
  border-color: #aaa;
  color: #fff;
}

.mobile-menu {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 22px;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
}

.mobile-menu:hover,
.mobile-menu:active {
  background: rgba(215, 178, 96, 0.15);
  border-color: #d7b260;
  color: #d7b260;
}

/* Main Container & Page Router */
.main {
  padding-top: 40px;
  min-height: calc(100vh - 170px);
}

.page {
  display: none;
}

.page.active {
  display: block;
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  padding: 50px 0 20px;
  max-width: 960px;
  margin: 0 auto;
}

.hero-badge-iso {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(215, 178, 96, 0.1);
  border: 1px solid rgba(215, 178, 96, 0.35);
  border-radius: 20px;
  color: #d7b260;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
  box-shadow: 0 0 20px rgba(215, 178, 96, 0.12);
}

.iso-seal-icon {
  color: #d7b260;
  font-size: 14px;
}

.eyebrow {
  color: #d7b260;
  letter-spacing: 2.5px;
  font-size: 13px;
  font-weight: 700;
}

.hero h1 {
  font-size: 46px;
  line-height: 1.15;
  margin: 16px 0 12px;
  color: #fff;
}

.hero h2 {
  font-size: 21px;
  color: #d7b260;
  line-height: 1.35;
  margin: 0 0 16px;
  font-weight: 500;
}

.lead {
  color: #c8cbd0;
  font-size: 16.5px;
  line-height: 1.75;
  max-width: 760px;
  margin: 0 auto;
}

.actions {
  display: flex;
  gap: 15px;
  margin-top: 28px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  gap: 20px;
  margin-top: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #a0a6af;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 18px;
  border-radius: 25px;
}

.trust-badge span {
  color: #d7b260;
  font-weight: 700;
}

.trust-badge.highlight-trust {
  border-color: rgba(215, 178, 96, 0.45);
  background: rgba(215, 178, 96, 0.08);
  color: #f5f6f8;
  font-weight: 700;
}

/* Facility Section */
.facility-section {
  margin-top: 60px;
  padding-bottom: 20px;
}

.facility-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 35px;
  background: #11151a;
  border: 1px solid #282d35;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  align-items: center;
}

.facility-image-wrapper {
  position: relative;
  height: 100%;
  min-height: 380px;
  overflow: hidden;
}

.facility-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.facility-card:hover .facility-img {
  transform: scale(1.04);
}

.facility-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(17, 21, 26, 0) 65%, rgba(17, 21, 26, 1) 100%);
}

.facility-content {
  padding: 40px 40px 40px 10px;
}

.facility-tag {
  color: #d7b260;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 12px;
}

.facility-content h3 {
  font-size: 28px;
  margin: 0 0 16px;
  line-height: 1.25;
  color: #fff;
}

.facility-content p {
  color: #c8cbd0;
  line-height: 1.7;
  font-size: 15px;
  margin-bottom: 28px;
}

.facility-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 1px solid #282d35;
  padding-top: 22px;
}

.stat-item strong {
  display: block;
  font-size: 20px;
  color: #d7b260;
  font-weight: 800;
  margin-bottom: 4px;
}

.stat-item span {
  font-size: 12px;
  color: #9ca2a9;
  line-height: 1.4;
  display: block;
}

/* Products Gallery */
.section-title {
  text-align: center;
  font-size: 32px;
  margin: 15px 0 28px;
}

.section-title.left {
  text-align: left;
}

.tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.tab {
  padding: 11px 15px;
  border-radius: 6px;
  background: transparent;
  color: #ccc;
  border: 1px solid #444;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab:hover {
  border-color: #888;
  color: #fff;
}

.tab.active {
  background: #2f6eb3;
  color: white;
  border-color: #2f6eb3;
}

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

.product {
  background: #191c20;
  border: 1px solid #292d33;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
}

.product-image {
  height: 200px;
  background: #f6f7f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #222;
  font-size: 65px;
  overflow: hidden;
  position: relative;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  display: block;
  transition: transform 0.35s ease;
}

.product:hover .product-img {
  transform: scale(1.06);
}

.product-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product h3 {
  margin: 0 0 7px;
  font-size: 19px;
}

.muted {
  color: #9ca2a9;
  font-size: 13px;
}

.desc {
  color: #c6c9cd;
  font-size: 14px;
  line-height: 1.5;
  min-height: 42px;
  margin-top: 8px;
  flex-grow: 1;
}

.product-actions {
  display: flex;
  gap: 8px;
  margin-top: 15px;
}

.small-btn {
  padding: 9px 12px;
  border: 1px solid #444;
  border-radius: 6px;
  color: #ddd;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.small-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: #888;
}

.small-btn.blue {
  background: #2f6eb3;
  border-color: #2f6eb3;
  color: #fff;
}

.small-btn.blue:hover {
  background: #3b82d4;
  border-color: #3b82d4;
}

/* About & Contact Section Grids */
.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  align-items: start;
}

.about-grid p {
  color: #c8cbd0;
  line-height: 1.7;
}

.about-card {
  position: relative;
  min-height: 440px;
  border-radius: 18px;
  overflow: hidden;
  background: #11151a;
  border: 1px solid #2e353f;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}

.about-badge-gold {
  background: linear-gradient(135deg, #d8b15e, #b98d35);
  color: #111;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 15px;
  box-shadow: 0 4px 12px rgba(215, 178, 96, 0.25);
}

.badge-tag {
  display: inline-block;
  background: rgba(215, 178, 96, 0.15);
  border: 1px solid rgba(215, 178, 96, 0.35);
  color: #d7b260;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 6px;
  letter-spacing: 0.5px;
}

.contact-grid {
  margin-top: 28px;
}

.contact-card {
  background: #0d1013;
  border: 1px solid #292e34;
  border-radius: 12px;
  padding: 25px;
}

.contact-card p {
  color: #c8cbd0;
  line-height: 1.6;
}

.contact-card a {
  color: #9ec0ff;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  margin: 8px 0;
  padding: 12px;
  background: transparent;
  border: 1px solid #444;
  border-radius: 6px;
  color: #fff;
  font: inherit;
}

.contact-card input:focus,
.contact-card textarea:focus {
  outline: none;
  border-color: #d7b260;
}

.contact-card textarea {
  resize: vertical;
}

/* Footer */
footer {
  border-top: 1px solid #292d33;
  margin-top: 70px;
  background: #090b0d;
}

.footer {
  min-height: 95px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #aaa;
  font-size: 13px;
}

.footer span {
  font-size: 11px;
  color: #777;
}

.footer a {
  color: #9ec0ff;
}

.footer-iso {
  color: #d7b260;
  font-weight: 700;
}

/* ============================================================
   RESPONSIVE MEDIA QUERIES (TABLETS & PHONES)
   ============================================================ */

/* Tablet & Mobile Screens (<= 800px) */
@media (max-width: 800px) {
  .top-bar-right {
    display: none;
  }

  .top-bar-inner {
    justify-content: center;
  }

  .logo-iso {
    font-size: 7px;
    letter-spacing: 1px;
  }

  .hero-badge-iso {
    font-size: 10.5px;
    letter-spacing: 1px;
    padding: 5px 12px;
  }

  .nav {
    height: auto;
    min-height: 72px;
    padding: 8px 0;
    position: relative;
  }

  .brand {
    margin: 0;
  }

  .brand-logo {
    height: 46px;
    width: 46px;
  }

  .logo-text {
    font-size: 22px;
    letter-spacing: 2.5px;
  }

  .logo-sub {
    font-size: 9px;
    letter-spacing: 2px;
  }

  /* Hamburger Menu Toggle Button */
  .mobile-menu {
    display: flex;
  }

  /* Dropdown Navigation Menu */
  nav {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #0e1217;
    border: 1px solid #2e353f;
    border-radius: 12px;
    padding: 14px;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85);
    z-index: 999;
  }

  nav.mobile-open {
    display: flex;
    animation: navSlideDown 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  }

  @keyframes navSlideDown {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  nav button {
    width: 100%;
    text-align: left;
    padding: 13px 16px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    color: #eee;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.15s ease;
  }

  nav button:hover,
  nav button:active {
    background: rgba(215, 178, 96, 0.14);
    color: #d7b260;
    border-color: rgba(215, 178, 96, 0.3);
    padding-left: 20px;
  }

  nav .quote-btn {
    width: 100%;
    text-align: center;
    margin-top: 4px;
    padding: 13px 16px;
    display: flex;
  }

  .hero {
    padding: 30px 0 10px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero h2 {
    font-size: 18px;
  }

  .hero-trust {
    gap: 10px;
  }

  .trust-badge {
    font-size: 12px;
    padding: 6px 14px;
  }

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

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .about-card {
    height: auto;
    min-height: auto;
  }

  .about-card > div:first-child {
    height: 220px !important;
  }

  .facility-card {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .facility-image-wrapper {
    min-height: 260px;
  }

  .facility-overlay {
    background: linear-gradient(to bottom, rgba(17, 21, 26, 0) 60%, rgba(17, 21, 26, 1) 100%);
  }

  .facility-content {
    padding: 28px 24px;
  }

  .facility-stats {
    grid-template-columns: 1fr 1fr;
  }
}

/* Category Filter Tabs Touch Scroll (<= 640px) */
@media (max-width: 640px) {
  .tabs {
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 4px 2px 12px;
    gap: 8px;
    margin-bottom: 22px;
    scrollbar-width: thin;
  }

  .tabs::-webkit-scrollbar {
    height: 4px;
  }

  .tabs::-webkit-scrollbar-thumb {
    background: #2e353f;
    border-radius: 4px;
  }

  .tab {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 12px;
    padding: 9px 13px;
  }
}

/* Phones (<= 520px) */
@media (max-width: 520px) {
  .container {
    padding: 0 16px;
  }

  .brand {
    gap: 10px;
  }

  .brand-logo {
    height: 40px;
    width: 40px;
    max-width: 40px;
  }

  .logo-text {
    font-size: 17px;
    letter-spacing: 1.5px;
  }

  .logo-sub {
    font-size: 7.5px;
    letter-spacing: 1px;
    margin-top: 3px;
    padding-top: 2px;
  }

  .logo-iso {
    font-size: 6.5px;
    letter-spacing: 0.5px;
    margin-top: 2px;
  }

  .hero-badge-iso {
    font-size: 9.5px;
    letter-spacing: 0.6px;
    padding: 4px 10px;
  }

  .hero h1 {
    font-size: 28px;
    line-height: 1.2;
  }

  .hero h2 {
    font-size: 16px;
    line-height: 1.35;
  }

  .lead {
    font-size: 14.5px;
    line-height: 1.65;
  }

  .actions {
    flex-direction: column;
    width: 100%;
  }

  .actions button,
  .actions a {
    width: 100%;
    text-align: center;
  }

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

  .section-title {
    font-size: 24px;
  }

  .facility-content {
    padding: 22px 16px;
  }

  .facility-content h3 {
    font-size: 22px;
  }

  .facility-stats {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 20px 0;
  }
}

/* Small / Narrow Phones (<= 380px) */
@media (max-width: 380px) {
  .container {
    padding: 0 12px;
  }

  .brand-logo {
    height: 34px;
    width: 34px;
    max-width: 34px;
  }

  .logo-text {
    font-size: 15px;
    letter-spacing: 1px;
  }

  .logo-sub {
    font-size: 6.5px;
    letter-spacing: 0.5px;
  }

  .logo-iso {
    font-size: 6px;
    letter-spacing: 0.2px;
  }

  .product-actions {
    flex-direction: column;
  }

  .product-actions .small-btn {
    width: 100%;
    text-align: center;
  }

  .trust-badge {
    width: 100%;
    justify-content: center;
  }
}

/* ===================================================
   SEO Showcase Section & Backlines Directory
=================================================== */
.seo-section {
  margin-top: 50px;
  padding: 40px 0 10px;
  border-top: 1px solid #202630;
}

.seo-header {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 35px;
}

.seo-eyebrow {
  color: #d7b260;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.seo-title {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 14px;
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.seo-subtitle {
  color: #9ca3af;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-bottom: 30px;
}

.seo-card {
  background: #11151a;
  border: 1px solid #222730;
  border-radius: 14px;
  padding: 24px 22px;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.seo-card:hover {
  transform: translateY(-4px);
  border-color: #d7b260;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.seo-card-icon {
  font-size: 26px;
  margin-bottom: 14px;
  display: inline-block;
}

.seo-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #f3f4f6;
  margin: 0 0 10px;
  letter-spacing: -0.2px;
}

.seo-card p {
  font-size: 13.5px;
  color: #9ca3af;
  line-height: 1.6;
  margin: 0 0 16px;
  flex-grow: 1;
}

.seo-card-link {
  color: #d7b260;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
}

.seo-card-link:hover {
  color: #e5c378;
  text-decoration: underline;
}

/* SEO Backlines Directory & Search Index */
.seo-backlines-section {
  background: #090b0e;
  border-top: 1px solid #1c2128;
  padding: 48px 0 40px;
  margin-top: 60px;
}

.seo-backlines-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #d7b260;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.seo-backlines-desc {
  color: #838a95;
  font-size: 13.5px;
  margin: 0 0 28px;
  line-height: 1.6;
}

.seo-backlines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 26px;
}

.backlines-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #e2e8f0;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #202630;
}

.backlines-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.backline-tag {
  background: #13171e;
  color: #94a3b8;
  border: 1px solid #242b36;
  border-radius: 6px;
  font-size: 12px;
  padding: 6px 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  line-height: 1.35;
  display: inline-block;
}

.backline-tag:hover {
  background: #1c222c;
  color: #d7b260;
  border-color: #d7b260;
  transform: translateY(-1px);
}

.backline-tag.featured-tag {
  color: #d7b260;
  border-color: rgba(215, 178, 96, 0.4);
  background: rgba(215, 178, 96, 0.08);
  font-weight: 600;
}