/* ==========================================================================
   NISAR & BROTHERS ENTERPRISE
   Industrial Machinery Import & China-Pakistan Sourcing Gateway
   Flawless Multi-Device Responsive Design System
   ========================================================================== */

:root {
  /* Colors */
  --bg-main: #0b0f17;
  --bg-card: #121824;
  --bg-card-hover: #182233;
  --bg-surface: #0e141f;
  
  --primary: #00b4d8;
  --primary-bright: #48cae4;
  --primary-glow: rgba(0, 180, 216, 0.25);
  
  --accent-amber: #f77f00;
  --accent-amber-glow: rgba(247, 127, 0, 0.25);
  
  --whatsapp: #25d366;
  --whatsapp-hover: #20ba5a;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-sub: #64748b;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(0, 180, 216, 0.4);
  
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 20px 40px -15px rgba(0, 180, 216, 0.15);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  background-image: 
    radial-gradient(circle at 10% 15%, rgba(0, 180, 216, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 90% 65%, rgba(247, 127, 0, 0.05) 0%, transparent 45%);
  background-attachment: fixed;
  -webkit-text-size-adjust: 100%;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  word-break: break-word;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 40%, var(--primary-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-amber {
  color: var(--accent-amber);
}

.mono {
  font-family: var(--font-mono);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #0096c7, #0077b6);
  color: #fff;
  box-shadow: 0 4px 18px var(--primary-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #00b4d8, #0096c7);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 180, 216, 0.4);
}

.btn-amber {
  background: linear-gradient(135deg, #f77f00, #d62828);
  color: #fff;
  box-shadow: 0 4px 18px var(--accent-amber-glow);
}

.btn-amber:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(247, 127, 0, 0.45);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #ffffff;
  font-weight: 700;
}

.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
  color: var(--primary-bright);
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.25);
  color: var(--primary-bright);
  max-width: 100%;
  line-height: 1.4;
}

.badge-amber {
  background: rgba(247, 127, 0, 0.12);
  border-color: rgba(247, 127, 0, 0.3);
  color: #ffa64d;
}

/* ==========================================================================
   Top Announcement Bar
   ========================================================================== */
.top-announcement {
  background: rgba(0, 180, 216, 0.08);
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 0;
  font-size: 0.82rem;
}

.top-announcement-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-contact-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-contact-links a {
  color: var(--text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.top-contact-links a:hover {
  color: var(--primary-bright);
}

/* ==========================================================================
   Header Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(11, 15, 23, 0.94);
  border-bottom: 1px solid var(--border-subtle);
  width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #00b4d8, #0077b6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 4px 14px rgba(0, 180, 216, 0.3);
  flex-shrink: 0;
}

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

.brand-title {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  white-space: nowrap;
}

.brand-subtitle {
  font-size: 0.7rem;
  color: var(--primary-bright);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  white-space: nowrap;
}

/* Desktop Nav (Only >= 1024px) */
.desktop-nav {
  display: flex;
  align-items: center;
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary-bright);
}

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.header-phone-btn:hover {
  background: rgba(0, 180, 216, 0.12);
  border-color: var(--primary);
  color: var(--primary-bright);
}

.header-quote-btn {
  padding: 8px 18px;
  font-size: 0.88rem;
}

/* Hamburger Toggle Button */
.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: var(--transition);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--primary);
}

.hamburger-box {
  width: 22px;
  height: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-inner,
.hamburger-box::before,
.hamburger-box::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  transition: transform 0.2s ease;
}

/* ==========================================================================
   Slide-Over Mobile & Tablet Drawer
   ========================================================================== */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 85vw);
  background: rgba(14, 20, 31, 0.98);
  backdrop-filter: blur(20px);
  border-left: 1px solid var(--border-focus);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.7);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.drawer-close-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.drawer-close-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent-amber);
}

.drawer-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  overflow-y: auto;
}

.drawer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.drawer-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.drawer-nav a span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--primary-bright);
  font-weight: 700;
}

.drawer-nav a:hover {
  background: rgba(0, 180, 216, 0.12);
  color: var(--primary-bright);
  transform: translateX(4px);
}

.drawer-footer {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer-hotline label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.drawer-phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.drawer-phone-link:hover {
  color: var(--primary-bright);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 60px 0 80px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

.hero-desc {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 620px;
}

.hero-service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.service-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 0.82rem;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.service-tag span {
  color: var(--primary-bright);
  font-weight: bold;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 800;
  color: #ffffff;
}

.stat-number span {
  color: var(--primary-bright);
}

.stat-label {
  font-size: 0.76rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.hero-visual {
  position: relative;
}

.hero-main-card {
  background: var(--bg-card);
  border: 1px solid var(--border-focus);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
}

.hero-main-card img {
  width: 100%;
  height: clamp(260px, 35vw, 420px);
  object-fit: cover;
  display: block;
}

.hero-card-footer {
  padding: 18px 20px;
  background: rgba(14, 20, 31, 0.95);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.card-footer-info strong {
  display: block;
  font-size: 0.95rem;
  color: #fff;
}

.card-footer-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Trust Strip
   ========================================================================== */
.trust-strip {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 24px 0;
}

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

.trust-cell {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-cell-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(0, 180, 216, 0.1);
  color: var(--primary-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.trust-cell-text strong {
  display: block;
  font-size: 0.88rem;
  color: #ffffff;
}

.trust-cell-text span {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Sections Common
   ========================================================================== */
.section {
  padding: 80px 0;
}

.section-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 48px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.35rem);
  margin-top: 12px;
  margin-bottom: 14px;
}

.section-head p {
  color: var(--text-muted);
  font-size: clamp(0.92rem, 1.8vw, 1.05rem);
  line-height: 1.6;
}

/* ==========================================================================
   Machinery & Import Product Categories
   ========================================================================== */
.machinery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.machinery-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.machinery-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-focus);
  box-shadow: var(--shadow-hover);
}

.machinery-card-img {
  height: 220px;
  position: relative;
  overflow: hidden;
  background: #080c14;
}

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

.machinery-card:hover .machinery-card-img img {
  transform: scale(1.04);
}

.machinery-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(11, 15, 23, 0.88);
  backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-bright);
  border: 1px solid var(--border-subtle);
}

.machinery-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.machinery-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.machinery-card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.55;
}

.machinery-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}

.machinery-feature-list li {
  font-size: 0.84rem;
  color: #cbd5e1;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.machinery-feature-list li span {
  color: var(--primary-bright);
  font-weight: 700;
}

.machinery-card-action {
  margin-top: auto;
  display: flex;
  gap: 10px;
}

/* Custom Sourcing Banner */
.custom-sourcing-banner {
  margin-top: 36px;
  padding: 28px;
  background: var(--bg-card);
  border: 1px dashed var(--border-focus);
  border-radius: var(--radius-md);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* ==========================================================================
   Flagship Feature: Fiber Laser FB-3015 Deep Dive
   ========================================================================== */
.flagship-box {
  background: linear-gradient(135deg, rgba(18, 24, 36, 0.9), rgba(11, 15, 23, 0.95));
  border: 1px solid var(--border-focus);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.flagship-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.flagship-specs-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 16px 0;
  width: 100%;
}

.flagship-specs-table {
  width: 100%;
  border-collapse: collapse;
}

.flagship-specs-table td {
  padding: 10px 12px;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.flagship-specs-table .label {
  color: var(--text-muted);
  width: 44%;
}

.flagship-specs-table .val {
  color: #ffffff;
  font-weight: 600;
}

.vip-callout {
  background: rgba(247, 127, 0, 0.1);
  border-left: 3px solid var(--accent-amber);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 18px;
}

.vip-callout h4 {
  color: #ffa64d;
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.vip-callout p {
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* ==========================================================================
   How We Import & Sourcing Setup (China to Pakistan)
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-focus);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-bright);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(0, 180, 216, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Work Samples Grid
   ========================================================================== */
.samples-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.sample-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.sample-card img {
  width: 100%;
  height: clamp(220px, 30vw, 320px);
  object-fit: cover;
  display: block;
}

.sample-card-body {
  padding: 24px;
}

.sample-card-body h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.sample-card-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Interactive Quick Inquiry & Direct RFQ
   ========================================================================== */
.inquiry-wrapper {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
}

.inquiry-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  align-items: flex-start;
}

.inquiry-details-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.contact-quick-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 22px 0;
}

.contact-quick-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.contact-quick-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(0, 180, 216, 0.12);
  color: var(--primary-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-quick-text label {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.contact-quick-text a, .contact-quick-text span {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  word-break: break-all;
}

.contact-quick-text a:hover {
  color: var(--primary-bright);
}

/* Form */
.rfq-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-focus);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.rfq-form-card h3 {
  font-size: 1.45rem;
  margin-bottom: 8px;
}

.rfq-form-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #cbd5e1;
}

.form-control {
  width: 100%;
  background: #090d14;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 1rem; /* 16px prevents iOS Safari auto zoom */
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-bright);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
}

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

textarea.form-control {
  min-height: 95px;
  resize: vertical;
}

.form-button-row {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.form-button-row .btn {
  flex: 1;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-row {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-btn {
  width: 100%;
  background: transparent;
  border: none;
  padding: 18px 20px;
  text-align: left;
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-chevron {
  color: var(--primary-bright);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-row.active .faq-chevron {
  transform: rotate(45deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: rgba(9, 13, 20, 0.4);
}

.faq-body-content {
  padding: 0 20px 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #070a10;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
}

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 14px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  color: #ffffff;
}

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

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-bright);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--text-sub);
}

/* ==========================================================================
   Floating Action Buttons
   ========================================================================== */
.floating-bar {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  transition: var(--transition);
}

.float-whatsapp {
  background: var(--whatsapp);
}

.float-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.float-call {
  background: linear-gradient(135deg, #00b4d8, #0077b6);
}

.float-call:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 25px rgba(0, 180, 216, 0.5);
}

.float-btn svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

/* Toast Notice */
.toast-notice {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: #111824;
  border: 1px solid var(--primary-bright);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
  max-width: calc(100vw - 48px);
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   MULTI-DEVICE RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* 1. TABLET & SMALL LAPTOP (<= 1024px) */
@media (max-width: 1024px) {
  /* Hide Desktop Inline Nav & Show Mobile Drawer Button */
  .desktop-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-header {
    height: 68px;
  }

  .header-inner {
    height: 68px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }

  .hero-content {
    align-items: center;
  }

  .hero-desc {
    margin: 0 auto;
  }

  .hero-service-tags {
    justify-content: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats-row {
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }

  .hero-visual {
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
  }

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

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

  .flagship-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

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

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

/* 2. PORTRAIT TABLET & MOBILE (<= 768px - includes user 754px viewport!) */
@media (max-width: 768px) {
  .container {
    padding: 0 18px;
  }

  .section {
    padding: 55px 0;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .top-announcement {
    padding: 6px 0;
    font-size: 0.78rem;
  }

  .top-announcement-flex {
    flex-direction: column;
    text-align: center;
    gap: 4px;
  }

  .top-contact-links {
    justify-content: center;
    gap: 14px;
  }

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

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

  .custom-sourcing-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .custom-sourcing-banner .btn {
    width: 100%;
  }

  .flagship-box {
    padding: 24px 18px;
  }

  .inquiry-details-card, .rfq-form-card {
    padding: 24px 18px;
  }
}

/* 3. SMALL PHONES & PHABLETS (<= 640px) */
@media (max-width: 640px) {
  .header-phone-btn .phone-number-text {
    display: none; /* Show icon only to save space */
  }

  .header-phone-btn {
    padding: 8px 10px;
    border-radius: 50%;
  }

  .hero-stats-row {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 12px;
    padding: 16px;
  }

  .stat-item:not(:last-child) {
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 10px;
  }

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

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

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

  .form-button-row {
    flex-direction: column;
  }

  .form-button-row .btn {
    width: 100%;
  }
}

/* 4. EXTRA SMALL PHONES (<= 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }

  .site-header {
    height: 62px;
  }

  .header-inner {
    height: 62px;
  }

  .header-quote-btn {
    display: none; /* Hidden on tiny screens, accessible in drawer and hero */
  }

  .brand-title {
    font-size: 0.96rem;
  }

  .brand-subtitle {
    font-size: 0.64rem;
  }

  .brand-icon-box {
    width: 36px;
    height: 36px;
    font-size: 1rem;
    border-radius: 10px;
  }

  .hero {
    padding: 35px 0 45px;
  }

  .hero-title {
    font-size: 1.95rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

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

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

  .floating-bar {
    bottom: 16px;
    right: 16px;
    gap: 10px;
  }

  .float-btn {
    width: 46px;
    height: 46px;
  }

  .float-btn svg {
    width: 20px;
    height: 20px;
  }
}
