/* Bharat Home Appliances - style.css */
:root {
  --sun: #f7b500;
  --sun-soft: #fff3c4;
  --pink: #e6007e;
  --blue: #1d3fbb;
  --ink: #1a1633;
  --green: #14a44d;
  --bg: #fffdf6;
  --white: #fff;
  --muted: #5b5876;
  --r: 18px;
  --shadow: 0 14px 40px rgba(29, 63, 187, 0.14);
  --head: "Baloo Thambi 2", "Hind Madurai", system-ui, sans-serif;
  --body: "Hind Madurai", "Baloo Thambi 2", system-ui, sans-serif;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
}
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
.container {
  width: min(1160px, 92%);
  margin-inline: auto;
}
.narrow {
  width: min(820px, 92%);
}
.center {
  text-align: center;
}
:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, var(--pink), var(--sun), var(--blue));
  z-index: 200;
}

/* header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 246, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #f0e6c0;
  transition: box-shadow 0.3s;
}
.header.scrolled {
  box-shadow: 0 6px 24px rgba(26, 22, 51, 0.1);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font: 800 24px var(--head);
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  box-shadow: 0 6px 16px rgba(230, 0, 126, 0.35);
  animation: wobble 6s ease-in-out infinite;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-text strong {
  font: 800 20px var(--head);
  color: var(--blue);
}
.brand-text small {
  font-size: 12px;
  color: var(--pink);
  font-weight: 600;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition:
    background 0.25s,
    color 0.25s;
}
.nav-link:hover,
.nav-link.active {
  background: var(--sun-soft);
  color: var(--blue);
}
.nav-cta {
  background: var(--green);
  color: #fff;
}
.nav-cta:hover,
.nav-cta.active {
  background: #0f8a40;
  color: #fff;
}
.nav-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang {
  display: flex;
  background: #fff;
  border: 2px solid var(--sun);
  border-radius: 999px;
  overflow: hidden;
}
.lang-btn {
  border: 0;
  background: transparent;
  padding: 5px 12px;
  font: 600 14px var(--body);
  cursor: pointer;
  color: var(--ink);
}
.lang-btn.active {
  background: var(--sun);
  color: var(--ink);
}
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--sun);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.burger span {
  width: 22px;
  height: 3px;
  background: var(--ink);
  border-radius: 3px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}
.burger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 700 16px var(--head);
  cursor: pointer;
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    background 0.25s;
}
.btn:hover {
  transform: translateY(-3px);
}
.btn-primary {
  background: linear-gradient(135deg, var(--pink), #b80068);
  color: #fff;
  box-shadow: 0 10px 24px rgba(230, 0, 126, 0.35);
}
.btn-wa {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 24px rgba(20, 164, 77, 0.35);
}
.btn-ghost {
  border-color: var(--blue);
  color: var(--blue);
  background: #fff;
}
.btn-light {
  background: #fff;
  color: var(--blue);
}

/* hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #ffd84d 0%, var(--sun) 45%, #ff9f1c 100%);
  padding: 70px 0 0;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.55;
  animation: drift 14s ease-in-out infinite;
}
.b1 {
  width: 340px;
  height: 340px;
  background: var(--pink);
  top: -90px;
  left: -80px;
}
.b2 {
  width: 260px;
  height: 260px;
  background: var(--blue);
  bottom: 40px;
  right: 30%;
  animation-delay: -4s;
}
.b3 {
  width: 200px;
  height: 200px;
  background: #fff;
  top: 30%;
  right: -60px;
  animation-delay: -8s;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
  padding-bottom: 70px;
}
.pill {
  display: inline-block;
  background: #fff;
  color: var(--pink);
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  margin-bottom: 16px;
}
.hero h1 {
  font-family: var(--head);
  line-height: 1.1;
  color: var(--ink);
}
.hero h1 span {
  display: block;
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 800;
  color: #fff;
  -webkit-text-stroke: 2px var(--blue);
  paint-order: stroke fill;
  text-shadow: 4px 5px 0 var(--blue);
}
.hero h1 small {
  display: block;
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 700;
  color: var(--blue);
  margin-top: 10px;
}
.lead {
  margin: 18px 0 26px;
  max-width: 560px;
  font-size: 18px;
  font-weight: 500;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.hero-points li {
  background: rgba(255, 255, 255, 0.75);
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 600;
  border-left: 5px solid var(--pink);
}

.hero-visual {
  display: grid;
  place-items: center;
}
.orbit {
  position: relative;
  width: min(420px, 86vw);
  aspect-ratio: 1;
}
.core {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  overflow: hidden;
  border: 8px solid #fff;
  box-shadow: var(--shadow);
  animation: spin-in 1.2s ease both;
}
.core img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.float {
  position: absolute;
  width: 26%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 22px;
  border: 4px solid #fff;
  box-shadow: var(--shadow);
  background: #fff;
  animation: bob 5s ease-in-out infinite;
}
.f1 {
  top: 0;
  left: 8%;
}
.f2 {
  top: 10%;
  right: 0;
  animation-delay: -1.2s;
}
.f3 {
  bottom: 2%;
  left: 0;
  animation-delay: -2.4s;
}
.f4 {
  bottom: 6%;
  right: 6%;
  animation-delay: -3.6s;
}

.marquee {
  background: var(--ink);
  color: var(--sun);
  overflow: hidden;
  padding: 12px 0;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 42px;
  width: max-content;
  animation: scroll 32s linear infinite;
  font: 700 18px var(--head);
}
.marquee-track span::before {
  content: "✦";
  color: var(--pink);
  margin-right: 42px;
}

/* sections */
.section {
  padding: 84px 0;
}
.section.alt {
  background: linear-gradient(180deg, #fff7d6, #fff);
}
.title {
  font: 800 clamp(28px, 4vw, 42px) var(--head);
  color: var(--blue);
  line-height: 1.2;
  margin-bottom: 18px;
  position: relative;
}
.title.center::after {
  content: "";
  display: block;
  width: 90px;
  height: 6px;
  border-radius: 6px;
  margin: 10px auto 0;
  background: linear-gradient(90deg, var(--pink), var(--sun));
}
.sub {
  max-width: 640px;
  margin: -4px auto 36px;
  color: var(--muted);
}
.about-grid,
.owner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-grid p,
.owner-grid p {
  margin-bottom: 14px;
  color: #37345a;
}
.about-img {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
}
.about-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}
.tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: var(--pink);
  color: #fff;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}
.stat {
  background: #fff;
  border-radius: var(--r);
  padding: 16px 10px;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--sun);
}
.stat:nth-child(2) {
  border-color: var(--pink);
}
.stat:nth-child(3) {
  border-color: var(--blue);
}
.stat b {
  display: block;
  font: 800 36px var(--head);
  color: var(--blue);
  line-height: 1;
}
.stat span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.3;
  display: block;
  margin-top: 4px;
}

.cards3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 30px;
}
.cards4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.svc,
.why,
.ct {
  background: #fff;
  border-radius: var(--r);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.svc:hover,
.why:hover,
.ct:hover {
  transform: translateY(-8px) rotate(-0.6deg);
  box-shadow: 0 20px 44px rgba(230, 0, 126, 0.2);
}
.svc-ic {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  font-size: 32px;
  background: linear-gradient(135deg, var(--sun), #ffdf7a);
  margin-bottom: 14px;
}
.svc h3,
.why h3,
.ct h3 {
  font: 700 21px var(--head);
  color: var(--pink);
  margin-bottom: 6px;
}
.why {
  border-bottom: 6px solid var(--sun);
}
.why:nth-child(2) {
  border-color: var(--pink);
}
.why:nth-child(3) {
  border-color: var(--blue);
}
.why:nth-child(4) {
  border-color: var(--green);
}
.ct {
  display: block;
  text-align: center;
}
.ct span {
  font-size: 38px;
  display: block;
}
.ct p {
  font-weight: 600;
  color: var(--blue);
}

/* products */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    transform 0.2s ease-out,
    box-shadow 0.3s;
  transform-style: preserve-3d;
  will-change: transform;
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: 0 24px 50px rgba(29, 63, 187, 0.25);
}
.card-img {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: var(--sun-soft);
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.card:hover .card-img img {
  transform: scale(1.12);
}
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
}
.card-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-body h3 {
  font: 700 21px var(--head);
  color: var(--ink);
}
.card-body p {
  font-size: 15px;
  color: var(--muted);
  margin: 4px 0 14px;
  flex: 1;
}
.card-body .btn {
  padding: 9px 18px;
  font-size: 15px;
}

.band {
  background: linear-gradient(120deg, var(--blue), #6a1fc2 55%, var(--pink));
  color: #fff;
  padding: 54px 0;
}
.band-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.band h2 {
  font: 800 clamp(24px, 3.4vw, 34px) var(--head);
  margin-bottom: 6px;
}
.band p {
  max-width: 680px;
  opacity: 0.95;
}

/* owner */
.owner-card {
  background: #fff;
  border-radius: 28px;
  padding: 34px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.owner-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 110px;
  background: linear-gradient(120deg, var(--sun), var(--pink));
}
.avatar {
  position: relative;
  width: 170px;
  height: 170px;
  margin: 30px auto 12px;
  border-radius: 50%;
  border: 6px solid #fff;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--sun-soft);
  display: grid;
  place-items: center;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.owner-card h3 {
  font: 800 30px var(--head);
  color: var(--blue);
}
.role {
  color: var(--muted);
  margin-bottom: 14px;
}
.detail li {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed #e3d8a5;
}
.detail b {
  min-width: 90px;
  color: var(--pink);
}
.detail a {
  color: var(--blue);
  font-weight: 700;
}

/* faq */
.faq {
  background: #fff;
  border-radius: var(--r);
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 16px 22px;
  font: 700 18px var(--head);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--blue);
}
.faq summary::after {
  content: "+";
  font-size: 26px;
  color: var(--pink);
  transition: transform 0.3s;
}
.faq[open] summary::after {
  transform: rotate(45deg);
}
.faq p {
  padding: 0 22px 18px;
  color: #37345a;
  animation: fade 0.4s ease;
}

/* map */
.map {
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 6px solid #fff;
  margin-bottom: 24px;
}
.map iframe {
  display: block;
  width: 100%;
  height: 440px;
  border: 0;
}

/* whatsapp form */
.wa {
  background: linear-gradient(160deg, #e8fff1, #fff7d6);
}
.form {
  background: #fff;
  border-radius: 26px;
  padding: 30px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}
.form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #e6dca8;
  border-radius: 12px;
  font: 500 16px var(--body);
  background: #fffdf6;
  color: var(--ink);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 0;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(20, 164, 77, 0.18);
}
.err {
  color: #c0152f;
  font-weight: 600;
  min-height: 1.2em;
}

/* footer */
.footer {
  background: var(--ink);
  color: #d9d6ee;
  padding: 36px 0 90px;
}
.footer strong {
  font: 800 22px var(--head);
  color: var(--sun);
}
.foot {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
}
.foot a {
  color: var(--sun);
}
.copy {
  grid-column: 1/-1;
  border-top: 1px solid #3a3560;
  padding-top: 14px;
  font-size: 14px;
  opacity: 0.8;
}
.fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--green);
  display: grid;
  place-items: center;
  font-size: 30px;
  z-index: 150;
  box-shadow: 0 10px 26px rgba(20, 164, 77, 0.5);
  animation: pulse 2.2s infinite;
}

/* scroll reveal: one soft entrance per block */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

@keyframes drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, 24px) scale(1.12);
  }
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}
@keyframes scroll {
  to {
    transform: translateX(-50%);
  }
}
@keyframes wobble {
  0%,
  100% {
    transform: rotate(-4deg);
  }
  50% {
    transform: rotate(5deg);
  }
}
@keyframes spin-in {
  from {
    transform: scale(0.4) rotate(-120deg);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(20, 164, 77, 0.6);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(20, 164, 77, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(20, 164, 77, 0);
  }
}
@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* responsive */
@media (max-width: 1020px) {
  .cards4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-link {
    padding: 8px 9px;
    font-size: 14px;
  }
}
@media (max-width: 900px) {
  .burger {
    display: flex;
  }
  .nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fffdf6;
    padding: 14px 5%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition:
      max-height 0.4s,
      opacity 0.3s,
      padding 0.3s;
    box-shadow: 0 18px 30px rgba(26, 22, 51, 0.15);
  }
  .nav.open {
    max-height: 80vh;
    opacity: 1;
    overflow: auto;
  }
  .nav-link {
    padding: 12px 14px;
    font-size: 17px;
    border-radius: 12px;
  }
  .hero-grid,
  .about-grid,
  .owner-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 44px;
  }
  .hero-visual {
    order: -1;
  }
  .orbit {
    width: min(300px, 80vw);
  }
  .cards3 {
    grid-template-columns: 1fr;
  }
  .about-img {
    transform: none;
  }
}
@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  .section {
    padding: 60px 0;
  }
  .cards4 {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .foot {
    grid-template-columns: 1fr;
  }
  .brand-text small {
    display: none;
  }
  .map iframe {
    height: 320px;
  }
  .hero-actions .btn {
    flex: 1 1 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  html {
    scroll-behavior: auto;
  }
}
