/* =========================================================
   Smart Power & Solar Solutions — Landing Page
   Author: Senior UI/UX (10y) recreation
   Framework: Bootstrap 5.3
   ========================================================= */

:root {
  --navy: #0a2472;
  --navy-2: #123a8f;
  --navy-dark: #071a52;
  --royal: #0b3fae;
  --blue: #1656d6;
  --red: #e5261f;
  --red-2: #c81c16;
  --gold: #f6b91a;
  --ink: #101828;
  --muted: #667085;
  --light: #f4f7fc;
  --line: #e6ebf3;
  --white: #ffffff;
  --radius: 16px;
  --shadow-sm: 0 6px 18px rgba(16, 24, 40, .06);
  --shadow: 0 14px 40px rgba(16, 24, 40, .10);
  --shadow-lg: 0 24px 60px rgba(10, 36, 114, .18);
}

* { scroll-behavior: smooth; }

html { overflow-x: hidden; }
body {
  font-family: 'Hind Siliguri', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  overflow-x: clip;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 { font-weight: 700; letter-spacing: -.2px; }
a { text-decoration: none; }
img { max-width: 100%; }
/* Standard Container Widths for all devices */
.container {
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container { max-width: 540px; }
}

@media (min-width: 768px) {
  .container { max-width: 720px; }
}

@media (min-width: 992px) {
  .container { max-width: 960px; }
}

@media (min-width: 1200px) {
  .container { max-width: 1140px; }
}

@media (min-width: 1400px) {
  .container { max-width: 1320px; }
}

/* Utility colors */
.text-navy { color: var(--navy) !important; }
.text-red { color: var(--red) !important; }
.text-gold { color: var(--gold) !important; }
.bg-navy { background: var(--navy) !important; }
.bg-light-soft { background: var(--light) !important; }

.section-pad { padding: 60px 0; }

/* Section heading with underline accent */
.section-title {
  text-align: center;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 34px;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  width: 66px;
  height: 4px;
  border-radius: 4px;
  background: var(--red);
}
.title-wrap { text-align: center; }

/* Buttons */
.btn { border-radius: 40px; font-weight: 600; padding: .6rem 1.4rem; }
.btn-red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 24px rgba(229, 38, 31, .35);
}
.btn-red:hover { background: var(--red-2); color: #fff; }
.btn-outline-navy {
  border: 1.5px solid #cfd8ea;
  color: var(--navy);
  background: #fff;
}
.btn-outline-navy:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-pill-outline {
  border: 1.5px solid var(--red);
  color: var(--red);
  background: #fff;
  font-size: .9rem;
}
.btn-pill-outline:hover { background: var(--red); color: #fff; }

/* =============== TOP BAR =============== */
.topbar {
  background: linear-gradient(90deg, var(--navy-dark), var(--navy) 55%, var(--navy-2));
  color: #dfe6f6;
  font-size: .82rem;
  padding: 9px 0;
}
.topbar .tb-item { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar i { color: var(--gold); font-size: 1rem; }
.topbar .divider { width: 1px; height: 16px; background: rgba(255,255,255,.18); }

/* =============== NAVBAR =============== */
.main-nav {
  background: #fff;
  box-shadow: 0 4px 20px rgba(16,24,40,.06);
  padding: .5rem 0;
}
.brand-logo { display: flex; flex-direction: column; line-height: 1; }
.brand-logo .brand-name {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: .5px;
  color: var(--navy);
}
.brand-logo .brand-name .a-bolt { color: var(--red); position: relative; }
.brand-logo .brand-sub {
  font-size: .58rem;
  letter-spacing: 3px;
  color: var(--muted);
  font-weight: 600;
  margin-top: 2px;
}
.navbar-nav .nav-link {
  color: #26324a;
  font-weight: 600;
  font-size: .95rem;
  padding: .5rem .8rem;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--red); }
.btn-phone {
  background: linear-gradient(90deg, var(--royal), var(--blue));
  color: #fff;
  border-radius: 40px;
  font-weight: 700;
  padding: .55rem 1.3rem;
  box-shadow: 0 10px 22px rgba(11,63,174,.30);
}
.btn-phone:hover { color: #fff; opacity: .93; }

/* =============== HERO =============== */
.hero {
  position: relative;
  background: linear-gradient(120deg, #eef3fc 0%, #f7f9fe 60%);
  padding: 46px 0 40px;
  overflow: hidden;
}
.hero-eyebrow {
  color: var(--navy);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 6px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
}
.hero h1 .l1 { color: var(--navy); }
.hero h1 .l2 { color: var(--red); }
.hero p.lead-txt { color: #48566e; font-size: 1.02rem; max-width: 520px; }
.hero-img-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  min-height: 430px;
}
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* Floating services card over hero — overlaps image bottom-right */
.hero-float-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 18px;
  position: relative;
  z-index: 5;
  max-width: 560px;
  margin-left: auto;
  margin-top: -150px;
}
.svc-mini {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 8px;
  border-radius: 12px;
  transition: .2s;
}
.svc-mini:hover { background: var(--light); transform: translateY(-3px); }
.svc-mini .ic {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: #eaf0ff;
  color: var(--navy);
  font-size: 1.35rem;
}
.svc-mini.red .ic { background: #fdeaea; color: var(--red); }
.svc-mini h6 { font-size: .95rem; margin: 4px 0 0; font-weight: 700; }
.svc-mini span { font-size: .78rem; color: var(--muted); }

/* =============== STATS BAR =============== */
.stats-bar {
  background: linear-gradient(90deg, var(--navy-dark), var(--navy) 50%, var(--navy-2));
  border-radius: var(--radius);
  color: #fff;
  padding: 40px 16px;
  box-shadow: var(--shadow);
  margin-top: 26px;
}
.stats-bar .row { align-items: stretch; }
.stats-bar .row > [class*="col-"] { display: flex; }
.stat-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  min-height: 100%;
  text-align: left;
  padding: 8px 6px;
}
.stat-item .ic {
  width: 50px; height: 50px; border-radius: 12px;
  background: rgba(255,255,255,.12);
  display: grid; place-items: center; font-size: 1.4rem; color: #fff;
  flex-shrink: 0;
}
.stat-item .num { font-size: clamp(1.2rem, 2vw, 1.7rem); font-weight: 800; line-height: 1; }
.stat-item .lbl { font-size: .82rem; color: #cdd7f0; line-height: 1.4; }

/* =============== PRODUCTS =============== */
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 16px;
  text-align: center;
  transition: .25s;
  height: 100%;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); border-color: transparent; }
.product-card .p-img {
  height: 120px; display: grid; place-items: center; margin-bottom: 10px;
}
.product-card .p-img img { max-height: 120px; object-fit: contain; }
.product-card h6 { font-weight: 700; margin-bottom: 2px; font-size: 1rem; }
.product-card small { color: var(--muted); }

/* =============== CALCULATOR + PROCESS =============== */
.calc-box {
  background: linear-gradient(160deg, var(--navy), var(--navy-dark));
  border-radius: 18px;
  color: #fff;
  padding: 26px;
  height: 100%;
  box-shadow: var(--shadow);
}
.calc-box h4 { display: flex; align-items: center; gap: 10px; }
.calc-box .sub { color: #c3cef0; font-size: .88rem; }
.calc-input {
  background: #fff; border-radius: 10px; overflow: hidden; display: flex; align-items: center;
}
.calc-input input {
  border: 0; padding: .7rem 1rem; flex: 1; font-weight: 700; color: var(--ink); outline: none;
}
.calc-input .unit { padding: 0 14px; color: var(--muted); font-weight: 600; }
.calc-result {
  background: rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 16px 6px;
  text-align: center;
}
.calc-result .r-num { font-size: 1.5rem; font-weight: 800; }
.calc-result .r-lbl { font-size: .74rem; color: #c3cef0; }

.process-box {
  background: var(--light);
  border-radius: 18px;
  padding: 26px;
  height: 100%;
}
.process-box h4 { display: flex; align-items: center; gap: 10px; color: var(--navy); }
.proc-track { display: flex; justify-content: space-between; gap: 6px; margin: 26px 0 8px; flex-wrap: wrap; }
.proc-step { text-align: center; flex: 1; min-width: 90px; position: relative; }
.proc-step .ic {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: grid; place-items: center; font-size: 1.4rem; margin: 0 auto 10px;
  box-shadow: 0 8px 18px rgba(10,36,114,.25);
}
.proc-step h6 { font-size: .9rem; font-weight: 700; margin: 0; }
.proc-step p { font-size: .74rem; color: var(--muted); margin: 2px 0 0; }
.proc-step:not(:last-child)::after {
  content: "";
  position: absolute; top: 28px; left: 78%;
  width: 44%; height: 2px;
  background: repeating-linear-gradient(90deg,#c3cee6 0 6px,transparent 6px 12px);
  z-index: 0;
}

/* =============== WHY US =============== */
.why-item { text-align: center; padding: 12px; }
.why-item .ic {
  width: 64px; height: 64px; border-radius: 16px;
  background: #eef3ff; color: var(--navy);
  display: grid; place-items: center; font-size: 1.7rem; margin: 0 auto 12px;
  transition: .25s;
}
.why-item:hover .ic { background: var(--navy); color: #fff; transform: translateY(-4px); }
.why-item h6 { font-weight: 700; font-size: 1rem; }
.why-item p { color: var(--muted); font-size: .84rem; margin: 0; }

/* =============== PROJECTS =============== */
.filter-tabs { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.filter-tabs .tab {
  border: 1px solid var(--line); background: #fff; color: #445;
  border-radius: 30px; padding: .35rem 1.1rem; font-size: .85rem; font-weight: 600; cursor: pointer;
  transition: .2s;
}
.filter-tabs .tab.active, .filter-tabs .tab:hover { background: var(--red); color: #fff; border-color: var(--red); }
.project-card {
  border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm);
  transition: .25s;
}
.project-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.project-card .p-thumb { height: 130px; overflow: hidden; }
.project-card .p-thumb img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.project-card:hover .p-thumb img { transform: scale(1.08); }
.project-card .p-body { padding: 12px 14px; }
.project-card h6 { margin: 0; font-weight: 700; font-size: .95rem; }
.project-card small { color: var(--muted); }

/* =============== BEFORE/AFTER + TESTIMONIAL + VIDEO =============== */
.panel-card {
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-sm);
  overflow: hidden; height: 100%;
}
.panel-head {
  background: var(--navy); color: #fff; text-align: center; padding: 12px; font-weight: 700;
}
.ba-wrap { position: relative; display: flex; }
.ba-wrap .ba-half { position: relative; width: 50%; height: 200px; overflow: hidden; }
.ba-wrap .ba-half img { width: 100%; height: 100%; object-fit: cover; }
.ba-tag {
  position: absolute; top: 10px; padding: 3px 12px; border-radius: 20px;
  font-size: .78rem; font-weight: 700; color: #fff;
}
.ba-tag.before { left: 10px; background: rgba(20,20,20,.75); }
.ba-tag.after { right: 10px; background: #17a34a; }
.ba-bill {
  position: absolute; bottom: 10px; left: 10px; right: 10px;
  background: rgba(255,255,255,.92); border-radius: 8px; padding: 6px 10px;
  font-size: .78rem; font-weight: 700;
}
.ba-bill.red { color: var(--red); }
.ba-bill.green { color: #17a34a; }
.ba-divider {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 40px; height: 40px; border-radius: 50%; background: #fff;
  top: 50%; margin-top: -20px; display: grid; place-items: center;
  box-shadow: var(--shadow); color: var(--navy); z-index: 3;
}


.testi-card .quote { font-size: 2rem; color: var(--red); line-height: 1; margin-bottom: 10px; }
.testi-card p { color: #48566e; font-size: .92rem; }
.testi-user { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 12px; }
.testi-user img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.testi-user .nm { font-weight: 700; font-size: .9rem; }
.testi-user .loc { font-size: .76rem; color: var(--muted); }
.stars { color: var(--gold); }

.video-card { position: relative; }
.video-thumb { position: relative; border-radius: 12px; overflow: hidden; height: 200px; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.play-btn {
  position: absolute; inset: 0; margin: auto;
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(255,255,255,.9); color: var(--red);
  display: grid; place-items: center; font-size: 1.5rem; border: 0;
  box-shadow: var(--shadow);
}
.play-btn:hover { background: #fff; }

/* =============== BRANDS =============== */
.brand-track {
  display: flex; align-items: center; gap: 14px;
  overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 2px;
}
.brand-track::-webkit-scrollbar { display: none; }
.brand-item {
  flex: 0 0 auto; min-width: 150px; height: 78px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
  display: grid; place-items: center; padding: 10px 18px;
  font-weight: 800; color: #334; font-size: 1.1rem;
}
.brand-arrow {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; display: grid; place-items: center; color: var(--navy); flex: 0 0 auto;
}

/* =============== BLOG / MAP / FAQ =============== */
.mini-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; height: 100%; }
.mini-card > h5 { display: flex; align-items: center; gap: 8px; font-weight: 800; margin-bottom: 16px; color: var(--navy); }
.blog-row { display: flex; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.blog-row:last-of-type { border-bottom: 0; }
.blog-row img { width: 62px; height: 52px; border-radius: 8px; object-fit: cover; }
.blog-row h6 { font-size: .88rem; font-weight: 700; margin: 0; }
.blog-row small { color: var(--muted); font-size: .76rem; }

.area-list { list-style: none; padding: 0; margin: 0; columns: 1; }
.area-list li { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: .9rem; }
.area-list li i { color: #17a34a; }
.map-svg { width: 100%; max-width: 190px; }

.faq .accordion-item { border: 0; border-bottom: 1px solid var(--line); }
.faq .accordion-button {
  font-weight: 600; font-size: .92rem; color: var(--ink); padding: .9rem .25rem; background: #fff; box-shadow: none;
}
.faq .accordion-button:not(.collapsed) { color: var(--red); background: #fff; }
.faq .accordion-button::after { background-size: .9rem; }
.faq .accordion-body { padding: 0 .25rem .9rem; font-size: .86rem; color: var(--muted); }

/* =============== FOOTER =============== */
.footer { background: #071133; color: #b9c3dd; padding: 54px 0 0; }
.footer .f-brand .brand-name { color: #fff; font-size: 1.6rem; font-weight: 800; }
.footer .f-brand .brand-name .a-bolt { color: var(--red); }
.footer .f-brand .brand-sub { font-size: .55rem; letter-spacing: 3px; color: #8ea0c6; }
.footer p { font-size: .88rem; color: #9fabc9; }
.footer h6 { color: #fff; font-weight: 700; margin-bottom: 16px; font-size: 1rem; }
.footer .f-links { list-style: none; padding: 0; margin: 0; }
.footer .f-links li { margin-bottom: 9px; }
.footer .f-links a { color: #9fabc9; font-size: .88rem; transition: .2s; }
.footer .f-links a:hover { color: #fff; padding-left: 4px; }
.footer .f-contact li { display: flex; gap: 10px; margin-bottom: 12px; font-size: .88rem; align-items: flex-start; }
.footer .f-contact i { color: var(--red); margin-top: 3px; }
.social-row { display: flex; gap: 10px; margin-top: 14px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  color: #fff; font-size: 1rem;
}
.social-row a.fb { background: #1877f2; }
.social-row a.yt { background: #ff0000; }
.social-row a.ig { background: radial-gradient(circle at 30% 110%, #fdf497, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social-row a.wa { background: #25d366; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding: 18px 0;
  font-size: .82rem; color: #8ea0c6;
}
.footer-bottom a { color: #fff; }

/* Back to top */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: var(--red); color: #fff; font-size: 1.2rem;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: .3s;
}
.to-top.show { opacity: 1; visibility: visible; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; left: 22px; bottom: 22px; z-index: 60;
  width: 52px; height: 52px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; font-size: 1.6rem; box-shadow: var(--shadow);
}
.wa-float:hover { color: #fff; transform: scale(1.05); }

/* =============== RESPONSIVE =============== */
/* ---- Tablet / small laptop ---- */
@media (max-width: 991.98px) {
  .hero-float-card { margin-top: 24px; max-width: none; margin-left: 0; }
  .navbar-nav { margin-top: 10px; }
  .navbar-nav .nav-link { padding: .55rem .2rem; }
  .btn-phone { display: inline-block; margin-top: 8px; }
  .proc-step:not(:last-child)::after { display: none; }
  .proc-track { row-gap: 20px; }
  .cta-worker { display: none; }
  .hero-img-wrap { min-height: 300px; }
}

/* ---- Tablet portrait / large phone ---- */
@media (max-width: 767.98px) {
  .section-pad { padding: 40px 0; }
  .hero { padding: 26px 0 20px; }
  .hero-img-wrap { min-height: 240px; }
  .hero .d-flex.gap-3 .btn { flex: 1 1 auto; }
  .hero-float-card { padding: 16px 12px; }
  .filter-tabs { justify-content: flex-start; margin-top: 12px; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 5px; -ms-overflow-style: none; scrollbar-width: none; }
  .filter-tabs::-webkit-scrollbar { display: none; }
  .filter-tabs .tab { flex-shrink: 0; white-space: nowrap; }
  .ba-wrap .ba-half { height: 170px; }
  .process-box, .calc-box, .mini-card { padding: 20px 16px; }
  /* Stats: balanced on tablet/mobile */
  .stats-bar { padding: 28px 12px; }
  .stat-item { justify-content: flex-start; gap: 10px; padding: 8px 4px; }
  .stat-item .ic { width: 42px; height: 42px; font-size: 1.15rem; }
  .stat-item .num { font-size: 1.3rem; }
  .stat-item .lbl { font-size: .74rem; }
  /* Section title spacing */
  .section-title { margin-bottom: 26px; }
  .cta-banner h3 { font-size: 1.15rem; }
  .cta-banner .btn { flex: 1 1 auto; text-align: center; }
}

/* ---- Phones ---- */
@media (max-width: 575.98px) {
  .container { padding-left: 18px; padding-right: 18px; }
  .brand-logo .brand-name { font-size: 1.4rem; }
  .brand-logo .brand-sub { font-size: .5rem; letter-spacing: 2px; }
  .hero h1 { font-size: 1.85rem; }
  .hero p.lead-txt { font-size: .95rem; }

  /* Project card adjustments for smaller height */
  .project-card .p-thumb { height: 100px; }
  .project-card .p-body { padding: 8px 10px; }
  .project-card h6 { font-size: .85rem; }
  .project-card small { font-size: .7rem; }

  /* Calculator result boxes — prevent Bengali text overflow */
  .calc-box { padding: 20px 16px; }
  .calc-result { padding: 12px 4px; }
  .calc-result .r-num { font-size: 1.05rem; line-height: 1.2; }
  .calc-result .r-lbl { font-size: .62rem; }

  /* Products / why: comfy 2-up */
  .product-card { padding: 12px; }
  .product-card .p-img { height: 92px; }
  .product-card .p-img img { max-height: 92px; }
  .why-item { padding: 8px 4px; }
  .why-item .ic { width: 54px; height: 54px; font-size: 1.4rem; }
  .why-item h6 { font-size: .9rem; }

  /* Process: 3 clean columns */
  .proc-track { justify-content: center; gap: 16px 6px; }
  .proc-step { min-width: 0; flex: 0 0 30%; }
  .proc-step .ic { width: 48px; height: 48px; font-size: 1.2rem; }
  .proc-step h6 { font-size: .82rem; }
  .proc-step p { display: none; }

  /* Panels */
  .panel-head { padding: 10px; font-size: .95rem; }
  .ba-wrap .ba-half { height: 150px; }
  .testi-card { padding: 18px 14px; }

  /* Brand items smaller so a couple show at once */
  .brand-item { min-width: 118px; height: 66px; font-size: .95rem; }

  /* Stats numbers */
  .stats-bar { padding: 22px 10px; }
  .stat-item { gap: 8px; }
  .stat-item .ic { width: 40px; height: 40px; font-size: 1rem; }
  .stat-item .num { font-size: 1.1rem; }
  .stat-item .lbl { font-size: .68rem; }
}

/* ---- Very small phones ---- */
@media (max-width: 360px) {
  .hero h1 { font-size: 1.6rem; }
  .svc-mini h6 { font-size: .82rem; }
  .svc-mini span { font-size: .68rem; }
  .calc-result .r-num { font-size: .92rem; }
}

/* ---- Desktop enhancements ---- */
@media (min-width: 992px) {
  /* vertical dividers between stat items */
  .stats-bar .row > [class*="col-"]:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, .14);
  }
}

.logo{
  width: 100px;
}

/* Smart Language Switcher */
.lang-switch { display: flex; align-items: center; }
.lang-switch-wrapper {
  display: flex;
  background: var(--light);
  border-radius: 30px;
  padding: 3px;
  border: 1px solid rgba(0,0,0,0.05);
}
.lang-switch-wrapper .lang-btn {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
  transition: all 0.3s ease;
}
.lang-switch-wrapper .lang-btn.active {
  background: var(--red);
  color: #fff;
  box-shadow: 0 2px 8px rgba(230, 57, 70, 0.3);
}
.lang-switch-wrapper .lang-btn:hover:not(.active) {
  color: var(--navy);
}
.lang-switch-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: .92rem;
  color: var(--navy);
}
.lang-switch-label i { font-size: 1.05rem; color: var(--royal); }

/* ---- Mobile: full-width, labeled language row with bigger tap targets ---- */
@media (max-width: 991.98px) {
  .lang-switch {
    width: 100%;
    margin-top: 12px;
    padding-top: 14px;
    border-top: 1px solid rgba(16,24,40,.08);
    justify-content: space-between;
    gap: 12px;
  }
  .lang-switch-wrapper {
    flex: 0 0 auto;
    background: #fff;
    border-color: rgba(16,24,40,.12);
    box-shadow: inset 0 1px 3px rgba(16,24,40,.05);
  }
  .lang-switch-wrapper .lang-btn {
    min-width: 64px;
    padding: 9px 18px;
    font-size: .92rem;
    text-align: center;
  }
  .lang-switch-wrapper .lang-btn:active { transform: scale(.96); }
}