:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --color-primary: #c2410c;
  --color-primary-dark: #9a3412;
  --color-primary-light: #fff7ed;
  --color-accent: #d97706;
  --color-dark: #1c1917;
  --color-muted: #64748b;
  --color-border: #e7e5e4;
  --color-surface: #ffffff;
  --color-bg: #fafaf9;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-full: 9999px;
  --transition: 0.2s ease;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 15px;
  scroll-padding-top: 76px;
}

@media (min-width: 768px) {
  html { font-size: 16px; }
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-dark);
  overflow-x: hidden;
  max-width: 100vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

.page-wrapper {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.page-wrapper .container {
  flex: 1 0 auto;
}

.footer-modern {
  flex-shrink: 0;
  padding-top: 2.5rem;
  padding-bottom: 1.5rem;
}

/* Top strip */
.top-strip {
  background: linear-gradient(135deg, #c2410c 0%, #ea580c 50%, #dc2626 100%);
  padding: 0.5rem 0;
  font-size: 0.8rem;
}

.top-strip-text, .top-strip-badge {
  color: rgba(255,255,255,0.95);
  font-weight: 500;
}

.top-strip-badge {
  background: rgba(255,255,255,0.2);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
}

/* Navbar */
.navbar-modern {
  background: var(--color-surface) !important;
  box-shadow: var(--shadow-sm);
  padding: 0.75rem 0;
}

.navbar-modern .navbar-brand {
  font-weight: 800;
  font-size: 1.25rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, #dc2626 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.navbar-modern .nav-link {
  font-weight: 500;
  color: var(--color-dark) !important;
  padding: 0.4rem 0.75rem !important;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.navbar-modern .nav-link:hover {
  color: var(--color-primary) !important;
  background: var(--color-primary-light);
}

.navbar-modern .form-select {
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  border-color: var(--color-border);
}

/* Main */
.main-content { padding-top: 0.5rem; }

/* Hero */
.hero-section {
  margin-bottom: 2.5rem;
  clear: both;
}

.hero-wrap {
  background: linear-gradient(145deg, #fff7ed 0%, #ffedd5 40%, #ffffff 100%);
  border-radius: var(--radius-xl);
  padding: 2rem 1.25rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(194,65,12,0.08);
}

.hero-wrap::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 150%;
  background: radial-gradient(circle, rgba(251,146,60,0.15) 0%, transparent 70%);
  pointer-events: none;
}

@media (min-width: 768px) {
  .hero-wrap {
    padding: 3rem 2.5rem;
  }
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.hero-title {
  margin-bottom: 0.75rem;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-dark);
  letter-spacing: -0.03em;
}

@media (min-width: 576px) { .hero-title { font-size: 1.9rem; } }
@media (min-width: 768px) { .hero-title { font-size: 2.25rem; } }
@media (min-width: 992px) { .hero-title { font-size: 2.75rem; } }

.hero-subtitle {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-muted);
  max-width: 36rem;
}

@media (min-width: 768px) { .hero-subtitle { font-size: 1.05rem; } }

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.btn-hero-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, #ea580c 100%);
  color: #fff !important;
  font-weight: 600;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-md);
  border: none;
  box-shadow: 0 2px 8px rgba(194,65,12,0.35);
  transition: all var(--transition);
}

.btn-hero-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(194,65,12,0.4);
  color: #fff !important;
}

.btn-hero-secondary {
  background: var(--color-surface);
  color: var(--color-dark) !important;
  font-weight: 600;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--color-border);
  transition: all var(--transition);
}

.btn-hero-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary) !important;
  background: var(--color-primary-light);
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.trust-pill {
  background: var(--color-surface);
  color: var(--color-dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .trust-pill { font-size: 0.8rem; padding: 0.5rem 0.9rem; }
}

/* Section styling */
.section-modern { clear: both; }

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) { .section-title { font-size: 1.4rem; } }

.btn-link-modern {
  font-weight: 600;
  color: var(--color-primary) !important;
  text-decoration: none !important;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.btn-link-modern:hover { color: var(--color-primary-dark) !important; }

/* Cards */
.card-modern {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  overflow: hidden;
}

.card-modern:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(194,65,12,0.15);
}

.card-category {
  background: var(--color-surface);
}

.card-category:hover {
  transform: translateY(-2px);
}

.card-category .card-body {
  padding: 1.25rem;
}

.category-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-primary-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.card-product .card-img-top {
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.card-product .card-body {
  padding: 1.25rem;
}

.card-product .card-body h3 {
  font-weight: 600;
  font-size: 1rem;
}

.btn-add-enquiry {
  background: linear-gradient(135deg, var(--color-primary) 0%, #ea580c 100%);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  border: none;
  transition: all var(--transition);
}

.btn-add-enquiry:hover {
  transform: translateY(-1px);
  opacity: 0.95;
  color: #fff !important;
}

.card-step {
  background: var(--color-surface);
}

.card-step .card-body {
  padding: 1.5rem;
}

.step-no {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, #ffedd5 100%);
  color: var(--color-primary);
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.step-text {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.5;
}

/* FAQ accordion */
.faq-acc .accordion-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md) !important;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.faq-acc .accordion-button {
  font-weight: 600;
  background: var(--color-surface) !important;
  color: var(--color-dark);
  border: none;
}

.faq-acc .accordion-button:not(.collapsed) {
  background: var(--color-primary-light) !important;
  color: var(--color-primary-dark);
  box-shadow: none;
}

.faq-acc .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

/* Footer */
.footer-modern {
  background: linear-gradient(180deg, #1c1917 0%, #292524 100%);
  color: rgba(255,255,255,0.8);
}

.footer-brand {
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff !important;
}

.footer-heading {
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff !important;
  margin-bottom: 0.75rem;
}

.footer-text {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

.footer-link {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  transition: color var(--transition);
}

.footer-link:hover {
  color: #fb923c;
}

.footer-divider {
  border-color: rgba(255,255,255,0.15);
  margin: 1.5rem 0 1rem;
}

.footer-bottom {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* WhatsApp float */
.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.5rem;
  z-index: 2000;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius-full);
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition);
}

.wa-float:hover {
  color: #fff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}

.wa-icon { flex-shrink: 0; }

/* Table */
.card-modern .table {
  font-size: 0.9rem;
}

.card-modern .table thead th {
  font-weight: 600;
  color: var(--color-muted);
  border-color: var(--color-border);
  padding: 0.75rem;
}

.card-modern .table tbody td {
  padding: 0.75rem;
  border-color: var(--color-border);
}

/* Badges */
.badge.bg-success-subtle { background: #dcfce7; color: #166534; }
.badge.bg-danger-subtle { background: #fee2e2; color: #991b1b; }
