/* Siddhi Vinayak Electro Care — shared site styles */

:root {
  /* Brand colors sampled directly from the Siddhi Vinayak Electro Care logo. */
  --cyan: #0db7ce;
  --cyan-dark: #0a92a5;
  --cyan-deep: #052a30;
  --slate: #7fa6b3;
  --heading: #0f2b31;
  --ink: #1a2233;
  --muted: #5b6b82;
  --line: #e4e9f0;
  --bg: #ffffff;
  --bg-soft: #eefbfc;
  --radius: 12px;
  --shadow: 0 10px 30px -12px rgba(5, 42, 48, 0.18);
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Top contact bar ─────────────────────────────────────────── */
.topbar {
  background: var(--cyan-deep);
  color: #cfd9ea;
  font-size: 13.5px;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
}
.topbar a {
  color: #e9eefa;
  transition: color 0.15s ease;
}
.topbar a:hover {
  color: var(--cyan);
}
.topbar__links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ── Header / nav ────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 19px;
  color: var(--heading);
  letter-spacing: -0.01em;
}
.brand__logo {
  height: 38px;
  width: auto;
  display: block;
}
.footer__brand img {
  height: 34px;
  width: auto;
  display: block;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 32px;
}
.navlinks a {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.navlinks a:hover,
.navlinks a[aria-current="page"] {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn--primary {
  background: var(--cyan);
  color: var(--cyan-deep);
  box-shadow: 0 8px 20px -8px rgba(13, 183, 206, 0.6);
}
.btn--primary:hover {
  background: var(--cyan-dark);
}
.btn--outline {
  background: transparent;
  border-color: var(--heading);
  color: var(--heading);
}
.btn--outline:hover {
  background: var(--heading);
  color: #fff;
}
.btn--ghost-light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.22);
}
.btn--block {
  width: 100%;
  justify-content: center;
}

.navtoggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.navtoggle span {
  width: 24px;
  height: 2.5px;
  background: var(--heading);
  border-radius: 2px;
}

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  background: radial-gradient(1200px 500px at 85% -10%, #0c4d59 0%, transparent 60%), linear-gradient(160deg, var(--heading) 0%, var(--cyan-deep) 100%);
  color: #fff;
  padding: 72px 0 88px;
  position: relative;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 183, 206, 0.16);
  border: 1px solid rgba(13, 183, 206, 0.4);
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  margin: 0 0 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero h1 em {
  font-style: normal;
  color: var(--cyan);
}
.hero p.lead {
  font-size: 17px;
  color: #cfd9ea;
  max-width: 46ch;
  margin: 0 0 30px;
}
.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.hero__stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero__stat b {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
}
.hero__stat span {
  font-size: 13px;
  color: #9fb0c9;
}

.hero__card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: blur(6px);
}
.hero__card h3 {
  margin: 0 0 4px;
  font-size: 15px;
  color: #9fb0c9;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.brandbadges {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}
.brandbadge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: var(--heading);
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 800;
  font-size: 16px;
}
.brandbadge small {
  display: block;
  font-weight: 600;
  font-size: 11.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.brandbadge__icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  flex-shrink: 0;
}

/* ── Sections ─────────────────────────────────────────────────── */
section {
  padding: 76px 0;
}
.section--soft {
  background: var(--bg-soft);
}
.section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section__head .eyebrow {
  background: rgba(13, 183, 206, 0.1);
  border-color: rgba(13, 183, 206, 0.25);
  color: var(--cyan);
}
.section__head h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 12px;
  font-weight: 800;
  color: var(--heading);
  letter-spacing: -0.01em;
}
.section__head p {
  color: var(--muted);
  font-size: 16px;
  margin: 0;
}

.grid {
  display: grid;
  gap: 24px;
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(145deg, #e3f7f9, #f6f8fb);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--heading);
  font-weight: 700;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}
.card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14.5px;
}
.card ul li {
  margin-bottom: 4px;
}

/* Service area strip */
.areas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.areas__pill {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 700;
  font-size: 14px;
  color: var(--heading);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.areas__pill svg {
  color: var(--cyan-dark);
}

/* Steps / process */
.steps {
  counter-reset: step;
}
.step {
  position: relative;
  padding-left: 56px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--heading);
  color: var(--cyan);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CTA banner */
.ctaband {
  background: linear-gradient(135deg, var(--cyan), var(--heading));
  color: #fff;
  border-radius: 20px;
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.ctaband h3 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 800;
}
.ctaband p {
  margin: 0;
  color: #d7e2f5;
}
.ctaband__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Brand deep-dive rows (services page) */
.brandrow {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}
.brandrow:last-child {
  border-bottom: none;
}
.brandrow__label {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.brandrow__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--bg-soft);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brandrow__label h3 {
  margin: 0 0 4px;
  font-size: 19px;
  color: var(--heading);
  font-weight: 800;
}
.brandrow__label span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}
.taglist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tag {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

/* Contact page */
.contactgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.infolist {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.infoitem {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.infoitem__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--bg-soft);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.infoitem h4 {
  margin: 0 0 4px;
  font-size: 15.5px;
  color: var(--heading);
  font-weight: 700;
}
.infoitem p,
.infoitem a {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}
.infoitem a:hover {
  color: var(--cyan);
}
.mapwrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.mapwrap iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

/* ── Footer ───────────────────────────────────────────────────── */
.footer {
  background: var(--cyan-deep);
  color: #b9c5da;
  padding: 56px 0 28px;
}
.footer .container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.footer h4 {
  color: #fff;
  font-size: 15px;
  margin: 0 0 16px;
  font-weight: 700;
}
.footer p {
  font-size: 14px;
  color: #9fb0c9;
  margin: 0 0 14px;
}
.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}
.footer ul a:hover {
  color: var(--cyan);
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 14px;
}
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding-top: 22px;
  font-size: 13px;
  color: #7d8fac;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* WhatsApp floating button */
.fab-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -6px rgba(37, 211, 102, 0.6);
  z-index: 60;
  transition: transform 0.15s ease;
}
.fab-wa:hover {
  transform: scale(1.06);
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 960px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero .container {
    grid-template-columns: 1fr;
  }
  .hero__card {
    order: -1;
  }
  .footer .container {
    grid-template-columns: 1fr 1fr;
  }
  .contactgrid {
    grid-template-columns: 1fr;
  }
  .brandrow {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .topbar .container {
    justify-content: center;
    text-align: center;
  }
  .navlinks,
  .nav__actions .btn--outline {
    display: none;
  }
  .navtoggle {
    display: flex;
  }
  .nav.is-open .navlinks {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 16px 24px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav {
    position: relative;
    flex-wrap: wrap;
  }
  .grid--4,
  .grid--3,
  .grid--2 {
    grid-template-columns: 1fr;
  }
  .footer .container {
    grid-template-columns: 1fr;
  }
  .ctaband {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
  .hero {
    padding: 48px 0 60px;
  }
  section {
    padding: 52px 0;
  }
}
