/* ===================================================================
   PRIMELINK BOREHOLE DRILLING & SOLAR SYSTEMS - STYLESHEET
   Brand Colors:
   - Primelink Cyan/Blue: #009fe3 / #0284c7
   - Solar Orange/Amber: #f59e0b / #ea580c
   - Eco Green: #16a34a / #10b981
   - Dark Navy: #0f172a / #1e293b
=================================================================== */

:root {
  --primary-blue: #0284c7;
  --primary-blue-dark: #0369a1;
  --primary-blue-light: #e0f2fe;
  --solar-orange: #ea580c;
  --solar-amber: #f59e0b;
  --solar-light: #fff7ed;
  --eco-green: #16a34a;
  --eco-light: #dcfce7;
  --navy-dark: #0f172a;
  --navy-card: #1e293b;
  --navy-border: #334155;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --border-color: #e2e8f0;
  --border-focus: #38bdf8;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.16);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a:hover {
  color: var(--primary-blue-dark);
}

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

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

.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ===================================================================
   TOP ANNOUNCEMENT & BRANCH SELECTOR BAR
=================================================================== */
.top-bar {
  background: #0b1329;
  color: #94a3b8;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 0;
  letter-spacing: -0.01em;
}

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

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #cbd5e1;
  font-weight: 500;
}

.top-bar-item strong {
  color: #ffffff;
  font-weight: 700;
}

.top-bar-item i {
  color: var(--solar-amber);
  font-size: 0.85rem;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.branch-selector-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.2s ease;
}

.branch-selector-pill:hover,
.branch-selector-pill:focus-within {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
}

.branch-selector-pill label {
  font-weight: 600;
  font-size: 0.78rem;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.branch-selector-pill label i {
  color: var(--solar-amber);
}

.branch-selector-pill select {
  background: transparent;
  color: #38bdf8;
  font-weight: 700;
  font-size: 0.84rem;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0.1rem 0.3rem;
}

.branch-selector-pill select option {
  background: var(--navy-dark);
  color: white;
}

/* ===================================================================
   HEADER & MAIN NAVIGATION (CLEAN & PROFESSIONAL)
=================================================================== */
.site-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  height: 80px;
  display: flex;
  align-items: center;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
}

.brand-identity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.brand-identity:hover {
  transform: translateY(-1px);
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: var(--radius-full);
  box-shadow: 0 3px 10px rgba(2, 132, 199, 0.22);
  border: 2px solid #e0f2fe;
  background: white;
}

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

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.brand-title span.accent-solar {
  color: var(--solar-orange);
}

.brand-subtitle {
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.15rem;
}

/* Center Navigation Links */
.main-nav-wrapper {
  display: flex;
  align-items: center;
  margin: 0 auto;
}

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

.nav-links a {
  font-weight: 600;
  font-size: 0.88rem;
  color: #334155;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  position: relative;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-links a i {
  font-size: 0.82rem;
  color: var(--primary-blue);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary-blue);
  background: rgba(2, 132, 199, 0.05);
}

.nav-links a:hover i {
  transform: translateY(-1px);
}

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

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--navy-dark);
  cursor: pointer;
}

/* ===================================================================
   BUTTONS & BADGES (GRAPHIC DESIGN POLISH)
=================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.7rem 1.45rem;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--primary-blue);
  color: white;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
}

.btn-primary:hover {
  background: var(--primary-blue-dark);
  color: white;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.4);
  transform: translateY(-1px);
}

.btn-sun {
  background: linear-gradient(135deg, var(--solar-amber), var(--solar-orange));
  color: white;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.25);
}

.btn-sun:hover {
  background: linear-gradient(135deg, #d97706, #c2410c);
  color: white;
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.45);
  transform: translateY(-1px);
}

.btn-outline {
  background: white;
  border-color: var(--border-color);
  color: var(--navy-dark);
}

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

.btn-whatsapp {
  background: #25d366;
  color: white;
}

.btn-whatsapp:hover {
  background: #1eb956;
  color: white;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

.btn-survey-cta {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: white;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-full);
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

.btn-survey-cta::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: rotate(25deg);
  animation: shine 4s infinite;
}

@keyframes shine {
  0% { transform: translateX(-100%) rotate(25deg); }
  20%, 100% { transform: translateX(100%) rotate(25deg); }
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 0.85rem 1.85rem;
  font-size: 1.02rem;
  border-radius: var(--radius-md);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-subtle {
  background: var(--bg-subtle);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

.badge-active {
  background: var(--primary-blue-light);
  color: var(--primary-blue-dark);
  border: 1px solid rgba(2, 132, 199, 0.3);
}

.badge-solar {
  background: var(--solar-light);
  color: var(--solar-orange);
  border: 1px solid rgba(234, 88, 12, 0.3);
}

.badge-green {
  background: var(--eco-light);
  color: var(--eco-green);
  border: 1px solid rgba(22, 163, 74, 0.3);
}

/* ===================================================================
   DEDICATED DIVISION PORTAL SELECTOR (TOP CONTROL BAR)
=================================================================== */
.division-control-bar {
  background: #f1f5f9;
  border-bottom: 1px solid rgba(203, 213, 225, 0.7);
  padding: 0.6rem 0;
}

.division-pill-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.division-pill-heading {
  font-size: 0.75rem;
  font-weight: 800;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: white;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.portal-segmented-tabs {
  display: inline-flex;
  background: #e2e8f0;
  padding: 0.3rem;
  border-radius: var(--radius-full);
  gap: 0.35rem;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
}

.view-btn {
  background: transparent;
  border: none;
  outline: none;
  padding: 0.48rem 1.35rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  color: #475569;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.view-btn:hover {
  color: var(--navy-dark);
  background: rgba(255, 255, 255, 0.6);
}

.view-btn.active[data-view="all"] {
  background: var(--navy-dark);
  color: white;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.25);
}

.view-btn.active[data-view="borehole"] {
  background: var(--primary-blue);
  color: white;
  box-shadow: 0 3px 12px rgba(2, 132, 199, 0.35);
}

.view-btn.active[data-view="solar"] {
  background: linear-gradient(135deg, var(--solar-amber), var(--solar-orange));
  color: white;
  box-shadow: 0 3px 12px rgba(234, 88, 12, 0.35);
}

/* ===================================================================
   HERO SECTION (PROFESSIONAL EDITORIAL LAYOUT)
=================================================================== */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 85% 15%, rgba(2, 132, 199, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 10% 85%, rgba(234, 88, 12, 0.07) 0%, transparent 60%),
              #ffffff;
  padding: 3.5rem 0 3rem;
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

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

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0369a1;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.25);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.5); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(2, 132, 199, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(2, 132, 199, 0); }
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.12;
  color: var(--navy-dark);
  margin-bottom: 0.65rem;
  letter-spacing: -0.04em;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 1.15rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.hero-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 1.75rem;
  max-width: 600px;
}

/* Branch Quick Indicator */
.hero-location-chip {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  max-width: 580px;
}

.location-chip-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.location-chip-left i {
  font-size: 1.25rem;
}

.chip-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.location-chip-left strong {
  font-size: 0.95rem;
  color: var(--navy-dark);
}

.location-chip-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chip-turnaround {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

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

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 580px;
}

.hero-stat-card {
  background: white;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.hero-stat-card strong {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1.1;
}

.hero-stat-card span {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  display: block;
  margin-top: 0.25rem;
}

/* ===================================================================
   HERO RIGHT: INTERACTIVE SCHEMATIC SHOWCASE
=================================================================== */
.hero-visual {
  position: relative;
}

.hero-schematic-card {
  background: #0f172a;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #334155;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.4);
  display: flex;
  flex-direction: column;
}

.schematic-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.25rem;
  background: #1e293b;
  border-bottom: 1px solid #334155;
}

.schematic-tabs {
  display: flex;
  gap: 0.5rem;
}

.schematic-tab {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.schematic-tab:hover {
  color: white;
  border-color: rgba(255, 255, 255, 0.4);
}

.schematic-tab.active#hero-tab-borehole {
  background: var(--primary-blue);
  color: white;
  border-color: var(--primary-blue);
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.4);
}

.schematic-tab.active#hero-tab-solar {
  background: var(--solar-orange);
  color: white;
  border-color: var(--solar-orange);
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.4);
}

.schematic-status {
  font-size: 0.75rem;
  color: #38bdf8;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.pulse-green {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

.schematic-body {
  height: 400px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 40%, #172554 0%, #0b132b 100%);
  overflow: hidden;
  padding: 1rem 1.5rem;
}

.schematic-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: opacity 0.3s ease;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
}

.schematic-footer {
  padding: 1rem 1.25rem;
  background: #1e293b;
  border-top: 1px solid #334155;
}

.schematic-telemetry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.telemetry-item .label {
  display: block;
  font-size: 0.68rem;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.telemetry-item .value {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: #f8fafc;
  margin-top: 0.15rem;
}

/* ===================================================================
   PORTAL BANNER & DUAL SWITCHER
=================================================================== */
.portal-banner {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.portal-banner::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
}

.portal-banner.borehole-theme::before {
  background: var(--primary-blue);
}

.portal-banner.solar-theme::before {
  background: var(--solar-orange);
}

.portal-banner.unified-theme::before {
  background: linear-gradient(to bottom, var(--primary-blue), var(--solar-orange));
}

.portal-banner .portal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.portal-banner h2 {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 0.65rem;
}

.portal-banner p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 800px;
  margin-bottom: 1.5rem;
}

.banner-quick-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===================================================================
   SECTION HEADERS
=================================================================== */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3rem;
}

.section-pretitle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.65rem;
}

.section-pretitle.blue { color: var(--primary-blue); }
.section-pretitle.orange { color: var(--solar-orange); }

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

.section-description {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.section-padding {
  padding: 4.5rem 0;
}

.bg-subtle-alt {
  background: var(--bg-subtle);
}

/* ===================================================================
   DEYE SOLAR BRAND BANNER
=================================================================== */
.deye-featured-banner {
  background: linear-gradient(135deg, #09152b 0%, #112240 50%, #1e3a8a 100%);
  border-radius: var(--radius-lg);
  color: white;
  padding: 2.25rem 2.5rem;
  margin-bottom: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-xl);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.deye-featured-banner::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.deye-banner-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(234, 88, 12, 0.2);
  border: 1px solid rgba(249, 115, 22, 0.4);
  color: #fb923c;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

.deye-banner-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

.deye-banner-title .deye-logo-accent {
  color: #ef4444;
  font-weight: 900;
}

.deye-banner-desc {
  color: #cbd5e1;
  font-size: 0.98rem;
  max-width: 680px;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.deye-spec-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.deye-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #f1f5f9;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.deye-chip i {
  color: #38bdf8;
}

.deye-banner-right {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
  min-width: 260px;
}

.deye-hotline-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  text-align: right;
  width: 100%;
}

.deye-hotline-label {
  font-size: 0.75rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.25rem;
}

.deye-hotline-number {
  font-size: 1.15rem;
  font-weight: 800;
  color: #38bdf8;
  display: block;
}

.deye-featured-banner {
  background: linear-gradient(135deg, #09152b 0%, #112240 50%, #1e3a8a 100%);
  border-radius: var(--radius-lg);
  color: white;
  padding: 2.25rem 2.5rem;
  margin-bottom: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-xl);
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.deye-banner-media {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.2);
  height: 200px;
}

.deye-banner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.deye-banner-media:hover img {
  transform: scale(1.05);
}

.deye-media-badge {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(4px);
  color: #38bdf8;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

@media (max-width: 1100px) {
  .deye-featured-banner {
    grid-template-columns: 1fr;
    padding: 1.75rem;
  }
  .deye-banner-right {
    align-items: stretch;
  }
  .deye-hotline-card {
    text-align: left;
  }
}

/* ===================================================================
   REAL SOLAR INSTALLATION FIELD GALLERY
=================================================================== */
.solar-field-gallery-section {
  margin-top: 4.5rem;
  padding-top: 3.5rem;
  border-top: 1px solid var(--border-color);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

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

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: #cbd5e1;
}

.gallery-image-wrapper {
  position: relative;
  height: 250px;
  overflow: hidden;
  background-color: #0b1528;
}

.gallery-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

.gallery-card:hover .gallery-image-wrapper img {
  transform: scale(1.08);
}

.gallery-category-pill {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #38bdf8;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.gallery-location-pill {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #f1f5f9;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.gallery-card-content {
  padding: 1.35rem 1.5rem;
  flex: 1;
}

.gallery-card-content h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.gallery-card-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ===================================================================
   PACKAGE CARDS GRID
=================================================================== */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.package-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.package-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: #cbd5e1;
}

.package-card.featured {
  border: 2px solid var(--solar-amber);
}

.borehole-card.featured {
  border: 2px solid var(--primary-blue);
}

.card-ribbon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--solar-orange);
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.blue-ribbon {
  background: var(--primary-blue);
}

.package-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.package-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  background-color: #0b1528;
  transition: transform 0.5s ease;
}

.package-card:hover .package-image img {
  transform: scale(1.05);
}

.package-city-tag {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.package-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.package-content h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 0.35rem;
}

.package-capacity {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.package-price-box {
  background: var(--solar-light);
  border: 1px dashed rgba(234, 88, 12, 0.35);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.package-price-box.blue-price {
  background: var(--primary-blue-light);
  border: 1px dashed rgba(2, 132, 199, 0.4);
}

.price-currency {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-dark);
}

.price-amount {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1;
}

.price-period {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-left: 0.25rem;
}

.spec-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
}

.spec-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--text-main);
}

.spec-item i {
  color: var(--eco-green);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.runs-box {
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.runs-box h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy-dark);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.runs-box ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;
}

.runs-box li {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.runs-box li i {
  color: var(--primary-blue);
  font-size: 0.75rem;
}

.package-card-actions {
  margin-top: auto;
}

/* ===================================================================
   INTELLIGENT LAYMEN SOLAR RECOMMENDER (LOAD CALCULATOR)
=================================================================== */
.calculator-wrapper {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
  margin-top: 2rem;
}

.calc-intro-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 2rem;
}

.calc-intro-bar h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy-dark);
}

.calc-intro-bar p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.autonomy-picker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--solar-light);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(234, 88, 12, 0.25);
}

.autonomy-picker label {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--solar-orange);
}

.autonomy-picker select {
  background: white;
  border: 1px solid var(--border-color);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  color: var(--navy-dark);
}

.appliance-category-block {
  margin-bottom: 2rem;
}

.appliance-category-block h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.appliance-category-block h4 i {
  color: var(--solar-amber);
}

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

.appliance-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  transition: var(--transition);
}

.appliance-card:hover {
  background: white;
  border-color: #cbd5e1;
  box-shadow: var(--shadow-sm);
}

.appliance-card.selected {
  background: white;
  border: 2px solid var(--solar-orange);
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.15);
}

.app-card-top {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.app-icon {
  width: 40px;
  height: 40px;
  background: white;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--navy-dark);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.appliance-card.selected .app-icon {
  background: var(--solar-light);
  color: var(--solar-orange);
}

.app-info {
  flex-grow: 1;
}

.app-info h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.25;
}

.app-info small {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
  margin-top: 0.2rem;
}

.app-toggle input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--solar-orange);
  cursor: pointer;
}

.app-card-bottom {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.qty-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  padding: 0.15rem;
}

.qty-btn {
  background: white;
  border: 1px solid var(--border-color);
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  cursor: pointer;
  color: var(--navy-dark);
}

.qty-btn:hover {
  background: var(--solar-amber);
  color: white;
}

.qty-num {
  font-size: 0.85rem;
  font-weight: 800;
  min-width: 20px;
  text-align: center;
}

.app-wattage {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--solar-orange);
}

/* Calculator Summary & Recommendation Box */
.calc-live-metrics-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  background: var(--navy-dark);
  color: white;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.75rem;
  margin: 2rem 0;
}

.live-metric {
  display: flex;
  flex-direction: column;
}

.live-metric span {
  font-size: 0.78rem;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.live-metric strong {
  font-size: 1.45rem;
  font-weight: 800;
  color: white;
}

.live-metric strong.text-accent-solar {
  color: var(--solar-amber);
}

.recommended-solar-box {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 2px solid var(--solar-amber);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}

.recommendation-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--solar-orange);
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.rec-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.rec-header h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy-dark);
}

.rec-reason {
  font-size: 0.95rem;
  color: #78350f;
  margin-top: 0.35rem;
  max-width: 650px;
}

.rec-price-tag {
  background: white;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: right;
}

.rec-price-tag .currency {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy-dark);
}

.rec-price-tag .value {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy-dark);
}

.rec-price-tag .branch-tag {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-blue);
}

.rec-components-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.rec-comp-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  box-shadow: var(--shadow-sm);
}

.rec-comp-card i {
  font-size: 1.3rem;
  color: var(--solar-orange);
  margin-top: 0.2rem;
}

.rec-comp-card strong {
  display: block;
  font-size: 0.85rem;
  color: var(--navy-dark);
}

.rec-comp-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.3;
  margin-top: 0.15rem;
}

.rec-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===================================================================
   BOREHOLE INTERACTIVE COST CALCULATOR
=================================================================== */
.borehole-calc-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
}

.calc-control-group {
  margin-bottom: 1.75rem;
}

.calc-control-group label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy-dark);
  margin-bottom: 0.75rem;
}

.depth-slider-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.depth-slider-row input[type="range"] {
  flex-grow: 1;
  height: 8px;
  border-radius: 4px;
  background: var(--bg-subtle);
  outline: none;
  accent-color: var(--primary-blue);
  cursor: pointer;
}

.depth-number-input {
  width: 90px;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 1.1rem;
  text-align: center;
  color: var(--primary-blue);
}

.radio-pill-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.radio-pill {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  transition: var(--transition);
}

.radio-pill:hover {
  border-color: var(--primary-blue);
  background: var(--primary-blue-light);
}

.radio-pill input[type="radio"] {
  margin-top: 0.25rem;
  accent-color: var(--primary-blue);
}

.radio-pill strong {
  display: block;
  font-size: 0.9rem;
  color: var(--navy-dark);
}

.radio-pill small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.addons-checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.addon-checkbox-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  background: var(--bg-subtle);
  cursor: pointer;
  transition: var(--transition);
}

.addon-checkbox-card:hover {
  background: white;
  border-color: #cbd5e1;
}

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

.addon-info input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-blue);
}

.addon-info span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-dark);
}

.addon-price {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-blue);
}

/* Borehole Summary Card */
.borehole-cost-summary {
  background: var(--navy-dark);
  color: white;
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cost-summary-header h4 {
  font-size: 1.25rem;
  color: white;
  margin-bottom: 0.35rem;
}

.cost-summary-header p {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 1.5rem;
}

.cost-line-items {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--navy-border);
  margin-bottom: 1.5rem;
}

.cost-line-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #cbd5e1;
}

.cost-line-item strong {
  color: white;
}

.total-estimate-box {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.total-estimate-box span {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.total-estimate-box .big-total {
  font-size: 2.2rem;
  font-weight: 800;
  color: #38bdf8;
  line-height: 1.1;
  margin: 0.25rem 0;
}

.total-estimate-box small {
  font-size: 0.75rem;
  color: #94a3b8;
}

/* ===================================================================
   BRANCH & TOWNS DIRECTORY SECTION
=================================================================== */
.branches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
}

.branch-card {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

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

.branch-card.active-branch-card {
  border: 2px solid var(--primary-blue);
  background: #f0f9ff;
}

.branch-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.branch-card-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-dark);
}

.branch-card-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.geology-box {
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  margin: 1rem 0;
  font-size: 0.8rem;
}

.geology-box strong {
  display: block;
  color: var(--navy-dark);
  margin-bottom: 0.2rem;
}

.geology-box p {
  color: var(--text-muted);
  margin-bottom: 0;
}

.branch-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1.25rem;
}

.branch-stats div {
  text-align: center;
}

.branch-stats span {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.branch-stats strong {
  font-size: 0.9rem;
  color: var(--navy-dark);
}

/* ===================================================================
   AUTOMATED SURVEY BOOKING SECTION & FORM
=================================================================== */
.survey-booking-section {
  background: radial-gradient(circle at 10% 20%, #1e293b 0%, #0f172a 100%);
  color: white;
  padding: 5rem 0;
  position: relative;
}

.survey-booking-container {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
}

.survey-info-panel h2 {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.survey-info-panel p {
  color: #94a3b8;
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.survey-perks-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.perk-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.perk-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(2, 132, 199, 0.2);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.perk-text h4 {
  font-size: 1.05rem;
  color: white;
  margin-bottom: 0.2rem;
}

.perk-text p {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 0;
}

.survey-form-card {
  background: white;
  color: var(--text-main);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-xl);
}

.survey-form-card h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 0.25rem;
}

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

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

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

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 0.35rem;
}

.form-control {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
  background: white;
}

.form-control:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.form-notice {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  text-align: center;
}

/* ===================================================================
   MODALS (SURVEY & CONFIRMATION)
=================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: white;
  width: 100%;
  max-width: 650px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-header {
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-dark);
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 1.25rem;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-body {
  padding: 1.75rem;
}

/* Confirmation Modal Specifics */
.confirmation-success-icon {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-full);
  background: var(--eco-light);
  color: var(--eco-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.25rem;
}

#confirmation-modal-content {
  text-align: center;
}

#confirmation-modal-content h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 0.35rem;
}

#confirmation-modal-content .subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.confirmation-ref-card {
  background: var(--navy-dark);
  color: white;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.confirmation-ref-card .ref-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin-bottom: 0.25rem;
}

.confirmation-ref-card .ref-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 0.05em;
  font-family: monospace;
}

.status-pill {
  display: inline-block;
  background: rgba(22, 163, 74, 0.2);
  color: #4ade80;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin-top: 0.35rem;
}

.confirmation-details-grid {
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: left;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
}

.detail-row span {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.detail-row strong {
  color: var(--navy-dark);
}

/* ===================================================================
   TESTIMONIALS & FAQ
=================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.stars {
  color: var(--solar-amber);
  margin-bottom: 0.85rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-main);
  font-style: italic;
  margin-bottom: 1.25rem;
}

.testimonial-author strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy-dark);
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-grid {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-card {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.faq-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.faq-card h4 i {
  color: var(--primary-blue);
}

.faq-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===================================================================
   FOOTER
=================================================================== */
.site-footer {
  background: var(--navy-dark);
  color: #94a3b8;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-col h4 {
  color: white;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-brand-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 1rem 0 1.25rem;
}

.footer-address-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-address-box strong {
  color: white;
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
}

.footer-address-box p {
  font-size: 0.82rem;
  margin-bottom: 0;
  color: #cbd5e1;
}

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

.footer-links a {
  color: #94a3b8;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: #38bdf8;
  transform: translateX(3px);
}

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

/* ===================================================================
   TOAST NOTIFICATION
=================================================================== */
#toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: var(--navy-dark);
  color: white;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  font-size: 0.88rem;
  border-left: 4px solid var(--primary-blue);
  transform: translateX(120%);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-success { border-left-color: var(--eco-green); }
.toast-error { border-left-color: #ef4444; }

.toast-content {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* Back to Top */
#back-to-top {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: white;
  color: var(--navy-dark);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

#back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

#back-to-top:hover {
  background: var(--primary-blue);
  color: white;
}

/* ===================================================================
   SHOPPING CART & QUOTATION DRAWER
=================================================================== */
.btn-cart-toggle {
  background: rgba(2, 132, 199, 0.08);
  color: var(--primary-blue);
  border: 1.5px solid var(--primary-blue);
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.84rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-cart-toggle:hover {
  background: var(--primary-blue);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.cart-badge {
  background: var(--accent-solar);
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 9999px;
  min-width: 1.25rem;
  text-align: center;
  transition: transform 0.2s ease;
}

.cart-badge.bump, .floating-cart-badge.bump {
  animation: badgeBump 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes badgeBump {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); background: #22c55e; }
  100% { transform: scale(1); }
}

/* Floating Cart Trigger Pill */
.floating-cart-pill {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: linear-gradient(135deg, var(--navy-dark) 0%, #1e3a8a 100%);
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  cursor: pointer;
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  z-index: 998;
  transform: translateY(120px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-cart-pill.visible {
  transform: translateY(0);
  opacity: 1;
}

.floating-cart-pill:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px -5px rgba(2, 132, 199, 0.4);
}

.floating-cart-icon {
  position: relative;
  font-size: 1.25rem;
  color: var(--accent-solar);
}

.floating-cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: #ef4444;
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.1rem 0.35rem;
  border-radius: 9999px;
  border: 1.5px solid var(--navy-dark);
}

.floating-cart-text {
  display: flex;
  flex-direction: column;
}

.floating-cart-title {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.floating-cart-total {
  font-size: 1.05rem;
  font-weight: 800;
  color: white;
}

/* Cart Slide-Over Drawer */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 480px;
  background: white;
  z-index: 2001;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.cart-drawer-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  background: var(--navy-dark);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-drawer-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.cart-drawer-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}

.cart-drawer-close:hover {
  background: #ef4444;
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 1rem;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.cart-item-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
}

.cart-item-thumb {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #0f172a;
}

.cart-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.cart-item-info h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 0.25rem;
  line-height: 1.25;
}

.cart-item-spec {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.cart-item-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.cart-item-price {
  font-weight: 800;
  color: var(--primary-blue);
}

.cart-qty-controls {
  display: flex;
  align-items: center;
  background: #f1f5f9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.cart-qty-btn {
  background: none;
  border: none;
  width: 26px;
  height: 26px;
  cursor: pointer;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-qty-btn:hover {
  background: #e2e8f0;
}

.cart-qty-val {
  padding: 0 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.cart-item-delete {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 0.95rem;
  padding: 4px;
  transition: color 0.2s ease;
}

.cart-item-delete:hover {
  color: #ef4444;
}

.cart-item-line-total {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy-dark);
}

/* Empty State */
.cart-empty-box {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--text-muted);
}

.cart-empty-box i {
  font-size: 3.5rem;
  color: #cbd5e1;
  margin-bottom: 1rem;
}

.cart-empty-box h4 {
  font-size: 1.15rem;
  color: var(--navy-dark);
  margin-bottom: 0.5rem;
}

.cart-empty-box p {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.cart-quick-adds {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

.cart-quick-add-btn {
  background: white;
  border: 1px solid var(--border-color);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.cart-quick-add-btn:hover {
  border-color: var(--primary-blue);
  background: #f0f9ff;
  color: var(--primary-blue);
}

/* Cart Customer Info Form */
.cart-customer-section {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.cart-customer-section h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.cart-customer-section p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.cart-input-group {
  margin-bottom: 0.75rem;
}

.cart-input-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cart-input-group input, .cart-input-group textarea {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  transition: border-color 0.2s ease;
}

.cart-input-group input:focus, .cart-input-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
}

/* Cart Footer */
.cart-drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-color);
  background: white;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.04);
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.cart-delivery-note {
  font-size: 0.78rem;
  color: #16a34a;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 0.65rem;
  border-top: 1px dashed var(--border-color);
  margin-bottom: 1rem;
}

.cart-total-row span {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy-dark);
}

.cart-total-row strong {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary-blue);
}

.cart-action-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.btn-pdf-download {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: white;
  border: none;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
  transition: var(--transition);
}

.btn-pdf-download:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.4);
}

.btn-pdf-download:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-cart-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

/* Quotation Document Modal */
.quotation-preview-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(5px);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.quotation-preview-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.quotation-preview-box {
  background: #f1f5f9;
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.quotation-preview-header {
  background: var(--navy-dark);
  color: white;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quotation-preview-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.quotation-sheet-paper {
  background: #ffffff !important;
  color: #1e293b !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-sm);
  padding: 2.25rem;
  box-sizing: border-box;
  width: 100%;
}

.quotation-preview-actions {
  background: white;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Quotation Document Internal Layout & Typographic Styling */
.quote-doc {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1e293b;
  line-height: 1.5;
  font-size: 13px;
}

.quote-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid #0284c7;
}

.quote-brand-block {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.quote-brand-logo {
  width: 65px;
  height: 65px;
  object-fit: contain;
  border-radius: 8px;
}

.quote-brand-name {
  font-size: 1.45rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.quote-brand-name span {
  color: #ea580c;
}

.quote-brand-tagline {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0284c7;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.quote-company-address {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 4px;
  line-height: 1.4;
}

.quote-meta-card {
  text-align: right;
}

.quote-doc-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.35rem;
}

.quote-meta-pill {
  display: inline-block;
  background: #eff6ff;
  color: #0284c7;
  border: 1px solid #bfdbfe;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.quote-meta-list {
  font-size: 0.8rem;
  color: #475569;
  line-height: 1.6;
}

.quote-client-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1.25rem 0;
}

.quote-info-panel {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 0.85rem 1rem;
}

.quote-info-panel-title {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #0284c7;
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.quote-info-panel-title.orange {
  color: #ea580c;
}

.quote-info-content {
  font-size: 0.82rem;
  line-height: 1.55;
  color: #1e293b;
}

.quote-info-content strong {
  color: #0f172a;
}

.quote-table-wrap {
  margin: 1.25rem 0;
  overflow-x: auto;
}

.quote-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.quote-table th {
  background: #0f172a;
  color: white;
  padding: 0.65rem 0.85rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.quote-table th.text-right, .quote-table td.text-right {
  text-align: right;
}

.quote-table th.text-center, .quote-table td.text-center {
  text-align: center;
}

.quote-table td {
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: top;
}

.quote-table tbody tr:nth-child(even) {
  background: #fbfcfe;
}

.quote-item-title {
  font-weight: 800;
  color: #0f172a;
  font-size: 0.88rem;
  margin-bottom: 0.2rem;
}

.quote-item-specs {
  font-size: 0.76rem;
  color: #64748b;
  line-height: 1.4;
}

.quote-calc-row {
  display: flex;
  justify-content: flex-end;
  margin: 1rem 0;
}

.quote-totals-box {
  width: 320px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 0.85rem 1.15rem;
}

.quote-totals-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #475569;
  margin-bottom: 0.35rem;
}

.quote-grand-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 2px solid #0284c7;
  padding-top: 0.5rem;
  margin-top: 0.5rem;
}

.quote-grand-line span {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
}

.quote-grand-line strong {
  font-size: 1.45rem;
  font-weight: 900;
  color: #0284c7;
}

.quote-warranties-section {
  background: #eff6ff;
  border-left: 3px solid #0284c7;
  padding: 0.75rem 1rem;
  border-radius: 0 6px 6px 0;
  margin: 1rem 0;
  font-size: 0.76rem;
  color: #1e3a8a;
}

.quote-warranties-section h5 {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  color: #1e40af;
}

.quote-warranties-section ul {
  padding-left: 1.25rem;
  margin: 0;
  line-height: 1.5;
}

.quote-settlement-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.25rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

.quote-bank-info {
  font-size: 0.76rem;
  color: #475569;
  line-height: 1.5;
}

.quote-bank-info strong {
  color: #0f172a;
}

.quote-sign-block {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px dashed #cbd5e1;
  border-radius: 6px;
  padding: 0.75rem;
  background: #fafafa;
}

.quote-seal-badge {
  color: #0284c7;
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
}

.quote-sign-text {
  font-size: 0.74rem;
  font-weight: 700;
  color: #334155;
  text-transform: uppercase;
}

.quote-doc-footer {
  text-align: center;
  font-size: 0.72rem;
  color: #94a3b8;
  margin-top: 1.25rem;
  padding-top: 0.75rem;
  border-top: 1px dashed #e2e8f0;
}

/* Print Specific Rules */
@media print {
  body * {
    visibility: hidden;
  }
  #printable-quote-document, #printable-quote-document * {
    visibility: visible;
  }
  #printable-quote-document {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 1.5cm;
    background: white;
    box-shadow: none;
    border: none;
  }
  .quotation-preview-modal {
    position: static;
    background: none;
    padding: 0;
  }
  .quotation-preview-box {
    box-shadow: none;
    border: none;
    max-width: 100%;
  }
  .quotation-preview-header, .quotation-preview-actions {
    display: none !important;
  }
}

/* ===================================================================
   RESPONSIVE MEDIA QUERIES
=================================================================== */
@media (max-width: 1320px) {
  .top-bar-item:nth-child(3) {
    display: none;
  }
  .nav-links {
    gap: 1.15rem;
  }
  .nav-links a {
    font-size: 0.86rem;
    padding: 0.4rem 0.5rem;
  }
  .brand-title {
    font-size: 1.25rem;
  }
  .brand-logo-img {
    width: 44px;
    height: 44px;
  }
  .btn-survey-cta {
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
  }
  .btn-cart-toggle {
    padding: 0.5rem 0.9rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 1080px) {
  .main-nav-wrapper {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .top-bar-left .top-bar-item:not(:first-child) {
    display: none;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .borehole-calc-container {
    grid-template-columns: 1fr;
  }
  .survey-booking-container {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar-left {
    display: none;
  }
  .top-bar .container {
    justify-content: center;
  }
  .site-header {
    height: 70px;
  }
  .brand-logo-img {
    width: 42px;
    height: 42px;
  }
  .brand-title {
    font-size: 1.25rem;
  }
  .brand-subtitle {
    font-size: 0.65rem;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .main-nav-wrapper {
    display: none;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border-color);
    gap: 1rem;
    z-index: 999;
  }
  .nav-links.open {
    display: flex;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .division-pill-container {
    flex-direction: column;
    gap: 0.5rem;
  }
  .portal-segmented-tabs {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0.2rem;
    -webkit-overflow-scrolling: touch;
  }
  .view-btn {
    padding: 0.4rem 0.85rem;
    font-size: 0.78rem;
    flex-shrink: 0;
  }
  .hero-location-chip {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .hero-stats-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .schematic-body {
    height: 270px;
  }
  .schematic-telemetry {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .calc-live-metrics-bar {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
