:root {
  --navy: #003366;
  --navy-dark: #001a36;
  --cyan: #00aeef;
  --cyan-soft: #dff8ff;
  --white: #ffffff;
  --ink: #0b1f33;
  --muted: #5c7086;
  --green: #25d366;
  --line: rgba(0, 51, 102, 0.13);
  --shadow: 0 24px 80px rgba(0, 28, 58, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Poppins", Arial, sans-serif;
  background: var(--white);
}

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

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

.top-urgency {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 10px 20px;
  color: var(--white);
  text-align: center;
  font-weight: 700;
  background: linear-gradient(90deg, var(--navy), #006c9a, var(--cyan));
}

.site-header {
  position: sticky;
  top: 42px;
  z-index: 29;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 16px clamp(18px, 4vw, 58px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--white);
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--cyan));
  box-shadow: 0 12px 30px rgba(0, 174, 239, 0.28);
}

.brand strong {
  display: block;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: 1.05rem;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.2;
}

.emergency-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  color: var(--navy);
  font-weight: 800;
  border: 1px solid rgba(0, 174, 239, 0.28);
  border-radius: 999px;
  background: rgba(223, 248, 255, 0.8);
}

.emergency-badge span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(37, 211, 102, 0.14);
}

.desktop-nav {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  color: var(--muted);
  font-weight: 700;
}

.desktop-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 8px;
}

.desktop-nav a:hover {
  color: var(--cyan);
}

.header-call,
.btn,
.contact button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  color: var(--white);
  font-weight: 800;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  box-shadow: 0 16px 38px rgba(0, 51, 102, 0.22);
  cursor: pointer;
}

.header-call svg,
.btn svg,
.contact button svg,
.float-call svg {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  fill: var(--white);
  flex-shrink: 0;
}

.section {
  padding: clamp(72px, 9vw, 118px) clamp(20px, 5vw, 72px);
}

.hero {
  position: relative;
  min-height: calc(100vh - 98px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: end;
  gap: 34px;
  padding: clamp(90px, 10vw, 148px) clamp(20px, 5vw, 72px) 70px;
  overflow: hidden;
  color: var(--white);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 20, 43, 0.93), rgba(0, 51, 102, 0.76) 42%, rgba(0, 174, 239, 0.14)),
    radial-gradient(circle at 74% 32%, rgba(0, 174, 239, 0.45), transparent 34%);
}

.hero-content,
.hero-card {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 800px;
}

.rating-pill,
.eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--cyan);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  letter-spacing: -0.5px;
}

h1 {
  max-width: 850px;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1.1;
}

h2 {
  max-width: 880px;
  color: var(--navy);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.15;
}

h3 {
  color: var(--navy);
  font-size: 1.05rem;
}

.hero p {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  line-height: 1.6;
}

.hero-actions,
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn.primary {
  background: linear-gradient(135deg, var(--cyan), #006cff);
  animation: pulse 2.4s infinite;
}

.btn.whatsapp {
  background: var(--green);
  box-shadow: 0 16px 40px rgba(37, 211, 102, 0.34);
}

.hero-trust {
  margin-top: 28px;
}

.hero-trust span {
  padding: 9px 13px;
  color: var(--white);
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(14px);
}

.glass {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow);
}

.hero-card {
  align-self: center;
  padding: 18px;
  border-radius: 28px;
}

.hero-card img {
  height: 230px;
  width: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.hero-card strong,
.hero-card span {
  display: block;
  margin-top: 14px;
}

.hero-card strong {
  font-size: 1.25rem;
}

.hero-card span {
  color: rgba(255, 255, 255, 0.78);
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 28px;
  padding-bottom: 28px;
  background: var(--cyan-soft);
}

.intro-strip article,
.feature-card,
.contact-card,
.map-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(0, 51, 102, 0.08);
}

.intro-strip article {
  padding: 24px;
}

.intro-strip strong {
  display: block;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
}

.intro-strip span,
.feature-card p,
.split p,
.about p,
.contact p,
.site-footer p {
  color: var(--muted);
  line-height: 1.75;
}

.split,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.feature-card {
  padding: 24px;
}

.icon-circle {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 18px;
  color: var(--white);
  font-weight: 800;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--navy), var(--cyan));
}

.image-panel {
  position: relative;
  margin: 0;
}

.image-panel img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.about {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-dark), var(--navy) 55%, #006c9a);
}

.about h2,
.about .eyebrow {
  color: var(--white);
}

.about p {
  max-width: 980px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 26px;
  align-items: end;
  margin-bottom: 34px;
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.area-grid a {
  padding: 24px;
  color: var(--navy);
  font-weight: 800;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, var(--white), #eefbff);
  box-shadow: 0 16px 42px rgba(0, 51, 102, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.area-grid a:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(0, 174, 239, 0.55);
  box-shadow: 0 22px 60px rgba(0, 174, 239, 0.22);
}

.gallery {
  background: #f6fbff;
}

.masonry {
  columns: 3 280px;
  column-gap: 20px;
}

.masonry figure {
  display: inline-block;
  width: 100%;
  margin: 0 0 20px;
  overflow: hidden;
  border-radius: 26px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.masonry img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.masonry .tall img {
  height: 460px;
}

figcaption {
  padding: 16px 18px 20px;
  color: var(--navy);
  font-weight: 800;
}

.contact {
  background:
    linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)),
    url("assets/hero-water-purifier-hyderabad.png") center / cover fixed;
}

.contact-card,
.map-card {
  overflow: hidden;
  padding: clamp(24px, 4vw, 42px);
}

form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

input,
select,
textarea {
  min-height: 54px;
  width: 100%;
  padding: 16px;
  color: var(--ink);
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8fcff;
  outline: none;
  resize: vertical;
}

input:focus,
select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(0, 174, 239, 0.14);
}

.map-card {
  padding: 0;
  min-height: 480px;
}

.map-card iframe {
  width: 100%;
  height: 480px;
  border: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 40px;
  padding: 60px clamp(20px, 5vw, 72px) 120px;
  color: rgba(255, 255, 255, 0.75);
  background: #06121e;
  font-size: 0.9rem;
  border-top: 4px solid var(--cyan);
}

.site-footer strong {
  display: block;
  color: var(--white);
  font-family: "Montserrat", sans-serif;
  font-size: 1.15rem;
  margin-bottom: 15px;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin-top: 10px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--cyan);
}

.seo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.seo-links span {
  padding: 6px 12px;
  color: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.78rem;
  transition: all 0.2s ease;
}

.seo-links span:hover {
  background: rgba(0, 174, 239, 0.15);
  border-color: var(--cyan);
  color: var(--white);
}

.float-call,
.float-whatsapp {
  position: fixed;
  z-index: 40;
  bottom: 24px;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 180px;
  min-height: 62px;
  padding: 0 22px;
  color: var(--white);
  font-weight: 900;
  border-radius: 999px;
  white-space: nowrap;
}

.float-call {
  left: 24px;
  background: linear-gradient(135deg, #0078ff, var(--cyan));
  box-shadow: 0 18px 50px rgba(0, 120, 255, 0.4);
  animation: ring 5s infinite, pulse 2.2s infinite;
}

.float-call svg,
.float-whatsapp svg {
  flex-shrink: 0;
  margin: 0;
}

.float-call .btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.float-call small {
  font-size: 0.68rem;
  opacity: 0.86;
}

.float-whatsapp {
  right: 24px;
  background: var(--green);
  box-shadow: 0 0 34px rgba(37, 211, 102, 0.62), 0 18px 50px rgba(37, 211, 102, 0.34);
}

.tooltip {
  position: absolute;
  bottom: 74px;
  right: 0;
  width: max-content;
  padding: 8px 12px;
  color: var(--green);
  font-size: 0.8rem;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.14);
}

.mobile-action-bar {
  display: none;
}

.live-popup {
  position: fixed;
  right: 24px;
  top: 154px;
  z-index: 39;
  width: min(310px, calc(100vw - 40px));
  padding: 16px;
  border: 1px solid rgba(0, 174, 239, 0.22);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  animation: slideIn 7s infinite;
}

.live-popup strong,
.live-popup span {
  display: block;
}

.live-popup strong {
  color: var(--navy);
}

.live-popup span {
  color: var(--muted);
  font-size: 0.9rem;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 174, 239, 0.42), 0 16px 38px rgba(0, 51, 102, 0.2);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(0, 174, 239, 0), 0 20px 48px rgba(0, 174, 239, 0.32);
  }
}

@keyframes ring {
  0%,
  88%,
  100% {
    transform: rotate(0);
  }
  90% {
    transform: rotate(2deg);
  }
  92% {
    transform: rotate(-2deg);
  }
  94% {
    transform: rotate(2deg);
  }
  96% {
    transform: rotate(-2deg);
  }
}

@keyframes slideIn {
  0%,
  16% {
    opacity: 0;
    transform: translateY(18px);
  }
  24%,
  85% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(18px);
  }
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .emergency-badge {
    display: none;
  }

  .hero,
  .split,
  .contact,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 420px;
  }

  .intro-strip,
  .area-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .top-urgency {
    font-size: 0.83rem;
  }

  .site-header {
    top: 38px;
    grid-template-columns: 1fr auto auto;
    gap: 8px;
    padding: 12px 16px;
  }

  .brand small {
    display: none;
  }

  .emergency-badge {
    display: inline-flex;
    padding: 9px 10px;
    font-size: 0.74rem;
  }

  .emergency-badge span {
    width: 7px;
    height: 7px;
  }

  .header-call {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    padding: 0;
    font-size: 0;
    border-radius: 15px;
  }

  .header-call svg {
    margin: 0;
  }

  .brand {
    min-width: 0;
  }

  .hero {
    min-height: 790px;
    padding: 86px 18px 42px;
    align-items: center;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(0, 20, 43, 0.92), rgba(0, 51, 102, 0.78) 58%, rgba(0, 20, 43, 0.96)),
      radial-gradient(circle at 70% 28%, rgba(0, 174, 239, 0.34), transparent 34%);
  }

  .hero-card {
    display: none;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .intro-strip,
  .feature-grid,
  .area-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 18px;
  }

  .section-head {
    display: block;
  }

  .image-panel img {
    min-height: 360px;
    border-radius: 24px;
  }

  .masonry {
    columns: 1;
  }

  .float-call,
  .float-whatsapp,
  .live-popup {
    display: none;
  }

  .mobile-action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px 12px 12px;
    background: rgba(255, 255, 255, 0.92);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(18px);
  }

  .mobile-action-bar a {
    display: grid;
    min-height: 58px;
    place-items: center;
    color: var(--white);
    font-weight: 900;
    border-radius: 16px;
  }

  .mobile-action-bar a:first-child {
    background: linear-gradient(135deg, #0078ff, var(--cyan));
    animation: pulse 2.2s infinite;
  }

  .mobile-action-bar a:last-child {
    background: var(--green);
    box-shadow: 0 0 24px rgba(37, 211, 102, 0.42);
  }

  .site-footer {
    padding-bottom: 110px;
  }
}
