:root {
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --ink: #0f172a;
  --soft-ink: #334155;
  --muted: #64748b;
  --paper: #f8fafc;
  --surface: #ffffff;
  --line: #e2e8f0;
  --primary: #dc2626;
  --primary-dark: #b91c1c;
  --primary-light: #fef2f2;
  --accent: #0f172a;
  --accent-dark: #020617;
  --gold: #f59e0b;
  --nav-height: 80px;
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--soft-ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

section {
  scroll-margin-top: var(--nav-height);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 700; }

.section-kicker {
  display: inline-block;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding: 0.25rem 0.75rem;
  background: var(--primary-light);
  border-radius: 100px;
}

.text-gold {
  color: var(--gold);
}

/* Navbar */
.navbar {
  min-height: var(--nav-height);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  transition: all 0.3s ease;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.navbar.navbar-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.navbar-brand {
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 10px;
  box-shadow: 0 8px 16px -4px rgba(220, 38, 38, 0.4);
  font-size: 1.25rem;
}

.nav-link {
  color: var(--soft-ink);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.5rem 1rem !important;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: var(--primary-light);
}

.navbar-nav {
  list-style: none !important;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
@media (min-width: 992px) {
  .navbar-nav {
    flex-direction: row;
  }
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
}
.navbar-toggler:focus {
  box-shadow: none;
}
.navbar-toggler-icon {
  width: 1.5rem;
  height: 1.5rem;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2815, 23, 42, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px -2px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover, .btn-primary:focus {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px -4px rgba(220, 38, 38, 0.4);
}

.btn-outline-light {
  border: 2px solid rgba(255,255,255,0.3);
  color: #fff;
  backdrop-filter: blur(4px);
}
.btn-outline-light:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  background: var(--accent-dark);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(90deg, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.6) 100%),
    url("https://images.unsplash.com/photo-1632823471565-1ecdf5c94d68?auto=format&fit=crop&w=2000&q=80") center/cover no-repeat;
  z-index: 0;
}

.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(220, 38, 38, 0.15), transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--nav-height) + 2rem);
  padding-bottom: 4rem;
}

.hero-section h1 {
  color: #fff;
  margin-bottom: 1.5rem;
}

.hero-section .section-kicker {
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.hero-copy {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin-bottom: 2.5rem;
}

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

/* Hero Cards */
.hero-trust, .hero-panel {
  display: grid;
  gap: 1rem;
}

.hero-trust {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.hero-trust div, .hero-panel {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  transition: transform 0.3s ease;
}
.hero-trust div:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
}

.hero-trust strong {
  display: block;
  font-size: 1.125rem;
  color: #fff;
  margin-bottom: 0.25rem;
}
.hero-trust span {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}

.hero-panel {
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}
.hero-panel > div {
  padding: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.hero-panel > div:last-child {
  border-bottom: none;
}
.hero-panel span {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.hero-panel p {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
}

/* Section Padding */
.section-pad {
  padding: 6rem 0;
}

.section-head {
  margin-bottom: 3rem;
}
.section-head h2 {
  margin-bottom: 1rem;
}
.section-head p {
  font-size: 1.125rem;
  max-width: 600px;
}

/* About Section */
.about-section {
  background: var(--surface);
}

.image-frame {
  position: relative;
  padding-bottom: 2rem;
  padding-right: 2rem;
}

.image-frame::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 70%;
  height: 70%;
  background: var(--gold);
  border-radius: var(--radius-lg);
  z-index: 0;
  opacity: 0.2;
}

.feature-image {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.info-tile {
  background: var(--paper);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  height: 100%;
  transition: all 0.3s ease;
}
.info-tile:hover {
  background: var(--surface);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--primary);
}
.info-tile i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
  display: inline-block;
}
.info-tile strong {
  display: block;
  font-size: 1.125rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.info-tile span {
  font-size: 0.95rem;
}

/* Stats Band */
.stats-band {
  background: var(--accent-dark);
  padding: 4rem 0;
  color: #fff;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.3s ease;
}
.stat-item:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.06);
}
.stat-item span {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.stat-item p {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}

/* Products Section */
.product-section {
  background: var(--paper);
}

.product-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--soft-ink);
  font-weight: 600;
  transition: all 0.3s ease;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.product-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(220, 38, 38, 0.2);
}
.product-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover img {
  transform: scale(1.05);
}
.product-card div {
  padding: 1.5rem;
}
.product-card span {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 0.75rem;
  background: var(--primary-light);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
}
.product-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}
.product-card p {
  margin: 0;
  font-size: 0.95rem;
}
.product-item.is-hidden {
  display: none;
}

/* Services Section */
.services-section {
  position: relative;
  background: var(--accent);
  color: #fff;
  overflow: hidden;
}
.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(220,38,38,0.1), transparent 70%);
}
.services-section .section-kicker {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: none;
}
.services-section .section-head p {
  color: rgba(255,255,255,0.7);
}

.service-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  height: 100%;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}
.service-card:hover {
  background: rgba(255,255,255,0.06);
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.1);
}
.service-card i {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
  display: inline-block;
}
.service-card h3 {
  color: #fff;
  margin-bottom: 0.75rem;
}
.service-card p {
  color: rgba(255,255,255,0.7);
  margin: 0;
}

/* Why Us Section */
.why-section {
  background: var(--surface);
}
.why-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.why-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}
.why-item:hover {
  background: var(--surface);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.why-item i {
  font-size: 2rem;
  color: var(--primary);
  flex-shrink: 0;
}
.why-item h3 {
  margin-bottom: 0.5rem;
}
.why-item p {
  margin: 0;
}

/* Process Section */
.process-section {
  background: var(--paper);
}
.process-card {
  background: var(--surface);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  height: 100%;
  position: relative;
  transition: all 0.3s ease;
}
.process-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.process-card span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 800;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}
.process-card h3 {
  margin-bottom: 0.75rem;
}

/* Quote Section */
.quote-section {
  background: var(--surface);
}
.quote-note {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--paper);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-top: 2rem;
}
.quote-note i {
  font-size: 1.5rem;
  color: var(--gold);
}
.quote-form {
  background: var(--surface);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--line);
}
.form-label {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.form-control, .form-select {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: all 0.2s ease;
  font-family: var(--font-sans);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  background: var(--surface);
  box-shadow: 0 0 0 4px var(--primary-light);
}

/* Contact Section */
.contact-section {
  background: var(--paper);
}
.contact-card {
  background: var(--surface);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
}
.contact-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.contact-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  display: inline-block;
  padding: 1rem;
  background: var(--primary-light);
  border-radius: 50%;
}
.contact-card h3 {
  margin-bottom: 0.5rem;
}
.contact-card a, .contact-card span {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--soft-ink);
}
.contact-card a:hover {
  color: var(--primary);
}

.contact-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--accent);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  margin-top: 4rem;
  color: #fff;
  flex-wrap: wrap;
  gap: 2rem;
}
.contact-cta h3 {
  color: #fff;
  margin-bottom: 0.5rem;
}
.contact-cta p {
  margin: 0;
  color: rgba(255,255,255,0.7);
  font-size: 1.125rem;
}

/* Footer */
.site-footer {
  background: var(--accent-dark);
  color: #fff;
  padding: 4rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.site-footer strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.site-footer p {
  color: rgba(255,255,255,0.6);
  margin: 0;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-links a {
  color: rgba(255,255,255,0.8);
  font-weight: 600;
}
.footer-links a:hover {
  color: var(--gold);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(1rem);
  transition: all 0.3s ease;
  z-index: 99;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
}


/* Media Queries for Responsiveness */

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    margin-top: 0.5rem;
    border: 1px solid var(--line);
  }
  .navbar-nav {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.75rem;
    width: 100%;
  }
  .nav-item {
    width: 100%;
  }
  .nav-link {
    width: 100%;
    text-align: left;
    padding: 0.75rem 1rem !important;
  }
  .nav-cta {
    width: 100%;
    margin-top: 0.5rem;
  }
  .section-head {
    text-align: center;
  }
  .section-head p {
    margin: 0 auto;
  }
  .contact-cta {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  .section-pad {
    padding: 4rem 0;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-copy {
    margin: 0 auto 2.5rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-trust {
    grid-template-columns: 1fr;
  }

  .image-frame {
    padding-right: 0;
    padding-bottom: 1rem;
  }
  .image-frame::after {
    display: none;
  }

  .quote-form {
    padding: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .stats-band {
    padding: 3rem 0;
  }
  
  .stat-item span {
    font-size: 2rem;
  }
  
  .product-filters {
    justify-content: center;
  }
  
  .why-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}
