:root {
  --primary: #f05a28;
  --primary-dark: #d9481c;
  --primary-soft: #fff1eb;
  --primary-label: #f05a28;

  --bg: #f7f5f2;
  --surface: #ffffff;
  --surface-alt: #fcfaf8;
  --header-bg: rgba(255, 255, 255, 0.92);

  --heading: #1f1f1f;
  --text: #222222;
  --text-soft: #666666;
  --border: #e7dfd8;

  --white: #ffffff;
  --text-on-dark: #f8f0e8;
  --text-on-dark-soft: rgba(248, 240, 232, 0.74);
  --text-on-dark-faint: rgba(248, 240, 232, 0.56);

  --quote-bg: #26211d;
  --footer-bg: #181412;
  --footer-border: rgba(255, 255, 255, 0.08);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 16px 40px rgba(0, 0, 0, 0.10);

  --container: 1200px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

body.dark-mode {
  --bg: #151311;
  --surface: #1f1b18;
  --surface-alt: #1a1715;
  --header-bg: rgba(21, 19, 17, 0.92);

  --heading: #f6eee7;
  --text: #f2ebe4;
  --text-soft: #c1b6ad;
  --border: #38312c;

  --primary-soft: #3a241b;
  --primary-label: #ff9a6a;

  --text-on-dark: #f5eee7;
  --text-on-dark-soft: rgba(245, 238, 231, 0.76);
  --text-on-dark-faint: rgba(245, 238, 231, 0.60);

  --quote-bg: #2a2420;
  --footer-bg: #221c18;
  --footer-border: rgba(255, 255, 255, 0.10);

  background: var(--bg);
  color: var(--text);
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.section {
  padding: 90px 0;
}

.section-label {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--primary-label);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-heading h2 {
  font-size: 40px;
  line-height: 1.15;
  margin-bottom: 18px;
  color: var(--heading);
}

.section-heading p {
  font-size: 17px;
  color: var(--text-soft);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: var(--text-on-dark);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--text-on-dark);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  font-weight: 600;
  color: var(--primary);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100%;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

body.dark-mode .site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 24px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--heading);
}

.site-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--heading);
  position: relative;
}

.main-nav a:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--heading);
  cursor: pointer;
}

.mobile-menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 18px;
  height: 2px;
  background: var(--heading);
  border-radius: 10px;
}

.mobile-menu {
  display: none;
}

/* Hero Slider */
.hero-slider {
  position: relative;
  width: 100%;
  min-height: calc(80vh - 88px);
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(20, 20, 20, 0.78) 0%,
    rgba(20, 20, 20, 0.52) 42%,
    rgba(20, 20, 20, 0.26) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 3;
  min-height: calc(80vh - 88px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 760px;
  color: #fff;
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero-label {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #fff;
}

.hero-content h1,
.hero-content h2 {
  font-size: 46px;
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 800;
  color: #fff;
}

.hero-content p {
  font-size: 18px;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-controls {
  position: absolute;
  right: 32px;
  bottom: 34px;
  z-index: 5;
  display: flex;
  gap: 10px;
}

.hero-prev,
.hero-next {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.hero-dots {
  position: absolute;
  left: 32px;
  bottom: 42px;
  z-index: 5;
  display: flex;
  gap: 10px;
}

.hero-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.hero-dots .dot.active {
  background: var(--primary);
}

/* Products */
.products-overview {
  background: var(--surface);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(240, 90, 40, 0.25);
}

.product-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--heading);
}

.product-card p {
  color: var(--text-soft);
  font-size: 15px;
}

/* About */
.about-preview .content-col h2,
.featured-category .content-col h2,
.quote-text h2 {
  font-size: 42px;
  line-height: 1.15;
  margin-bottom: 18px;
}

.about-preview .content-col h2,
.featured-category .content-col h2 {
  color: var(--heading);
}

.about-preview .content-col p,
.featured-category .content-col p,
.quote-text p {
  color: var(--text-soft);
  font-size: 17px;
}

.image-col img {
  width: 100%;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

/* Process */
.process-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.step-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.step-card span {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 18px;
}

.step-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--heading);
}

.step-card p {
  font-size: 15px;
  color: var(--text-soft);
}

/* Sectors */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.sector-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.sector-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--heading);
}

.sector-card p {
  font-size: 15px;
  color: var(--text-soft);
}

/* Featured */
.featured-category {
  background: var(--surface);
}

.feature-list {
  margin: 24px 0 30px;
  display: grid;
  gap: 12px;
}

.feature-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-soft);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
}

/* Quote */
.quote-section {
  background: var(--bg);
}

.quote-wrapper {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  padding: 50px;
  background: var(--quote-bg);
  border-radius: 32px;
  color: var(--text-on-dark);
  box-shadow: var(--shadow-md);
}

.quote-wrapper .section-label {
  color: var(--primary-label);
}

.quote-text h2 {
  color: var(--text-on-dark);
}

.quote-text p {
  color: var(--text-on-dark-soft);
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-group {
  width: 100%;
}

.form-group.full {
  grid-column: 1 / -1;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-on-dark);
  padding: 16px 18px;
  border-radius: 16px;
  outline: none;
  font-size: 15px;
  transition: var(--transition);
}

.quote-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23f05a28' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 18px;
  padding-right: 48px;
  cursor: pointer;
}

.quote-form select option {
  background-color: #221c18;
  color: #ffffff;
  padding: 14px 18px;
  font-size: 15px;
}

body.dark-mode .quote-form select option {
  background-color: #1a1715;
  color: #ffffff;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 3px rgba(240, 90, 40, 0.25);
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: var(--text-on-dark-faint);
}

.quote-form textarea {
  resize: vertical;
  min-height: 140px;
}

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: var(--text-on-dark-soft);
  padding-top: 80px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--footer-border);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-on-dark);
}

.footer-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.footer-brand p {
  max-width: 340px;
  color: var(--text-on-dark-soft);
}

.footer-links h3,
.footer-contact h3 {
  font-size: 18px;
  margin-bottom: 18px;
  color: var(--text-on-dark);
}

.footer-links ul,
.footer-contact ul {
  display: grid;
  gap: 12px;
}

.footer-links a,
.footer-contact a {
  color: var(--text-on-dark-soft);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--primary);
}

.footer-contact li {
  color: var(--text-on-dark-soft);
}

.footer-btn {
  margin-top: 20px;
}

.footer-bottom {
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom p {
  color: var(--text-on-dark-faint);
  font-size: 14px;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-bottom-links a {
  font-size: 14px;
  color: var(--text-on-dark-faint);
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Page Header / Sub Hero */
.page-hero {
  position: relative;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 60px 0 50px;
  margin-bottom: 40px;
}

.page-hero.page-hero-has-bg {
  padding: 100px 0 85px;
  background-size: cover;
  background-position: center;
  color: #ffffff;
  overflow: hidden;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(18, 16, 15, 0.88) 0%,
    rgba(18, 16, 15, 0.65) 50%,
    rgba(18, 16, 15, 0.35) 100%
  );
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.page-hero-has-bg h1 {
  color: #ffffff;
}

.page-hero-has-bg p {
  color: rgba(255, 255, 255, 0.88);
}

.page-hero-has-bg .section-label {
  color: #ff9a6a;
}

/* Category Filter Tabs (Floating Rounded Bar & App-like Scroll) */
.category-tabs-wrapper {
  position: sticky;
  top: 96px;
  z-index: 900;
  background: var(--surface);
  backdrop-filter: blur(14px);
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}

body.dark-mode .category-tabs-wrapper {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.category-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 2px;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--heading);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.8;
  transition: var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
  background: var(--primary);
  color: var(--text-on-dark);
  border-color: var(--primary);
}

.tab-btn.active svg,
.tab-btn:hover svg {
  opacity: 1;
}

/* Product Card Extensions */
.product-card-rich {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.product-card-rich:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(240, 90, 40, 0.3);
}

.product-card-img {
  width: 100%;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--surface-alt);
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card-rich:hover .product-card-img img {
  transform: scale(1.06);
}

.product-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--primary-soft);
  color: var(--primary-label);
  margin-bottom: 14px;
}

.product-card-rich h3 {
  font-size: 22px;
  color: var(--heading);
  margin-bottom: 10px;
}

.product-card-rich p {
  font-size: 15px;
  color: var(--text-soft);
  margin-bottom: 20px;
  flex-grow: 1;
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.feature-tag {
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--text-soft);
}

/* Contact Cards Grid */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.contact-card h3 {
  font-size: 20px;
  color: var(--heading);
  margin-bottom: 10px;
}

.contact-card p, .contact-card a {
  font-size: 16px;
  color: var(--text-soft);
}

.contact-card a:hover {
  color: var(--primary);
}

/* Form Alert Banners */
.alert-banner {
  padding: 16px 24px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  font-weight: 600;
  font-size: 15px;
}

.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

body.dark-mode .alert-success {
  background: #1b3e2b;
  color: #a3e6b7;
  border-color: #26593d;
}

body.dark-mode .alert-error {
  background: #441c20;
  color: #f8a5ac;
  border-color: #63262d;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.value-card h3 {
  font-size: 22px;
  color: var(--heading);
  margin-bottom: 14px;
}

.value-card p {
  font-size: 15px;
  color: var(--text-soft);
}

/* Site Preloader */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.preloader-logo-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-spinner {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(240, 90, 40, 0.12);
  border-top-color: var(--primary);
  border-right-color: var(--primary);
  animation: preloader-spin 0.9s linear infinite;
}

.preloader-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  animation: preloader-pulse 1.8s ease-in-out infinite;
}

.preloader-text {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--heading);
  animation: preloader-fade 1.4s ease-in-out infinite alternate;
}

@keyframes preloader-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes preloader-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

@keyframes preloader-fade {
  0% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

