/* ============================================================
   BS Solar Solution — Bright Sun Solar Solution
   Main stylesheet  |  Bootstrap 5.3.3
   Sections:  1. Tokens  2. Base  3. Buttons  4. Header
              5. Hero    6. Sections  7. Cards  8. Forms
              9. Gallery 10. Auth  11. Footer  12. Utilities
   Media queries live in responsive.css
   ============================================================ */

/* ---------- 1. Design tokens ---------- */
:root{
  --ink:        #182430;
  --sky:        #12233E;
  --sky-2:      #1B3A63;
  --sun:        #F2A72B;
  --flare:      #F0592B;
  --leaf:       #3C8C63;
  --paper:      #FFFDF9;
  --paper-2:    #FBF3E4;
  --line:       #E7DFCB;
  --line-dark:  rgba(255,255,255,.14);
  --muted:      #6E6558;

  --font-head: "Space Grotesk", "Segoe UI", Arial, sans-serif;
  --font-body: "Work Sans", "Segoe UI", Arial, sans-serif;

  --radius: 14px;
  --radius-lg: 20px;
  --transition: all .3s ease-in-out;
  --shadow-sm: 0 2px 10px rgba(18,35,62,.06);
  --shadow-md: 0 10px 30px rgba(18,35,62,.10);

  /* Bootstrap overrides */
  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--paper);
  --bs-link-color: var(--sky-2);
  --bs-link-hover-color: var(--flare);
  --bs-border-color: var(--line);
}

/* ---------- 2. Base ---------- */
*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

html, body{ overflow-x: hidden; }

body{
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  position: relative;
}

h1, h2, h3, h4, h5, h6, p, ul, li{ margin: 0; padding: 0; }

h1, h2, h3, h4, h5, h6, .display-font{
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--sky);
  line-height: 1.22;
}

p{ line-height: 1.7; }

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

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

ul{ list-style: none; }

input:focus, select:focus, textarea:focus{ box-shadow: none !important; }

::selection{ background: var(--sun); color: var(--sky); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible{
  outline: 3px solid var(--sun);
  outline-offset: 2px;
}

/* spacing helpers used across pages */
.py-70{ padding-block: 70px; }
.py-60{ padding-block: 60px; }
.section{ padding-block: 80px; }
.section-tight{ padding-block: 52px; }

.text-muted{ color: var(--muted) !important; }
.text-sun{ color: var(--sun) !important; }
.text-leaf{ color: var(--leaf) !important; }
.text-flare{ color: var(--flare) !important; }
.bg-paper{ background: var(--paper); }
.bg-paper-2{ background: var(--paper-2); }
.container-narrow{ max-width: 760px; }

.eyebrow{
  display: inline-block;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--flare);
}

.section-title{
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
}

.heading.bottom-divider{
  position: relative;
  padding-bottom: 16px;
  margin-bottom: 34px;
}
.heading.bottom-divider::after{
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 68px; height: 4px;
  border-radius: 4px;
  background: var(--sun);
}
.heading.bottom-divider.text-center::after{ left: 50%; transform: translateX(-50%); }

.hr-line{ border: none; border-top: 1px solid var(--line); opacity: 1; }

/* ---------- 3. Buttons ---------- */
.site-btn,
.btn{
  border-radius: 999px;
  font-weight: 600;
  padding: .7rem 1.6rem;
  transition: var(--transition);
}
.btn:active{ transform: translateY(1px); }

.btn-sun{
  background: var(--sun);
  border: 1px solid var(--sun);
  color: var(--sky);
}
.btn-sun:hover,
.btn-sun:focus{
  background: var(--flare);
  border-color: var(--flare);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-outline-sky{
  border: 1.5px solid var(--sky);
  color: var(--sky);
  background: transparent;
}
.btn-outline-sky:hover{ background: var(--sky); color: #fff; }

.btn-ghost-light{
  border: 1.5px solid rgba(255,255,255,.55);
  color: #fff;
  background: transparent;
}
.btn-ghost-light:hover{
  background: rgba(255,255,255,.12);
  border-color: #fff;
  color: #fff;
}

/* ---------- 4. Header / navigation ---------- */
.site-nav{
  position: sticky;
  top: 0;
  z-index: 1030;
  background: transparent;
  padding-block: .9rem;
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}
.site-nav.is-scrolled,
.site-nav.nav-solid{
  background: var(--sky);
  box-shadow: 0 1px 0 rgba(255,255,255,.1), var(--shadow-sm);
  padding-block: .55rem;
}

.logo-sec a,
.navbar-brand{ display: inline-flex; align-items: center; }
.logo-sec img,
.navbar-brand img{
  height: 56px;
  width: auto;
  transition: var(--transition);
}
.site-nav.is-scrolled .navbar-brand img{ height: 50px; }

/* two logo files swap depending on nav background */
.logo-light{ display: block; }
.logo-dark{ display: none; }

.site-nav .nav-link{
  color: rgba(255,255,255,.88);
  font-weight: 500;
  margin-inline: .3rem;
  padding-inline: .35rem;
  position: relative;
}
.site-nav .nav-link::after{
  content: "";
  position: absolute;
  left: .35rem; right: .35rem; bottom: .1rem;
  height: 2px;
  background: var(--sun);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.site-nav .nav-link:hover::after,
.site-nav .nav-link.active::after{ transform: scaleX(1); }
.site-nav .nav-link.active,
.site-nav .nav-link:hover{ color: var(--sun); }

.site-nav.is-scrolled .nav-link,
.site-nav.nav-solid .nav-link{ color: rgba(255,255,255,.88); }
.site-nav.is-scrolled .nav-link.active,
.site-nav.is-scrolled .nav-link:hover,
.site-nav.nav-solid .nav-link.active,
.site-nav.nav-solid .nav-link:hover{ color: var(--sun); }
.site-nav.is-scrolled .nav-link::after,
.site-nav.nav-solid .nav-link::after{ background: var(--sun); }

.navbar-toggler{
  border: none;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  padding: .2rem .4rem;
}
.site-nav.is-scrolled .navbar-toggler,
.site-nav.nav-solid .navbar-toggler{ color: #fff; }
.navbar-toggler:focus{ box-shadow: none; }

.theme-toggle{
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 46px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--sun);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.theme-toggle:hover{ box-shadow: 0 0 0 3px rgba(242,167,43,.14); }
.theme-toggle:focus-visible{ outline: none; }
.theme-toggle:focus-visible .theme-toggle-track{ outline: 2px solid var(--sun); outline-offset: 3px; }
.theme-toggle-track{
  position: relative;
  width: 36px;
  height: 20px;
  border: 1px solid rgba(242,167,43,.72);
  border-radius: 999px;
  background: rgba(255,255,255,.16);
}
.theme-toggle-thumb{
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sun);
  transition: transform .2s ease;
}
html[data-theme="dark"] .theme-toggle-track{ background: rgba(242,167,43,.22); }
html[data-theme="dark"] .theme-toggle-thumb{ transform: translateX(16px); }
.auth-theme-row{ display: flex; justify-content: flex-end; margin-bottom: .8rem; }

/* top contact strip */
.top-bar{
  background: var(--sky);
  color: rgba(255,255,255,.8);
  font-size: .87rem;
  padding-block: .5rem;
}
.top-bar a{ color: rgba(255,255,255,.8); }
.top-bar a:hover{ color: var(--sun); }
.top-bar .social a{ font-size: 1rem; margin-left: .85rem; }

/* ---------- 5. Hero ---------- */
.hero-sec{
  background-image: url(../img/hero-bg.svg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: var(--sky);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.banner-sec{ padding-block: 1.5rem 5rem; }

.scheme-ticker{
  display: flex;
  align-items: center;
  gap: 2.31rem;
  width: 100%;
  min-height: 44px;
  padding-inline: 1rem;
  border-block: 1px solid rgba(255,255,255,.12);
  background: rgba(7,18,36,.58);
}
.ticker-window{ flex: 1 1 auto; min-width: 0; overflow: hidden; }
.ticker-track{
  display: flex;
  width: max-content;
  animation: scheme-ticker-scroll 30s linear infinite;
  color: rgba(255,255,255,.94);
  font-size: .96rem;
  font-weight: 600;
  line-height: 1.45;
}
.ticker-item{
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  padding: .4rem 3rem .4rem 0;
  white-space: nowrap;
}
.ticker-live{
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  flex: 0 0 auto;
  padding: 0.42rem 0.8rem;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 5px;
  background: var(--sun);
  color: var(--sky);
  font-size: .7rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .04em;
}
.ticker-live::before{
  width: .42rem;
  height: .42rem;
  border-radius: 50%;
  background: var(--flare);
  box-shadow: 0 0 0 0 rgba(240,89,43,.45);
  content: "";
  animation: ticker-live-pulse 1.8s ease-out infinite;
}
.ticker-copy{ flex: 0 0 auto; }
.ticker-track i{ padding-inline: .7rem; color: var(--sun); font-style: normal; }
.scheme-ticker:hover .ticker-track{ animation-play-state: paused; }

@keyframes ticker-live-pulse{
  70%, 100%{ box-shadow: 0 0 0 .42rem rgba(240,89,43,0); }
}

@keyframes scheme-ticker-scroll{
  to{ transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce){
  .ticker-track{ width: 100%; animation: none; }
  .ticker-item:first-child{ flex: 1 1 auto; flex-wrap: wrap; white-space: normal; }
  .ticker-copy{ flex: 1 1 100%; white-space: normal; }
  .ticker-item:last-child{ display: none; }
  .ticker-live::before{ animation: none; }
}

.hero-sec .kicker{
  color: var(--sun);
  font-weight: 600;
  letter-spacing: .03em;
}
.hero-sec h1{
  color: #fff;
  font-size: clamp(2.1rem, 4.2vw, 3.3rem);
  line-height: 1.1;
}
.hero-sec .lead{
  color: rgba(255,255,255,.82);
  max-width: 46ch;
  font-size: 1.05rem;
}
.hero-tagline{
  color: var(--sun);
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: .01em;
}

.hero-stats{
  border-top: 1px solid var(--line-dark);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
}
.hero-stats .num{
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--sun);
}
.hero-stats .label{
  color: rgba(255,255,255,.72);
  font-size: .87rem;
}

.banner-img-sec img{
  display: block;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-inline: auto;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,.28);
}

/* jagged roofline divider under the hero */
.roofline{ width: 100%; line-height: 0; margin-top: -2px; }
.roofline svg{ display: block; width: 100%; height: auto; }

/* ---------- 6. Interior page banner ---------- */
.page-header{
  background-image: url(../img/page-header-bg.svg);
  background-size: cover;
  background-position: center center;
  background-color: var(--sky);
  color: #fff;
  padding: 7.5rem 0 4.5rem;
}
.page-header h1{ color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
.page-header .page-intro{ color: rgba(255,255,255,.78); max-width: 62ch; }
.breadcrumb-custom{ font-size: .92rem; }
.breadcrumb-custom a{ color: rgba(255,255,255,.7); }
.breadcrumb-custom a:hover{ color: var(--sun); }
.breadcrumb-custom span{ color: var(--sun); }

/* ---------- 7. Cards & content blocks ---------- */
.svc-card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  height: 100%;
  transition: var(--transition);
}
.svc-card:hover{
  border-color: var(--sun);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.svc-card h5, .svc-card h4{ margin-bottom: .6rem; }
.svc-card ul{ padding-left: 1.1rem; list-style: disc; }
.svc-card ul li{ margin-bottom: .4rem; }
.service-offering{ padding: 0; overflow: hidden; }
.service-photo{ aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-2); }
.service-photo img{ display: block; width: 100%; height: 100%; object-fit: cover; }
.service-photo-rooftop img{ object-position: center 30%; }
.service-copy{ padding: 1.4rem 1.5rem 1.6rem; }
.about-story-photo{ display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

.icon-wrap{
  width: 54px; height: 54px;
  border-radius: 12px;
  background: var(--paper-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--flare);
  font-size: 1.45rem;
  margin-bottom: 1.1rem;
}
.icon-wrap.icon-sun{ color: var(--sun); }
.icon-wrap.icon-leaf{ color: var(--leaf); }

.stat-card{
  border-left: 3px solid var(--sun);
  padding: .3rem 0 .3rem 1.1rem;
}
.stat-card .num{
  font-family: var(--font-head);
  font-size: 2.05rem;
  font-weight: 700;
  color: var(--sky);
  line-height: 1.1;
}

/* numbered process steps */
.step{ position: relative; padding-left: 3.5rem; }
.step:not(:last-child){ margin-bottom: 2rem; }
.step .step-num{
  position: absolute; left: 0; top: 0;
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  background: var(--sky);
  color: var(--sun);
  font-family: var(--font-head);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.step-line{
  position: absolute; left: 1.24rem; top: 2.6rem; bottom: -2rem;
  width: 2px;
  background: var(--line);
}

/* testimonials */
.quote-card{
  background: var(--paper-2);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
}
.quote-card .stars{ color: var(--sun); letter-spacing: .12em; }

/* call to action band */
.cta-band{
  background-image: url(../img/cta-bg.svg);
  background-size: cover;
  background-position: center;
  background-color: var(--sky);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 3rem;
}
.cta-band h3{ color: #fff; }
.cta-band p{ color: rgba(255,255,255,.78); }

/* savings estimator */
.estimator{
  background: var(--paper-2);
  border-radius: var(--radius);
  padding: 2.25rem;
}
.estimator output{
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--leaf);
}
.form-range::-webkit-slider-thumb{ background: var(--sun); }
.form-range::-moz-range-thumb{ background: var(--sun); }

/* accordion */
.accordion-item{ border-color: var(--line); }
.accordion-button{ font-weight: 600; color: var(--sky); }
.accordion-button:not(.collapsed){
  background: var(--paper-2);
  color: var(--flare);
  box-shadow: none;
}
.accordion-button:focus{ box-shadow: 0 0 0 .2rem rgba(242,167,43,.22); }

/* ---------- 8. Forms ---------- */
.form-control, .form-select{
  border-radius: 10px;
  border: 1px solid var(--line);
  padding: .7rem .9rem;
}
.form-control:focus, .form-select:focus{
  border-color: var(--sun);
  box-shadow: 0 0 0 .2rem rgba(242,167,43,.2) !important;
}
.form-label{ font-weight: 600; color: var(--sky); font-size: .92rem; margin-bottom: .35rem; }

.form-card{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}

.form-check-input:checked{ background-color: var(--sun); border-color: var(--sun); }

.slot-btn{
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: .6rem .5rem;
  background: #fff;
  width: 100%;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: var(--transition);
}
.slot-btn:hover{ border-color: var(--sun); background: var(--paper-2); }
input[type="radio"].tile-check,
input[type="checkbox"].tile-check{ position: absolute; opacity: 0; }
input.tile-check:checked + .slot-btn{
  border-color: var(--flare);
  background: var(--paper-2);
  color: var(--flare);
}

.tile-option{
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
  cursor: pointer;
  height: 100%;
  display: block;
  transition: var(--transition);
}
.tile-option:hover{ border-color: var(--sun); }
input.tile-check:checked + .tile-option{
  border-color: var(--flare);
  background: var(--paper-2);
  color: var(--flare);
}
input.tile-check:focus-visible + .tile-option,
input.tile-check:focus-visible + .slot-btn{
  outline: 3px solid var(--sun);
  outline-offset: 2px;
}

/* newsletter */
.footer-newsletter form{ position: relative; }
.footer-newsletter .form-control{
  background: rgba(255,255,255,.07);
  border: 1px solid var(--line-dark);
  color: #fff;
  padding-right: 7.5rem;
}
.footer-newsletter .form-control::placeholder{ color: rgba(255,255,255,.5); }
.footer-newsletter button{
  position: absolute;
  right: 5px; top: 5px; bottom: 5px;
  border: none;
  border-radius: 8px;
  background: var(--sun);
  color: var(--sky);
  font-weight: 600;
  padding-inline: 1rem;
  cursor: pointer;
  transition: var(--transition);
}
.footer-newsletter button:hover{ background: var(--flare); color: #fff; }

/* ---------- 9. Gallery ---------- */
.filter-pill{
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: .45rem 1.15rem;
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  transition: var(--transition);
}
.filter-pill:hover{ border-color: var(--sun); }
.filter-pill.active{
  background: var(--sky);
  border-color: var(--sky);
  color: #fff;
}

.gallery-card{
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  height: 100%;
  transition: var(--transition);
}
.gallery-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gallery-thumb{
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}
.gallery-thumb::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(18,35,62,.24));
  opacity: 0;
  transition: opacity .45s ease;
  pointer-events: none;
}
.gallery-thumb img{
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.gallery-thumb img.gallery-img-focus-top{ object-position: center 8%; }
.gallery-card:hover .gallery-thumb img{ transform: scale(1.09); }
.gallery-card:hover .gallery-thumb::after{ opacity: 1; }
.gallery-tag{
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(255,253,249,.92);
  color: var(--sky);
  border-radius: 999px;
  padding: .25rem .75rem;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ---------- 10. Auth / login ---------- */
.contact-map{
  width: 100%;
  min-height: 260px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-2);
  box-shadow: var(--shadow-sm);
}
.contact-map iframe{ display: block; width: 100%; height: 100%; }
.auth-wrap{ min-height: 100vh; display: flex; align-items: center; padding-block: 2.5rem; }
.auth-box{ border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.auth-side{
  background-image: url(../img/hero-bg.svg);
  background-size: cover;
  background-position: center;
  background-color: var(--sky);
  color: #fff;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.auth-side h2{ color: #fff; }
.nav-tabs.auth-tabs{ border-bottom: 1px solid var(--line); }
.auth-tabs .nav-link{
  border: none;
  color: rgba(24,36,48,.55);
  font-weight: 600;
  padding: .75rem 0;
  margin-right: 2rem;
  background: transparent;
}
.auth-tabs .nav-link.active{
  color: var(--sky);
  border-bottom: 3px solid var(--sun);
  background: transparent;
}
.auth-home-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
 border: 1px solid #d69e13;
  border-radius: 50%;
  color:#12233E;
  font-size: 30px;
  transition: color .25s ease, background-color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.auth-home-link i{ transition: transform .25s ease; }
.auth-home-link:hover{
  color: var(--sky);
  background: var(--sun);
  border-color: var(--sun);
  box-shadow: 0 5px 14px rgba(18,35,62,.14);
  transform: translateX(-3px);
}
.auth-home-link:hover i{ transform: translateX(-3px); }
.auth-home-link:focus-visible{ outline: 3px solid var(--sun); outline-offset: 3px; }

/* ---------- 11. Footer ---------- */
footer{
  background-image: url(../img/footer-bg.svg);
  background-size: cover;
  background-position: center;
  background-color: var(--sky);
  color: rgba(255,255,255,.75);
}
.footer-inner{ padding: 3.75rem 0 2rem; }
.footer-title{
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}
footer .logo-sec img{ height: 54px; }
footer p{ color: rgba(255,255,255,.72); font-size: .94rem; }
footer a{ color: rgba(255,255,255,.72); }
footer a:hover{ color: var(--sun); }
.footer-menu ul li,
.footer-contact ul li{ margin-bottom: .55rem; }
.footer-contact ul li{ display: flex; gap: .6rem; }
.footer-contact ul li i{ color: var(--sun); margin-top: .3rem; }

.social-media-sec ul li{ margin-right: .55rem; }
.social-media-sec ul li a{
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.8);
}
.social-media-sec ul li a:hover{
  background: var(--sun);
  border-color: var(--sun);
  color: var(--sky);
}

.footer-bottom{
  border-top: 1px solid var(--line-dark);
  font-size: .87rem;
  color: rgba(255,255,255,.6);
}
.footer-bottom a{ color: var(--sun); }

.business-credentials{
  background: rgba(0,0,0,.1);
  border-top: 1px solid var(--line-dark);
  color: rgba(255,255,255,.76);
  font-size: .86rem;
}
.credential-status{ color: rgba(255,255,255,.9); font-weight: 600; }
.credential-label{
  display: block;
  color: var(--sun);
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
}
.business-credentials strong,
.business-credentials .row > div > span:not(.credential-label){
  display: block;
  overflow-wrap: anywhere;
}
.business-credentials strong{ color: #fff; font-weight: 600; }
.login-business-details{ overflow-wrap: anywhere; }

/* ---------- 12. Floating utilities ---------- */
#backToTop{
  position: fixed;
  right: 1.25rem; bottom: 1.25rem;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--sky);
  color: #fff;
  border: none;
  display: none;
  align-items: center; justify-content: center;
  z-index: 1040;
  box-shadow: 0 6px 18px rgba(18,35,62,.35);
}
#backToTop.show{ display: flex; }
#backToTop:hover{ background: var(--flare); }

.whatsapp-float{
  position: fixed;
  left: 1.25rem; bottom: 1.25rem;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  z-index: 1040;
  box-shadow: 0 6px 18px rgba(37,211,102,.4);
}
.whatsapp-float:hover{ color: #fff; transform: scale(1.06); }

html[data-theme="dark"]{
  color-scheme: dark;
  --ink: #E7EDF5;
  --sky-2: #9CC8FF;
  --paper: #101A29;
  --paper-2: #182638;
  --line: #304157;
  --muted: #B5C1CF;
  --flare: #FF805B;
  --shadow-sm: 0 2px 12px rgba(0,0,0,.28);
  --shadow-md: 0 12px 32px rgba(0,0,0,.34);
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--paper);
  --bs-secondary-color: var(--muted);
  --bs-tertiary-bg: var(--paper-2);
  --bs-border-color: var(--line);
  --bs-link-color: var(--sky-2);
  --bs-link-hover-color: var(--sun);
}
html[data-theme="dark"] body{ background: var(--paper); color: var(--ink); }
html[data-theme="dark"] .section-title,
html[data-theme="dark"] .svc-card h4,
html[data-theme="dark"] .svc-card h5,
html[data-theme="dark"] .stat-card .num,
html[data-theme="dark"] .form-label,
html[data-theme="dark"] .accordion-button,
html[data-theme="dark"] .auth-tabs .nav-link,
html[data-theme="dark"] .auth-tabs .nav-link.active{ color: var(--ink); }
html[data-theme="dark"] .svc-card,
html[data-theme="dark"] .quote-card,
html[data-theme="dark"] .form-card,
html[data-theme="dark"] .slot-btn,
html[data-theme="dark"] .filter-pill,
html[data-theme="dark"] .gallery-card,
html[data-theme="dark"] .accordion-item,
html[data-theme="dark"] .accordion-button{ background-color: var(--paper); color: var(--ink); }
html[data-theme="dark"] .bg-white{ background-color: var(--paper) !important; color: var(--ink); }
html[data-theme="dark"] .accordion-button:not(.collapsed),
html[data-theme="dark"] .slot-btn:hover,
html[data-theme="dark"] input.tile-check:checked + .slot-btn,
html[data-theme="dark"] input.tile-check:checked + .tile-option{ background: var(--paper-2); color: var(--flare); }
html[data-theme="dark"] .accordion-button::after{ filter: invert(1); }
html[data-theme="dark"] .form-control,
html[data-theme="dark"] .form-select{
  background-color: #0B1522;
  border-color: var(--line);
  color: var(--ink);
}
html[data-theme="dark"] .form-control::placeholder{ color: #91A0B1; }
html[data-theme="dark"] .form-control:focus,
html[data-theme="dark"] .form-select:focus{ background-color: #0B1522; color: var(--ink); }
html[data-theme="dark"] .text-dark{ color: var(--ink) !important; }
html[data-theme="dark"] .btn-outline-sky{ border-color: var(--sky-2); color: var(--sky-2); }
html[data-theme="dark"] .btn-outline-sky:hover{ background: var(--sky-2); color: var(--sky); }
html[data-theme="dark"] .auth-home-link{ color: var(--ink); }
html[data-theme="dark"] .login-logo-dark{ display: none; }
html[data-theme="dark"] .login-logo-light{ display: block; }
.login-logo-light{ display: none; }
.login-logo-dark{ display: block; }
.auth-login-logo{ height: 46px; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, .btn, .svc-card, .gallery-card, .theme-toggle, .theme-toggle-thumb{ transition: none !important; }
}
