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

:root {
  --yellow: #ffc107;
  --yellow-dark: #e5ac00;
  --black: #1a1a1a;
  --dark: #222;
  --grey-dark: #333;
  --grey: #666;
  --grey-light: #999;
  --white: #fff;
  --off-white: #f5f5f5;
  --danger: #e53935;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', 'Courier New', monospace;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-label {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--yellow-dark);
  background: rgba(255, 193, 7, 0.15);
  padding: 0.3rem 0.8rem;
  margin-bottom: 1rem;
}

.section-intro {
  font-size: 1rem;
  color: var(--grey);
  max-width: 680px;
  margin-bottom: 3rem;
}

h2 {
  font-weight: 800;
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--black);
}

/* ===== TOPBAR ===== */
.topbar {
  background: var(--black);
  color: var(--grey-light);
  font-size: 0.75rem;
  padding: 0.5rem 2rem;
  font-family: var(--mono);
}

.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.topbar-divider {
  color: #444;
}

/* ===== HEADER ===== */
header {
  background: var(--white);
  border-bottom: 3px solid var(--yellow);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.8rem 2rem;
}

.brand {
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  flex-shrink: 0;
}

.logo-rigid {
  color: var(--black);
}

.logo-rigs {
  color: var(--yellow-dark);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--grey-dark);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--black);
}

.nav-cta {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.6rem 1.4rem;
  background: var(--yellow);
  color: var(--black);
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--yellow-dark);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--black);
  position: absolute;
  left: 0;
  transition: all 0.3s;
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.menu-toggle span:nth-child(3) { bottom: 0; }

.menu-toggle.active span:nth-child(1) { top: 50%; transform: rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { bottom: 50%; transform: rotate(-45deg); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.85rem 2rem;
  transition: all 0.2s;
  text-align: center;
}

.btn-primary {
  background: var(--yellow);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--yellow-dark);
}

.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--black);
}

.btn-outline-dark {
  border: 2px solid var(--black);
  color: var(--black);
}

.btn-outline-dark:hover {
  background: var(--black);
  color: var(--white);
}

/* ===== HERO ===== */
.hero,
.page-hero-dark {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  color: var(--white);
}

.hero-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  background: var(--yellow);
  color: var(--black);
  padding: 0.35rem 0.9rem;
  margin-bottom: 1.5rem;
}

.hero h1,
.page-hero-dark h1 {
  font-weight: 900;
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  max-width: 600px;
}

.hero p,
.page-hero-dark p {
  font-size: 1rem;
  color: #ccc;
  max-width: 550px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== PAGE TITLE ===== */
.page-title {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid #eee;
}

.page-title h1 {
  font-weight: 900;
  font-size: 2.8rem;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

/* ===== STATS ===== */
.stats {
  background: var(--black);
  border-top: 3px solid var(--yellow);
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stat {
  padding: 2.5rem 1rem;
  border-right: 1px solid #333;
}

.stat:last-child {
  border-right: none;
}

.stat-number {
  display: block;
  font-weight: 900;
  font-size: 2rem;
  color: var(--yellow);
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--grey-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== PRODUCTS ===== */
.products {
  padding: 5rem 0;
  background: var(--off-white);
}

.products h2 {
  margin-bottom: 0.5rem;
}

.products-cta {
  text-align: center;
  margin-top: 3rem;
}

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

.product-card {
  background: var(--white);
  border: 1px solid #e5e5e5;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.product-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.product-img {
  overflow: hidden;
  height: 200px;
}

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

.product-info {
  padding: 1.5rem;
}

.product-info h3 {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.product-info p {
  font-size: 0.88rem;
  color: var(--grey);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.specs {
  list-style: none;
}

.specs li {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--grey-dark);
  padding: 0.35rem 0;
  border-top: 1px solid #eee;
}

.specs li::before {
  content: "\2713";
  color: var(--yellow-dark);
  font-weight: 700;
  margin-right: 0.5rem;
}

/* ===== SERVICES ===== */
.services {
  padding: 5rem 0;
}

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

.service-item {
  padding: 2rem 1.5rem;
  border: 2px solid #eee;
  transition: border-color 0.3s;
}

.service-item:hover {
  border-color: var(--yellow);
}

.service-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1.2rem;
}

.service-icon svg {
  width: 100%;
  height: 100%;
  color: var(--yellow-dark);
}

.service-item h3 {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.7rem;
}

.service-item p {
  font-size: 0.88rem;
  color: var(--grey);
  line-height: 1.6;
}

/* ===== CERTIFICATIONS ===== */
.certifications {
  padding: 5rem 0;
  background: var(--dark);
  color: var(--white);
}

.certifications h2 {
  color: var(--white);
}

.certifications .section-intro {
  color: var(--grey-light);
}

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

.cert-item {
  text-align: center;
  padding: 2rem 1rem;
  border: 1px solid #444;
}

.cert-badge {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--yellow);
  margin-bottom: 0.8rem;
  letter-spacing: 0.05em;
}

.cert-item p {
  font-size: 0.85rem;
  color: var(--grey-light);
  line-height: 1.5;
}

/* ===== CONTACT ===== */
.contact {
  padding: 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

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

.contact-info > p {
  font-size: 0.95rem;
  color: var(--grey);
  margin-bottom: 2rem;
}

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

.contact-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  padding: 1rem 0;
  border-top: 1px solid #eee;
  font-size: 0.9rem;
}

.contact-row strong {
  font-weight: 600;
  color: var(--black);
}

.contact-row a {
  color: var(--black);
  font-weight: 600;
  transition: color 0.2s;
}

.contact-row a:hover {
  color: var(--yellow-dark);
}

.contact-image {
  overflow: hidden;
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== ABOUT PAGE ===== */
.about-story {
  padding: 5rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 1rem;
}

.about-text p {
  font-size: 0.95rem;
  color: var(--grey);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.about-img {
  overflow: hidden;
}

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

.about-values {
  padding: 5rem 0;
  background: var(--off-white);
}

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

.value-card {
  padding: 2rem;
  background: var(--white);
  border-left: 4px solid var(--yellow);
}

.value-card h3 {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--grey);
  line-height: 1.6;
}

/* ===== EQUIPMENT PAGE ===== */
.equipment-list {
  padding: 3rem 0 5rem;
}

.equip-category {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2.5rem;
  align-items: start;
  padding: 3rem 0;
  border-bottom: 1px solid #eee;
}

.equip-category:last-child {
  border-bottom: none;
}

.equip-img {
  overflow: hidden;
}

.equip-img img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.equip-info h2 {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
}

.equip-info p {
  font-size: 0.92rem;
  color: var(--grey);
  margin-bottom: 0.8rem;
  line-height: 1.7;
}

.equip-specs {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid #eee;
}

.equip-specs div {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--grey-dark);
  padding: 0.3rem 0;
}

.equip-specs strong {
  color: var(--black);
}

.equipment-cta {
  padding: 4rem 0;
  background: var(--off-white);
}

.cta-box {
  background: var(--white);
  border: 2px solid var(--yellow);
  padding: 3rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-box h2 {
  margin-bottom: 0.8rem;
}

.cta-box p {
  font-size: 0.95rem;
  color: var(--grey);
  margin-bottom: 2rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== SAFETY GUIDE PAGE ===== */
.guide-article {
  padding-bottom: 5rem;
}

.guide-content {
  max-width: 800px;
  margin: 0 auto;
}

.guide-content h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.guide-content h3 {
  font-weight: 700;
  font-size: 1.15rem;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}

.guide-content p {
  font-size: 0.95rem;
  color: var(--grey-dark);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.guide-img-full {
  margin: 2rem 0 3rem;
}

.guide-img-full img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.guide-img-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.guide-img-pair img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.guide-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.guide-list li {
  font-size: 0.92rem;
  color: var(--grey-dark);
  padding: 0.5rem 0 0.5rem 1.5rem;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
  line-height: 1.6;
}

.guide-list li::before {
  content: "\25B8";
  color: var(--yellow-dark);
  font-weight: 700;
  position: absolute;
  left: 0;
}

.guide-callout {
  background: var(--off-white);
  border-left: 4px solid var(--yellow);
  padding: 2rem;
  margin: 2.5rem 0;
}

.guide-callout h3 {
  margin-top: 0;
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.guide-callout ul {
  list-style: none;
  margin-bottom: 0;
}

.guide-callout ul li {
  font-size: 0.9rem;
  color: var(--grey-dark);
  padding: 0.3rem 0 0.3rem 1.2rem;
  position: relative;
}

.guide-callout ul li::before {
  content: "\2713";
  color: var(--yellow-dark);
  font-weight: 700;
  position: absolute;
  left: 0;
}

.guide-callout p {
  margin-bottom: 1rem;
}

.guide-callout .btn {
  margin-top: 0.5rem;
}

.guide-table {
  overflow-x: auto;
  margin: 1.5rem 0 2rem;
}

.guide-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.guide-table th {
  background: var(--black);
  color: var(--white);
  font-weight: 700;
  padding: 0.8rem 1rem;
  text-align: left;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.guide-table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid #eee;
  color: var(--grey-dark);
}

.guide-table tr:nth-child(even) td {
  background: #fafafa;
}

/* ===== FOOTER ===== */
footer {
  background: var(--black);
  color: var(--grey-light);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #333;
}

.footer-brand {
  font-size: 1.2rem;
}

.footer-brand .logo-rigid {
  color: var(--white);
}

.footer-brand p {
  font-size: 0.82rem;
  color: var(--grey);
  margin-top: 0.8rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-size: 0.82rem;
  color: var(--grey);
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--yellow);
}

.footer-bottom {
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: #555;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .equip-img img {
    height: 220px;
  }
}

@media (max-width: 768px) {
  .topbar-inner {
    font-size: 0.65rem;
    gap: 0.3rem;
  }

  nav {
    padding: 0.8rem 1.5rem;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 3px solid var(--yellow);
    z-index: 100;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .hero h1,
  .page-hero-dark h1 {
    font-size: 2.2rem;
  }

  .hero-content {
    padding: 3rem 1.5rem;
  }

  .page-title h1 {
    font-size: 2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat {
    padding: 1.5rem;
  }

  .stat:nth-child(2) {
    border-right: none;
  }

  .stat:nth-child(1),
  .stat:nth-child(2) {
    border-bottom: 1px solid #333;
  }

  .products,
  .services,
  .certifications,
  .contact {
    padding: 3rem 0;
  }

  h2 {
    font-size: 1.8rem;
  }

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

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

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

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

  .contact-image {
    display: none;
  }

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

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

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

  .guide-img-pair {
    grid-template-columns: 1fr;
  }

  .guide-img-full img {
    height: 220px;
  }

  .cta-box {
    padding: 2rem 1.5rem;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero h1,
  .page-hero-dark h1 {
    font-size: 1.8rem;
  }

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

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

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

  .stat {
    border-right: none;
    border-bottom: 1px solid #333;
  }

  .stat:last-child {
    border-bottom: none;
  }

  .page-title h1 {
    font-size: 1.6rem;
  }
}

.brand-icon { width: 24px; height: 24px; flex-shrink: 0; vertical-align: middle; margin-right: 6px; }
