:root {
  /* ==========================================================================
     Unified Cohesive Light Color Palette (Professional Tech Enterprise)
     Primary Hue: Trust Blue (#1e40af / #2563eb)
     Secondary/Neutral: Slate & Pure Clean White (#ffffff, #f8fafc, #f1f5f9)
     ========================================================================== */

  /* Backgrounds */
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-alt: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;

  /* Borders & Dividers */
  --border-subtle: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-focus: #93c5fd;

  /* Primary Brand Blue Hierarchy */
  --primary-900: #1e3a8a;
  --primary-800: #1e40af;
  --primary-700: #1d4ed8;
  --primary-600: #2563eb;
  --primary-500: #3b82f6;
  --primary-100: #dbeafe;
  --primary-50: #eff6ff;

  /* Status Colors (Harmonious & Clean) */
  --color-success: #059669;
  --color-success-bg: #ecfdf5;
  --color-success-border: #a7f3d0;
  --color-alert: #dc2626;

  /* Text Colors */
  --text-heading: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  /* Shadows (Soft & Modern) */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 28px -4px rgba(15, 23, 42, 0.1), 0 4px 12px -2px rgba(15, 23, 42, 0.05);
  --shadow-hover: 0 20px 35px -6px rgba(37, 99, 235, 0.12), 0 8px 16px -4px rgba(15, 23, 42, 0.06);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-persian), 'Vazirmatn', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.75;
  overflow-x: hidden;
  position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-600);
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-persian);
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.35;
}

p {
  color: var(--text-body);
}

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

.gradient-text {
  color: var(--primary-800);
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ==========================================================================
   Unified Button System (All buttons follow strict Royal Blue Theme)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-persian);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition-normal);
  border: 1.5px solid transparent;
  outline: none;
  text-decoration: none;
  white-space: nowrap;
}

/* Primary Button: Solid Brand Blue */
.btn-primary, .btn-gold {
  background-color: var(--primary-700);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.25);
  border-color: var(--primary-700);
}
.btn-primary:hover, .btn-gold:hover {
  background-color: var(--primary-800);
  border-color: var(--primary-800);
  box-shadow: 0 6px 16px rgba(30, 64, 175, 0.32);
  transform: translateY(-2px);
}

/* Outline Button: Clean Border with subtle hover */
.btn-outline {
  background-color: #ffffff;
  border-color: var(--border-medium);
  color: var(--primary-800);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover {
  border-color: var(--primary-600);
  color: var(--primary-700);
  background-color: var(--primary-50);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.85rem 1.8rem;
  font-size: 1rem;
  border-radius: 12px;
}

.btn-sm {
  padding: 0.42rem 0.85rem;
  font-size: 0.84rem;
  border-radius: 8px;
  white-space: nowrap;
}

/* ==================== Navigation Bar ==================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-normal);
}

.site-header.scrolled {
  background: #ffffff;
  box-shadow: var(--shadow-md);
  padding: 0;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-svg {
  height: 42px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 0.4rem 0;
  white-space: nowrap;
  letter-spacing: -0.2px;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-700);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--primary-600);
  transition: width 0.25s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.mobile-toggle {
  display: none;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  color: var(--text-heading);
  padding: 0.5rem;
  border-radius: 8px;
  cursor: pointer;
}

/* ==================== Hero Section ==================== */
.hero-section {
  position: relative;
  padding-top: 140px;
  padding-bottom: 80px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-page) 100%);
  border-bottom: 1px solid var(--border-subtle);
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.1rem;
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  border-radius: 30px;
  margin-bottom: 1.5rem;
}

.badge-pulse {
  width: 9px;
  height: 9px;
  background-color: var(--primary-600);
  border-radius: 50%;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(37, 99, 235, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.hero-badge-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-800);
}

.hero-title {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 1.3rem;
  color: var(--text-heading);
  letter-spacing: -0.5px;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-body);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.8rem;
}

/* Stats Row */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  padding: 1.5rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.stat-box {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border-subtle);
  padding-left: 1rem;
}
.stat-box:last-child {
  border-left: none;
  padding-left: 0;
}

.stat-val {
  font-family: var(--font-en), var(--font-persian);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--primary-700);
  margin-bottom: 0.2rem;
}
.stat-val.gold, .stat-val.cyan, .stat-val.green {
  color: var(--primary-700);
}

.stat-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Hero Live IoT Monitor Card */
.live-iot-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 1.8rem;
  box-shadow: var(--shadow-lg);
}

.card-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.2rem;
}

.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-success-bg);
  border: 1px solid var(--color-success-border);
  color: var(--color-success);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.8rem;
  border-radius: 20px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--color-success);
  border-radius: 50%;
  animation: live-blink 1.2s infinite ease-in-out;
}
@keyframes live-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.meter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.meter-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1rem;
  transition: var(--transition-fast);
}
.meter-box:hover {
  border-color: var(--primary-500);
  background: var(--primary-50);
}

.meter-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.meter-reading {
  font-size: 1.35rem;
  font-weight: 800;
  font-family: var(--font-en), var(--font-persian);
  color: var(--text-heading);
}

/* Sparkline in hero */
.mini-chart-container {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1rem;
}

.chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.chart-svg {
  width: 100%;
  height: 100px;
  display: block;
}

/* ==================== Common Section Styles ==================== */
.section {
  padding: 90px 0;
  position: relative;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1.1rem;
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  border-radius: 20px;
  color: var(--primary-800);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ==================== Products & Hardware Section ==================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 2.2rem;
  position: relative;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-500);
  box-shadow: var(--shadow-hover);
}

.product-card.featured {
  background: #ffffff;
  border: 2px solid var(--primary-600);
  box-shadow: var(--shadow-md);
}

.featured-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--primary-700);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.9rem;
  border-radius: 10px;
}

.product-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-700);
  margin-bottom: 1.4rem;
}

.product-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--text-heading);
}

.product-en-title {
  font-size: 0.85rem;
  font-family: var(--font-en);
  color: var(--primary-600);
  margin-bottom: 1rem;
  display: block;
  font-weight: 600;
}

.product-description {
  font-size: 0.93rem;
  color: var(--text-body);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.product-specs-list {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.product-specs-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-body);
}

.product-specs-list svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--primary-600);
}

/* ==================== Interactive Energy Dashboard ==================== */
.demo-section {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.dashboard-container {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2.2rem;
  box-shadow: var(--shadow-md);
}

.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.3rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.dash-controls {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.dash-select {
  background: var(--bg-subtle);
  border: 1px solid var(--border-medium);
  color: var(--text-heading);
  font-family: var(--font-persian);
  font-size: 0.92rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  outline: none;
  cursor: pointer;
}

.dash-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-bottom: 1.8rem;
}

.dash-stat-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.2rem;
  position: relative;
}

.dash-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-600);
  border-radius: 14px 14px 0 0;
}

.dash-stat-title {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.dash-stat-value {
  font-size: 1.65rem;
  font-weight: 800;
  font-family: var(--font-en), var(--font-persian);
  color: var(--primary-800);
}

.dash-stat-sub {
  font-size: 0.8rem;
  color: var(--color-success);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.3rem;
}

.dash-main-view {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}

.dash-chart-panel, .dash-phases-panel {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.5rem;
}

.dash-phases-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.phase-row {
  margin-bottom: 1.1rem;
}
.phase-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}
.phase-bar-bg {
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
}
.phase-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.4s ease;
  background: var(--primary-600);
}

.phase-balance-note {
  background: var(--color-success-bg);
  border: 1px solid var(--color-success-border);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  font-size: 0.82rem;
  color: var(--color-success);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  line-height: 1.5;
  font-weight: 500;
}

.phase-balance-note svg {
  flex-shrink: 0;
  color: var(--color-success);
}

/* ==================== Energy ROI Calculator ==================== */
.calc-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2.8rem;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.calc-group label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--text-heading);
}

.calc-range-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.calc-slider {
  flex: 1;
  accent-color: var(--primary-700);
  height: 6px;
  border-radius: 3px;
  background: #e2e8f0;
  cursor: pointer;
}

.calc-val-badge {
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  padding: 0.35rem 0.9rem;
  border-radius: 8px;
  font-family: var(--font-en), var(--font-persian);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-800);
  min-width: 90px;
  text-align: center;
}

.calc-result-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 2.2rem;
  text-align: center;
}

.roi-badge {
  background: var(--color-success-bg);
  color: var(--color-success);
  border: 1px solid var(--color-success-border);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 1rem;
}

.roi-saved-num {
  font-size: 2.4rem;
  font-weight: 800;
  font-family: var(--font-en), var(--font-persian);
  color: var(--primary-700);
  margin-bottom: 0.3rem;
}

/* ==================== Architecture & IoT Pipeline ==================== */
.pipeline-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.pipeline-step-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2rem 1.4rem;
  text-align: center;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.pipeline-step-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-500);
  box-shadow: var(--shadow-hover);
}

.step-num-badge {
  width: 36px;
  height: 36px;
  background: var(--primary-50);
  color: var(--primary-700);
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem auto;
  border: 1.5px solid var(--primary-100);
}

.step-title {
  font-size: 1.12rem;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==================== Solutions Grid ==================== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.solution-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 2.2rem;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.solution-box:hover {
  border-color: var(--primary-500);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.sol-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-700);
  margin-bottom: 1.3rem;
}

/* ==================== Implementation Timeline ==================== */
.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  max-width: 860px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 1.6rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.6rem;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.timeline-item:hover {
  border-color: var(--primary-500);
  transform: translateX(-5px);
  box-shadow: var(--shadow-md);
}

.time-badge {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-700);
  background: var(--primary-50);
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--primary-100);
}

/* ==================== Contact & Consultation ==================== */
.contact-section {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.8rem;
  align-items: flex-start;
}

.contact-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: var(--text-heading);
}

.form-control {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid var(--border-medium);
  color: var(--text-heading);
  font-family: var(--font-persian);
  font-size: 0.95rem;
  padding: 0.8rem 1.1rem;
  border-radius: 10px;
  transition: var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary-600);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

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

.office-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.6rem;
  margin-bottom: 1.4rem;
  box-shadow: var(--shadow-sm);
}

.office-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.office-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-700);
}

/* ==================== Footer ==================== */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 25px 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.8rem;
}

.footer-col-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.4rem;
  color: var(--text-heading);
  position: relative;
  display: inline-block;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 0;
  width: 28px;
  height: 2px;
  background: var(--primary-600);
}

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--primary-700);
  padding-right: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==================== Responsive Queries ==================== */
@media (max-width: 1120px) {
  .nav-links, .nav-actions {
    display: none;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-md);
    gap: 1rem;
    align-items: flex-start;
  }
  .mobile-toggle {
    display: block;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .products-grid, .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pipeline-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .calc-card, .contact-grid {
    grid-template-columns: 1fr;
  }
  .dash-main-view {
    grid-template-columns: 1fr;
  }
  .dash-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .navbar {
    height: 70px;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-section {
    padding-top: 100px;
  }
  .products-grid, .solutions-grid, .pipeline-steps {
    grid-template-columns: 1fr;
  }
  .dash-stats-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
}
