/* =========================================================
   BREAKWAY ELECTRIC — style.css
   Premium Light Glassmorphic Theme & Responsive Layout
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=Noto+Sans+Tamil:wght@400;700;900&display=swap');

/* ── RESET & VARIABLES ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-page: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.8);
  --bg-input: #ffffff;
  --border-glass: rgba(0, 0, 0, 0.08);
  --border-focus: rgba(79, 70, 229, 0.4);
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dark: #0f172a;
  
  /* Vibrant Electric Brand Colors for Light Mode */
  --indigo: #4f46e5;
  --indigo-glow: rgba(79, 70, 229, 0.12);
  --violet: #7c3aed;
  --violet-glow: rgba(124, 58, 237, 0.12);
  --emerald: #059669;
  --emerald-glow: rgba(5, 150, 105, 0.12);
  --gold: #d97706;
  --gold-glow: rgba(217, 119, 6, 0.12);
  --red: #dc2626;
  --red-glow: rgba(220, 38, 38, 0.1);
  
  --radius: 16px;
  --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.02);
  --font: 'Plus Jakarta Sans', 'Inter', 'Noto Sans Tamil', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  position: relative;
}

/* Subtle background glowing orb */
body::before {
  content: '';
  position: absolute;
  top: 15%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.06) 0%, transparent 80%);
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

input, select, textarea {
  font-family: var(--font);
  outline: none;
  border: none;
}

/* Custom Scrollbar for Premium Feel */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

/* ── UTILITIES ── */
.mt6 { margin-top: 0.6rem; }
.mt8 { margin-top: 0.8rem; }
.range-inp {
  width: 100%;
  margin-top: 0.6rem;
  accent-color: var(--indigo);
  height: 6px;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.1);
  outline: none;
}
.count-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

/* ── SECTION COMMON ── */
.sec-head {
  text-align: center;
  padding: 3.5rem 1.25rem 2rem;
  max-width: 700px;
  margin: 0 auto;
}
.sec-head h2 {
  font-size: clamp(1.4rem, 5vw, 2.1rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text-main);
}
.muted {
  color: var(--text-muted);
  font-weight: 500;
}
.sec-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.4rem;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
}
.hdr-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.25rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.1);
}
.brand-name {
  display: block;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: 0.05em;
  line-height: 1.1;
}
.brand-sub {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 0.1rem;
}
.hdr-btns {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.hdr-call {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--emerald);
  color: #fff;
  padding: 0.55rem 1rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 4px 12px var(--emerald-glow);
}
.hdr-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px var(--emerald-glow);
}
.hdr-wa {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  border-radius: 12px;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}
.hdr-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
  padding: 4.5rem 1.25rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-glass);
}
.hero-content {
  position: relative;
  max-width: 550px;
  margin: 0 auto;
  z-index: 2;
}
.hero-badge {
  display: inline-block;
  background: rgba(79, 70, 229, 0.08);
  color: var(--indigo);
  padding: 0.4rem 1rem;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(79, 70, 229, 0.2);
  box-shadow: 0 0 15px rgba(79, 70, 229, 0.05);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.3); }
  70% { box-shadow: 0 0 0 10px rgba(79, 70, 229, 0); }
  100% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0); }
}
.hero-title {
  font-size: clamp(2rem, 7vw, 3.2rem);
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}
.hero-hl {
  background: linear-gradient(90deg, #4f46e5, #059669);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2.2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.2rem;
}
.btn-call, .btn-wa {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.6rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  min-width: 170px;
  justify-content: center;
  box-shadow: var(--shadow);
}
.btn-call {
  background: linear-gradient(135deg, var(--emerald) 0%, #059669 100%);
  color: #fff;
  box-shadow: 0 4px 14px var(--emerald-glow);
}
.btn-call:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px var(--emerald-glow);
}
.btn-wa {
  background: linear-gradient(135deg, #25d366 0%, #15803d 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.2);
}
.btn-wa:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}
.btn-call span, .btn-wa span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: left;
}
.btn-call small, .btn-wa small {
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.85;
}
.btn-call:active, .btn-wa:active {
  transform: scale(0.96);
}
.hero-trust {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.6);
  padding: 0.6rem 1.2rem;
  border-radius: 99px;
  width: max-content;
  margin: 0 auto;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* =========================================================
   SERVICES
   ========================================================= */
.services-sec {
  padding: 0 1.25rem 3.5rem;
  max-width: 960px;
  margin: 0 auto;
}
.srv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.srv-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow);
}
.srv-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 0, 0, 0.15);
  background: #ffffff;
  box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.08);
}
.srv-card:active {
  transform: scale(0.97);
}
.srv-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
  box-shadow: inset 0 0 12px rgba(0,0,0,0.02);
}
.srv-card strong {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
}
.srv-card span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* =========================================================
   PRO TOOLS
   ========================================================= */
.tools-sec {
  background: #f1f5f9;
  padding-bottom: 4rem;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  position: relative;
}
.tools-sec::before {
  content: '';
  position: absolute;
  bottom: 0; left: 10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.03) 0%, transparent 75%);
  filter: blur(80px);
  pointer-events: none;
}

/* Premium Floating Dock Tab Bar */
.tab-bar {
  display: flex;
  overflow-x: auto;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.4rem;
  border-radius: 99px;
  max-width: 520px;
  margin: 1rem auto 2.5rem;
  border: 1px solid var(--border-glass);
  scrollbar-width: none;
  position: sticky;
  top: 74px;
  z-index: 90;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}
.tab-bar::-webkit-scrollbar {
  display: none;
}
.tab-btn {
  flex: 1;
  min-width: 85px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.65rem 0.5rem;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 99px;
  border: none;
  background: transparent;
  white-space: nowrap;
}
.tab-btn i {
  font-style: normal;
  font-size: 1.45rem;
  line-height: 1;
  display: block;
}
.tab-btn span {
  margin-top: 0.1rem;
}
.tab-btn.active {
  color: #fff;
  background: var(--indigo);
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.35);
}
.tab-btn:hover:not(.active) {
  color: var(--text-main);
  background: rgba(0, 0, 0, 0.04);
}

/* Panels Layout */
.panels-wrap {
  max-width: 640px;
  margin: 0 auto;
}
.panel {
  display: none;
  padding: 0 1rem;
  animation: slideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.panel.active {
  display: block;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Card Header inside calculator */
.tool-hdr {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--border-glass);
  padding: 1.2rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.01);
}
.tool-hdr-icon {
  font-size: 2rem;
  color: var(--indigo);
  text-shadow: 0 0 15px var(--indigo-glow);
  flex-shrink: 0;
}
.tool-hdr h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.15rem;
  color: var(--text-main);
}
.tool-hdr p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Calculator Glass Cards */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}
.lbl {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.6rem;
}

/* Premium Inputs styling */
.inp {
  width: 100%;
  padding: 0.9rem 1.15rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  background: var(--bg-input);
  color: var(--text-main);
  display: block;
  box-sizing: border-box;
  -webkit-appearance: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.inp:focus {
  border-color: var(--indigo);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}
.inp::placeholder {
  color: rgba(71, 85, 105, 0.45);
  font-weight: 500;
  font-size: 0.9rem;
}
/* Focus glow for select tag */
select.inp {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  background-size: 0.9rem;
  padding-right: 2.5rem;
}

/* Rows alignment */
.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.row3 {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 0.75rem;
}
.row2.mt8, .row3.mt8 {
  margin-top: 0.75rem;
}
@media (max-width: 480px) {
  .row2 { grid-template-columns: 1fr; }
  .row3 { grid-template-columns: 1fr; }
}

/* Category selector pills */
.pill-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.pill {
  padding: 0.9rem 0.5rem;
  text-align: center;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.pill strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 0.2rem;
}
.pill small {
  font-size: 0.68rem;
  color: var(--text-muted);
  opacity: 0.85;
}
.pill:hover {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.15);
}
.pill.active {
  border-color: var(--indigo);
  background: rgba(79, 70, 229, 0.08);
  color: var(--indigo);
  box-shadow: 0 0 10px rgba(79, 70, 229, 0.08);
}

/* Add button */
.add-btn {
  width: 100%;
  padding: 0.9rem;
  background: linear-gradient(135deg, var(--indigo) 0%, var(--violet) 100%);
  color: #fff;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 700;
  margin-top: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px var(--indigo-glow);
}
.add-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--indigo-glow);
}
.add-btn:active {
  transform: scale(0.98);
}

/* Form items list */
.app-list {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  max-height: 280px;
  overflow-y: auto;
  padding: 0.5rem;
  margin-bottom: 1rem;
}
.empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 2;
}
.app-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0.75rem;
  border-bottom: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  margin-bottom: 0.25rem;
}
.app-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.app-item-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
}
.app-item-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}
.app-item-kwh {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--indigo);
}
.app-item-del {
  width: 30px;
  height: 30px;
  background: rgba(239, 68, 68, 0.1);
  color: var(--red);
  border-radius: 10px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(239, 68, 68, 0.1);
}
.app-item-del:hover {
  background: var(--red);
  color: #fff;
}

/* Result Card Revamp (Premium Light Indigo Card) */
.result-card {
  background: linear-gradient(135deg, #e0e7ff 0%, #eef2ff 100%);
  border: 1px solid rgba(79, 70, 229, 0.15);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}
.result-row {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.result-item {
  flex: 1;
}
.result-lbl {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--indigo);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.4rem;
  line-height: 1.4;
}
.result-val {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  display: block;
  letter-spacing: -0.02em;
}
.result-val.green {
  color: var(--emerald);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.result-val.white {
  color: var(--text-main);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Subsidy informational bar */
.subsidy-bar {
  background: rgba(79, 70, 229, 0.05);
  border: 1px solid rgba(79, 70, 229, 0.1);
  border-radius: 12px;
  padding: 0.65rem 0.9rem;
  font-size: 0.8rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.subsidy-bar button {
  background: var(--indigo);
  color: #fff;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
}
.subsidy-bar button:hover {
  background: var(--violet);
  color: #fff;
}

/* Slab details table */
.slab-table {
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  padding: 0.4rem;
  border: 1px solid rgba(79, 70, 229, 0.1);
}
.slab-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 0.5rem;
  padding: 0.5rem 0.4rem;
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  color: var(--text-muted);
}
.slab-row:last-child {
  border-bottom: none;
}
.slab-row span {
  font-weight: 500;
}
.slab-row span:nth-child(1) {
  color: var(--text-main);
  font-weight: 600;
}
.slab-row .sc {
  color: var(--emerald);
  font-weight: 800;
  text-align: right;
}

/* Action row CTAs */
.action-row {
  display: flex;
  gap: 0.75rem;
}

/* WhatsApp share button styling */
.wa-btn {
  flex: 1;
  padding: 0.95rem;
  background: #25d366;
  color: #fff;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.2);
}
.wa-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}
.clear-btn {
  padding: 0.95rem 1.3rem;
  background: #ffffff;
  color: var(--text-muted);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
  border: 1px solid var(--border-glass);
}
.clear-btn:hover {
  background: rgba(0, 0, 0, 0.03);
  color: var(--text-main);
}

/* Phase Selector Row */
.phase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.phase-btn {
  padding: 1rem 0.5rem;
  text-align: center;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.6);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-muted);
  line-height: 1.4;
}
.phase-btn small {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
}
.phase-btn:hover {
  background: #ffffff;
  border-color: rgba(0,0,0,0.12);
}
.phase-btn.active {
  border-color: var(--indigo);
  color: var(--indigo);
  background: rgba(79, 70, 229, 0.08);
  box-shadow: 0 0 10px rgba(79, 70, 229, 0.08);
}

/* Secondary internal subtabs */
.sub-tabs {
  display: flex;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 12px;
  padding: 0.3rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border-glass);
}
.sub-tab {
  flex: 1;
  padding: 0.65rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: 9px;
  transition: all 0.2s ease;
  text-align: center;
}
.sub-tab.active {
  color: #fff;
  background: var(--indigo);
  box-shadow: 0 2px 10px rgba(79, 70, 229, 0.25);
}

/* Cable selection result card */
.cable-result {
  background: linear-gradient(135deg, #e0e7ff 0%, #eef2ff 100%);
  border: 1px solid rgba(79, 70, 229, 0.15);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  margin-top: 1rem;
  box-shadow: var(--shadow);
}
.cable-result-lbl {
  font-size: 0.72rem;
  color: var(--indigo);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
  line-height: 1.6;
}
.cable-result-val {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--emerald);
  margin-bottom: 0.5rem;
}
.cable-result-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* =========================================================
   MATERIALS LIST TAB
   ========================================================= */
.filter-bar {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 1rem;
}
.search-wrap {
  flex: 1;
  position: relative;
}
.search-wrap .search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
}
.search-wrap input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.5rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  background: var(--bg-input);
  color: var(--text-main);
  font-size: 0.92rem;
  font-weight: 600;
  box-sizing: border-box;
  transition: all 0.25s ease;
}
.search-wrap input:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
  background: #ffffff;
}
.filter-pills {
  display: flex;
  gap: 0.4rem;
  flex-shrink: 0;
}
.fpill {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}
.fpill:hover {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.15);
}
.fpill.active {
  border-color: var(--indigo);
  background: rgba(79, 70, 229, 0.08);
  color: var(--indigo);
  box-shadow: 0 0 10px rgba(79, 70, 229, 0.08);
}

/* Materials items list container */
.mat-list {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  max-height: 340px;
  overflow-y: auto;
  padding: 0.5rem;
}
.mat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0.75rem;
  border-bottom: 1px solid var(--border-glass);
  border-radius: 10px;
  margin-bottom: 0.25rem;
  background: rgba(255, 255, 255, 0.6);
}
.mat-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.mat-item.active-qty {
  background: rgba(79, 70, 229, 0.06);
  border-left: 3px solid var(--indigo);
  border-radius: 0 10px 10px 0;
}
.mat-item-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
}
.mat-item-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}
.mat-qty-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.mat-qty-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 50px;
}
.mat-qty-num {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1;
}
.mat-qty-unit {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--indigo);
  cursor: pointer;
  line-height: 1.2;
  margin-top: 0.2rem;
  text-decoration: underline dotted;
}
.mat-btn {
  width: 34px;
  height: 34px;
  background: var(--indigo);
  color: #fff;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mat-btn-minus {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-muted);
}
.mat-btn-minus:hover {
  background: rgba(0, 0, 0, 0.1);
  color: var(--text-main);
}
.mat-btn-plus:hover {
  box-shadow: 0 0 10px var(--indigo-glow);
  background: var(--violet);
}

/* =========================================================
   WHY US
   ========================================================= */
.why-sec {
  padding: 0 1.25rem 3.5rem;
  max-width: 960px;
  margin: 0 auto;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.why-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.08);
  background: #ffffff;
}
.why-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.why-card strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
  color: var(--text-main);
}
.why-card span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* =========================================================
   CONTACT SECTION
   ========================================================= */
.contact-sec {
  background: linear-gradient(135deg, #eef2ff 0%, #f1f5f9 100%);
  padding: 0 1.25rem 4rem;
  border-top: 1px solid var(--border-glass);
}
.contact-sec .sec-head h2 {
  color: var(--text-main) !important;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}
.contact-card {
  background: rgba(255, 255, 255, 0.75);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  display: block;
  color: var(--text-main);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow);
}
.contact-card:hover {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}
.contact-card:active {
  transform: scale(0.97);
}
.wa-card {
  background: rgba(37, 211, 102, 0.08);
  border-color: rgba(37, 211, 102, 0.15);
}
.wa-card:hover {
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.3);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.1);
}
.contact-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.contact-card strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}
.contact-card span {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: #f8fafc;
  color: #64748b;
  text-align: center;
  padding: 2rem 1.25rem;
  font-size: 0.85rem;
  line-height: 2;
  border-top: 1px solid var(--border-glass);
}
.site-footer strong {
  color: var(--text-main);
  font-weight: 900;
}

/* =========================================================
   RESPONSIVE SCALING LAYOUT
   ========================================================= */
@media (max-width: 768px) {
  .srv-grid {
    grid-template-columns: 1fr 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .srv-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }
  .srv-card {
    padding: 1.2rem 0.5rem;
  }
  .srv-icon {
    width: 46px;
    height: 46px;
    font-size: 1.35rem;
  }
  .srv-card strong {
    font-size: 0.82rem;
  }
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

@media (min-width: 600px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
