/* =============================================
   MHB Traders - Premium Corporate Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=DM+Sans:wght@300;400;500;600&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&display=swap');

/* ---- CSS Variables ---- */
:root {
  --primary: #1F423B;
  --primary-dark: #152e29;
  --primary-light: #2a5a51;
  --accent: #C49A3C;
  --accent-light: #e8c070;
  --white: #FFFFFF;
  --cream: #F8F4EE;
  --beige: #EDE8DF;
  --charcoal: #2C2C2C;
  --text-muted: #6B7280;
  --border: #E2DDD6;
  --shadow-sm: 0 2px 8px rgba(31, 66, 59, 0.08);
  --shadow-md: 0 8px 32px rgba(31, 66, 59, 0.12);
  --shadow-lg: 0 20px 60px rgba(31, 66, 59, 0.15);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-accent: 'Cormorant Garamond', Georgia, serif;
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* ---- Typography ---- */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 600;
}

h4 {
  font-size: 1.2rem;
  font-weight: 500;
}

p {
  font-size: 1rem;
  color: var(--text-muted);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.75;
}

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 100px 0;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header.center {
  text-align: center;
}

.section-header.center .section-subtitle {
  margin: 0 auto;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 154, 60, 0.3);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

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

.btn-dark {
  background: var(--primary);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--white);
}

.btn-sm {
  padding: 0.6rem 1.4rem;
  font-size: 0.82rem;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
}

#header.scrolled {
  background: rgba(31, 66, 59, 0.97);
  backdrop-filter: blur(12px);
  padding: 0.7rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

#header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 203px;
  height: 44px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
  font-weight: 700;
  font-family: var(--font-display);
  flex-shrink: 0;
}

.logo-text {
  line-height: 1.2;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
}

.logo-tagline {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

nav ul li a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
  transition: var(--transition);
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

nav ul li.nav-cta a {
  background: var(--accent);
  color: var(--white);
  padding: 0.5rem 1.25rem;
}

nav ul li.nav-cta a:hover {
  background: var(--accent-light);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========================================
   HERO SECTION
   ======================================== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--primary-dark);
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero-slide.active {
  opacity: 1;
}

/* Gradient overlay for each slide */
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
      rgba(15, 35, 31, 0.88) 0%,
      rgba(31, 66, 59, 0.65) 50%,
      rgba(31, 66, 59, 0.3) 100%);
}

/* Actual slide images via inline style in PHP */
.hero-slide-1 {
  background-image: url('https://images.unsplash.com/photo-1578662996442-48f60103fc96?w=1920&q=80');
}

.hero-slide-2 {
  background-image: url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?w=1920&q=80');
}

.hero-slide-3 {
  background-image: url('https://images.unsplash.com/photo-1574323347407-f5e1ad6d020b?w=1920&q=80');
}

.hero-slide-4 {
  background-image: url('https://images.unsplash.com/photo-1464226184884-fa280b87c399?w=1920&q=80');
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(196, 154, 60, 0.15);
  border: 1px solid rgba(196, 154, 60, 0.35);
  color: var(--accent-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(6px);
}

.hero-badge i {
  font-size: 0.7rem;
}

.hero-title {
  color: var(--white);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-title em {
  font-style: italic;
  color: var(--accent-light);
  font-family: var(--font-accent);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255, 255, 255, 0.75);
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

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

.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.4;
    transform: scaleY(1);
  }

  50% {
    opacity: 1;
    transform: scaleY(1.2);
  }
}

.hero-indicators {
  position: absolute;
  right: 3rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.hero-dot.active {
  background: var(--accent);
  transform: scale(1.4);
}

/* ========================================
   TICKER BAR
   ======================================== */
.ticker-bar {
  background: var(--accent);
  padding: 0.7rem 0;
  overflow: hidden;
}

.ticker-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  animation: tickerScroll 30s linear infinite;
  white-space: nowrap;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ticker-item i {
  opacity: 0.75;
}

.ticker-sep {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.6rem;
}

@keyframes tickerScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ========================================
   ABOUT SECTION
   ======================================== */
#about {
  background: var(--white);
}

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

.about-image-wrap {
  position: relative;
}

.about-img-main {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-img-accent {
  position: absolute;
  bottom: -2.5rem;
  right: -2.5rem;
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 6px solid var(--white);
  box-shadow: var(--shadow-md);
}

.about-badge {
  position: absolute;
  top: 2rem;
  left: -1.5rem;
  background: var(--accent);
  color: var(--white);
  padding: 1rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
  min-width: 130px;
}

.about-badge-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}

.about-badge-text {
  font-size: 0.72rem;
  opacity: 0.9;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 0.3rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem;
  background: var(--cream);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.about-feature:hover {
  background: var(--beige);
  transform: translateY(-2px);
}

.about-feature-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  background: var(--primary);
  color: var(--accent-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.about-feature h4 {
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--charcoal);
  margin-bottom: 0.15rem;
}

.about-feature p {
  font-size: 0.78rem;
  line-height: 1.5;
}

/* ========================================
   CATEGORIES SECTION
   ======================================== */
#categories {
  background: var(--cream);
}

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

.category-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.category-img-wrap {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.category-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.category-card:hover .category-img-wrap img {
  transform: scale(1.08);
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(31, 66, 59, 0.8), transparent 60%);
}

.category-body {
  padding: 1.4rem;
}

.category-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--accent-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 0.85rem;
}

.category-body h3 {
  font-size: 1rem;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
  font-family: var(--font-body);
  font-weight: 600;
}

.category-body p {
  font-size: 0.82rem;
  line-height: 1.55;
}

.category-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 0.85rem;
  transition: var(--transition);
}

.category-link:hover {
  color: var(--accent);
  gap: 0.7rem;
}

/* ========================================
   FEATURED PRODUCTS
   ======================================== */
#featured-products {
  background: var(--white);
}

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

.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(31, 66, 59, 0.2);
}

.product-img-wrap {
  height: 230px;
  overflow: hidden;
  position: relative;
  background: var(--cream);
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary);
  color: var(--accent-light);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
}

.product-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-category {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.product-body h3 {
  font-size: 1.1rem;
  color: var(--charcoal);
  margin-bottom: 0.6rem;
  font-family: var(--font-display);
}

.product-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex: 1;
}

.product-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.spec-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.spec-val {
  font-size: 0.82rem;
  color: var(--charcoal);
  font-weight: 500;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-direction: column !important;

}

.product-footer a.btn.btn-primary.btn-sm,
.product-footer a.btn.btn-sm {
  width: 100%;
  justify-content: center;
}

/* ========================================
   WHY CHOOSE US
   ======================================== */
#why-us {
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

#why-us::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(196, 154, 60, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

#why-us .section-title,
#why-us .section-label,
#why-us .section-subtitle {
  color: var(--white);
}

#why-us .section-subtitle {
  color: rgba(255, 255, 255, 0.65);
}

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

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 2.2rem 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.75rem;
  font-family: var(--font-body);
  font-weight: 600;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
#services {
  background: var(--cream);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.service-num {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(31, 66, 59, 0.05);
  line-height: 1;
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--accent-light);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.1rem;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
  font-family: var(--font-body);
  font-weight: 600;
}

.service-card p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}

.service-link:hover {
  color: var(--accent);
  gap: 0.7rem;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
#testimonials {
  background: var(--white);
}

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

.testimonial-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-quote {
  font-size: 3rem;
  color: var(--accent);
  opacity: 0.3;
  font-family: Georgia, serif;
  line-height: 1;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 0.92rem;
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.testimonial-stars {
  color: var(--accent);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.author-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
  display: block;
}

.author-info {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ========================================
   CTA SECTION
   ======================================== */
#cta {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1493946740644-2d8a1f1a6aff?w=1920&q=80') center/cover no-repeat;
  opacity: 0.06;
}

#cta .container {
  position: relative;
  z-index: 2;
}

#cta .section-title {
  color: var(--white);
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

#cta .section-label {
  color: var(--accent-light);
}

#cta p {
  color: rgba(255, 255, 255, 0.65);
  max-width: 550px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
}

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

/* ========================================
   FOOTER
   ======================================== */
#footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo-wrap .logo-name {
  font-size: 1.4rem;
}

.footer-logo-wrap .logo-tagline {
  font-size: 0.65rem;
}

.footer-desc {
  margin-top: 1.25rem;
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.55);
}

.footer-contact-info {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact-item i {
  color: var(--accent);
  width: 16px;
  text-align: center;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a::before {
  content: '→';
  opacity: 0;
  transition: var(--transition);
  font-size: 0.8rem;
}

.footer-links a:hover {
  color: var(--accent-light);
  padding-left: 4px;
}

.footer-links a:hover::before {
  opacity: 1;
}

.footer-newsletter {
  margin-top: 0;
}

.newsletter-form {
  display: flex;
  margin-top: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  color: var(--white);
  font-size: 0.85rem;
  outline: none;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.newsletter-form input:focus {
  border-color: var(--accent);
}

.newsletter-form button {
  padding: 0.8rem 1.25rem;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: var(--accent-light);
}

.footer-socials {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
  transition: var(--transition);
}

.footer-bottom a:hover {
  color: var(--accent-light);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

/* ========================================
   PAGE HERO (Inner Pages)
   ======================================== */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?w=1920&q=80') center/cover no-repeat;
  opacity: 0.08;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.55);
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--accent-light);
}

.breadcrumb-sep {
  opacity: 0.4;
}

/* ========================================
   PRODUCTS PAGE
   ======================================== */
.products-page {
  background: var(--cream);
  padding: 80px 0;
}

.products-page-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.products-sidebar {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: sticky;
  top: 100px;
}

.sidebar-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.sidebar-cats {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sidebar-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
}

.sidebar-cat:hover,
.sidebar-cat.active {
  background: var(--cream);
  color: var(--primary);
}

.sidebar-cat.active {
  background: var(--primary);
  color: var(--white);
}

.sidebar-cat-name {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 500;
}

.sidebar-cat i {
  color: var(--accent);
  width: 16px;
}

.sidebar-cat.active i {
  color: var(--accent-light);
}

.sidebar-cat-count {
  font-size: 0.72rem;
  background: rgba(31, 66, 59, 0.1);
  color: var(--primary);
  padding: 0.15rem 0.55rem;
  border-radius: 100px;
  font-weight: 600;
}

.sidebar-cat.active .sidebar-cat-count {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.products-main-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-page {
  background: var(--cream);
  padding: 80px 0;
}

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

.contact-info-card {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: var(--white);
  position: sticky;
  top: 100px;
}

.contact-info-card h2 {
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.contact-info-card>p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  margin-bottom: 2rem;
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--accent-light);
  flex-shrink: 0;
}

.contact-info-text label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  display: block;
  margin-bottom: 0.2rem;
}

.contact-info-text span {
  font-size: 0.92rem;
  color: var(--white);
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.contact-form-card h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.contact-form-card>p {
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--charcoal);
  background: var(--white);
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(31, 66, 59, 0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-success {
  background: #d1fae5;
  border: 1px solid #6ee7b7;
  color: #065f46;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  display: none;
}

.form-error {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #991b1b;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  display: none;
}

.map-section {
  margin-top: 3rem;
}

.map-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-page {
  padding: 80px 0;
}

.about-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}

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

.value-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--cream);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.value-icon {
  width: 64px;
  height: 64px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-light);
  margin: 0 auto 1.5rem;
}

.value-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-body);
  font-weight: 600;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-top: 4rem;
}

.stat-block {
  text-align: center;
}

.stat-block-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
  display: block;
}

.stat-block-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

.reveal-delay-5 {
  transition-delay: 0.5s;
}

/* ========================================
   UTILITIES
   ======================================== */
.text-accent {
  color: var(--accent);
}

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

.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 2rem 0;
}

.placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cream) 0%, var(--beige) 100%);
  color: var(--text-muted);
  font-size: 2.5rem;
}

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

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

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

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

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

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

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image-wrap {
    max-width: 560px;
  }

  .products-page-layout {
    grid-template-columns: 1fr;
  }

  .products-sidebar {
    position: static;
  }

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

  .contact-info-card {
    position: static;
  }

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

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

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

@media (max-width: 768px) {
  section {
    padding: 70px 0;
  }

  .container {
    padding: 0 1.25rem;
  }

  nav {
    display: none;
  }

  nav.open {
    display: flex;
    flex-direction: column;
  }

  nav.open ul {
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem;
  }

  nav.open ul li a {
    display: block;
  }

  .nav-toggle {
    display: flex;
  }

  #header {
    padding: 1rem 0;
    background: rgba(31, 66, 59, 0.95);
  }

  .mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--primary-dark);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
  }

  .mobile-menu.open {
    display: flex;
  }

  .mobile-menu a {
    color: var(--white);
    font-size: 1.2rem;
    font-family: var(--font-display);
  }

  .mobile-menu a:hover {
    color: var(--accent-light);
  }

  .mobile-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
  }

  .hero-indicators {
    display: none;
  }

  .hero-stats {
    gap: 1.5rem;
  }

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

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

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

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

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

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

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

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

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

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

  .about-img-accent {
    display: none;
  }

  .about-badge {
    left: 1rem;
  }
}

@media (max-width: 480px) {
  .categories-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}