/* ==========================================================================
   BARAMEMIT 5 x FLOTILLA - Official Website Stylesheet
   Theme: Original Baramemit 5 Branding (Royal Indigo & Warm Gold + Flotilla Aqua)
   ========================================================================== */

:root {
  /* Baramemit 5 Brand Colors (From baramemit5.com) */
  --primary: #31245B;          /* Deep Royal Indigo / Purple */
  --primary-dark: #1E153A;     /* Dark Navy Night */
  --primary-light: #483582;    /* Medium Royal Indigo */
  --secondary: #FFCF5D;        /* Vivid Warm Gold */
  --secondary-dark: #CD9B22;   /* Deep Burnished Gold */
  --secondary-light: #FFF4DB;  /* Warm Pale Gold Tint */
  --flotilla-cyan: #00A3B8;    /* Signature Flotilla Aqua */
  --flotilla-cyan-dark: #008294;
  --flotilla-cyan-light: #E0F7FA;
  
  /* Neutrals & Surfaces */
  --bg-page: #F8F9FD;
  --bg-surface: #FFFFFF;
  --bg-subtle: #EDEDF5;
  --text-main: #24252A;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --border-light: #E5E7EB;
  --border-focus: #FFCF5D;
  
  /* Typography */
  --font-display: 'Prompt', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Sarabun', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Elevation & Shadows */
  --shadow-sm: 0 2px 4px rgba(49, 36, 91, 0.04);
  --shadow-md: 0 4px 14px rgba(49, 36, 91, 0.08);
  --shadow-lg: 0 10px 30px rgba(49, 36, 91, 0.12);
  --shadow-gold: 0 6px 20px rgba(205, 155, 34, 0.25);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-main);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

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

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

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Top Bar */
.top-bar {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-info {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.top-bar-info a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.85);
}

.top-bar-info a:hover {
  color: var(--secondary);
}

.badge-partner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 163, 184, 0.2);
  color: #5DE8FF;
  border: 1px solid rgba(0, 163, 184, 0.4);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
}

/* Main Navigation */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-combo {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.brand-combo .logo-baramemit {
  height: 52px;
  width: auto;
  border-radius: 4px;
}

.brand-divider {
  width: 1px;
  height: 38px;
  background: var(--border-light);
}

.brand-flotilla-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--primary);
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 11px;
  font-weight: 500;
  color: var(--flotilla-cyan-dark);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 26px;
}

.nav-menu a {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--primary);
  padding: 6px 0;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-dark);
  transition: width var(--transition-fast);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition-normal);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

.btn-gold {
  background: linear-gradient(135deg, #FFCF5D 0%, #F5BA2F 100%);
  color: var(--primary-dark);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #FFE085 0%, #FFCF5D 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(205, 155, 34, 0.35);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

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

.btn-white:hover {
  background: #f1f1f7;
}

.btn-lg {
  padding: 14px 30px;
  font-size: 16.5px;
  border-radius: var(--radius-md);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 26px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 70%, #3d2c72 100%);
  color: #ffffff;
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(255, 207, 93, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(0, 163, 184, 0.18) 0%, transparent 50%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 207, 93, 0.12);
  color: var(--secondary);
  border: 1px solid rgba(255, 207, 93, 0.35);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 18px;
  text-wrap: balance;
}

.hero h1 span.gold {
  color: var(--secondary);
}

.hero h1 span.cyan {
  color: #5DE8FF;
}

.hero-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 32px;
  max-width: 58ch;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.metric-item b {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.1;
}

.metric-item span {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.75);
}

.hero-visual {
  position: relative;
}

.hero-card-stack {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 16px;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.hero-card-stack img {
  border-radius: var(--radius-md);
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.hero-floating-badge {
  position: absolute;
  bottom: -20px;
  left: 20px;
  background: var(--bg-surface);
  color: var(--primary-dark);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  border-left: 4px solid var(--secondary);
}

.hero-floating-badge .badge-icon {
  font-size: 28px;
  color: var(--secondary-dark);
}

.hero-floating-badge b {
  font-family: var(--font-display);
  font-size: 15px;
  display: block;
  line-height: 1.2;
}

.hero-floating-badge small {
  color: var(--text-muted);
  font-size: 12px;
}

/* Partner Trust Banner */
.trust-strip {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  padding: 24px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
}

.trust-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--secondary-light);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}

.trust-content b {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--primary);
  display: block;
}

.trust-content p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Common Section Styles */
section {
  padding: 88px 0;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--secondary-dark);
  margin-bottom: 10px;
  display: inline-block;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* About / Partnership Section */
.about-section {
  background: #ffffff;
}

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

.about-quote-box {
  background: linear-gradient(135deg, #FFF9EB 0%, #FFF3DB 100%);
  border-left: 4px solid var(--secondary-dark);
  padding: 24px 28px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0;
}

.about-quote-box p {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--primary);
  font-style: italic;
  line-height: 1.6;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.pillar-card {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
}

.pillar-card b {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--primary);
  display: block;
  margin-top: 8px;
}

.pillar-card p {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 4px;
}

.about-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid #ffffff;
}

/* Products & Engineering Specs Section */
.specs-section {
  background: var(--bg-page);
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.spec-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
}

.spec-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}

.spec-thumb {
  height: 220px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  position: relative;
}

.spec-thumb img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.spec-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  font-family: var(--font-display);
}

.spec-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.spec-body h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.spec-body .spec-eng-name {
  font-size: 13px;
  color: var(--flotilla-cyan-dark);
  font-weight: 600;
  margin-bottom: 12px;
}

.spec-list {
  list-style: none;
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 12px 0 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.spec-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.spec-list li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--secondary-dark);
}

.spec-highlight-chip {
  margin-top: auto;
  background: var(--bg-subtle);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  color: var(--primary);
  font-weight: 600;
  border-left: 3px solid var(--secondary);
}

/* Heavy Load Vehicle Testing Showcase */
.heavy-load-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #ffffff;
}

.heavy-load-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.heavy-load-content .section-eyebrow {
  color: var(--secondary);
}

.heavy-load-content h2 {
  color: #ffffff;
}

.heavy-load-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16.5px;
  margin-bottom: 24px;
}

.load-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 28px 0 32px;
}

.load-feat-box {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 16px;
  border-radius: var(--radius-md);
}

.load-feat-box b {
  font-family: var(--font-display);
  color: var(--secondary);
  font-size: 15px;
  display: block;
}

.load-feat-box span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.heavy-load-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.heavy-load-gallery img {
  border-radius: var(--radius-md);
  border: 3px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: var(--transition-fast);
}

.heavy-load-gallery img:hover {
  transform: scale(1.02);
  border-color: var(--secondary);
}

/* Applications / Use Cases */
.apps-section {
  background: #ffffff;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.app-card {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-normal);
}

.app-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}

.app-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #e2e8f0;
}

.app-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.app-desc {
  padding: 22px;
}

.app-desc h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.app-desc p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Project Gallery with Tabs */
.gallery-section {
  background: var(--bg-page);
}

.gallery-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
  cursor: pointer;
  background: #ffffff;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(30, 21, 58, 0.88) 0%, rgba(30, 21, 58, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay b {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 14.5px;
}

.gallery-overlay span {
  color: var(--secondary);
  font-size: 12px;
}

/* Interactive Pontoon Calculator */
.calc-section {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-page) 100%);
}

.calc-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  max-width: 980px;
  margin: 0 auto;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 15px;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary-dark);
  box-shadow: 0 0 0 3px rgba(255, 207, 93, 0.35);
}

.calc-results {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 30px;
}

.calc-results h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 10px;
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
  font-size: 14.5px;
}

.result-row:last-of-type {
  border-bottom: none;
}

.result-row b {
  font-family: var(--font-display);
  font-size: 18px;
  color: #ffffff;
}

.result-row b.highlight {
  color: var(--secondary);
  font-size: 22px;
}

/* Catalog Showcase & PDF Preview */
.catalog-section {
  background: #ffffff;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.catalog-card {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: center;
  transition: var(--transition-normal);
  cursor: pointer;
}

.catalog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}

.catalog-card img {
  width: 100%;
  aspect-ratio: 1 / 1.414;
  object-fit: cover;
  border-bottom: 1px solid var(--border-light);
}

.catalog-card span {
  display: block;
  padding: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--primary);
}

/* Quotation & Contact Section */
.contact-section {
  background: var(--bg-page);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
}

.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.contact-form-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-info-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.company-meta-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.company-meta-box h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.company-meta-box p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.contact-direct-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}

.direct-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--primary);
  font-weight: 500;
}

.direct-item svg {
  color: var(--secondary-dark);
  flex-shrink: 0;
}

/* Footer (Faithful to Baramemit5.com) */
footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.78);
  font-size: 14.5px;
  padding: 70px 0 30px;
  border-top: 4px solid var(--secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand .footer-logo {
  height: 60px;
  width: auto;
  border-radius: 4px;
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.footer-col h4 {
  font-family: var(--font-display);
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--secondary);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 12, 30, 0.94);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.lightbox-caption {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 16px;
  margin-top: 14px;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #ffffff;
  font-size: 32px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Toast Notifications */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
  background: var(--primary-dark);
  color: #ffffff;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--secondary);
  font-family: var(--font-display);
  font-size: 14.5px;
  display: none;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Responsive Media Queries */
@media (max-width: 1080px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-grid, .heavy-load-grid, .calc-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .specs-grid, .apps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid, .catalog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu, .nav-actions .btn-primary {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  
  /* Mobile Menu Drawer */
  .mobile-drawer {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 24px;
    border-bottom: 2px solid var(--secondary);
    box-shadow: var(--shadow-lg);
    display: none;
    flex-direction: column;
    gap: 16px;
    z-index: 99;
  }
  .mobile-drawer.active {
    display: flex;
  }
  .mobile-drawer a {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
  }
  
  .hero h1 {
    font-size: 32px;
  }
  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .specs-grid, .apps-grid, .gallery-grid, .catalog-grid {
    grid-template-columns: 1fr;
  }
  .about-pillars {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Comparison Section */
.comparison-section {
  background: #ffffff;
}

.compare-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  background: #ffffff;
  margin-top: 36px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 650px;
}

.compare-table th, .compare-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-light);
  font-size: 15px;
}

.compare-table th {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  background: var(--bg-page);
  color: var(--primary);
}

.compare-table th.col-premium,
.compare-table th.col-flotilla {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #ffffff;
  border-top-left-radius: var(--radius-sm);
  border-top-right-radius: var(--radius-sm);
}

.compare-table td.col-premium,
.compare-table td.col-flotilla {
  background: rgba(255, 207, 93, 0.05);
  font-weight: 600;
  color: var(--primary);
  border-left: 2px solid var(--secondary);
  border-right: 2px solid var(--secondary);
}

.compare-table tr:last-child td {
  border-bottom: none;
}

/* FAQ Section */
.faq-section {
  background: var(--bg-page);
}

.faq-grid {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--secondary-dark);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question svg {
  transition: transform var(--transition-fast);
  color: var(--secondary-dark);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Floating Action Button Widget */
.floating-contact-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.btn-float-main {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFCF5D 0%, #F5BA2F 100%);
  color: var(--primary-dark);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(49, 36, 91, 0.25);
  cursor: pointer;
  border: none;
  font-size: 26px;
  transition: transform var(--transition-fast);
  animation: pulseFloat 2.5s infinite;
}

.btn-float-main:hover {
  transform: scale(1.1);
}

@keyframes pulseFloat {
  0% { box-shadow: 0 0 0 0 rgba(255, 207, 93, 0.6); }
  70% { box-shadow: 0 0 0 16px rgba(255, 207, 93, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 207, 93, 0); }
}

.float-options {
  display: none;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 6px;
}

.float-options.active {
  display: flex;
}

.float-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--primary);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid var(--border-light);
  white-space: nowrap;
}

.float-link:hover {
  background: var(--primary);
  color: #ffffff;
}
