/* Sri Sai Water Heater Services — shared styles */

:root {
  --brand-ink: #0b3a4a;
  --brand-deep: #0e4d5c;
  --brand-teal: #148f82;
  --brand-mint: #3db8a8;
  --brand-soft: #e8f4f2;
  --brand-fog: #f4faf9;
  --brand-sand: #f7f5f1;
  --text: #1c2f33;
  --muted: #5a6f74;
  --line: #d5e4e1;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(11, 58, 74, 0.08);
  --shadow-sm: 0 4px 14px rgba(11, 58, 74, 0.06);
  --radius: 16px;
  --radius-sm: 12px;
  --header-h: 96px;
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Outfit", "DM Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--brand-fog);
  line-height: 1.65;
  overflow-x: hidden;
  padding-top: var(--header-h);
}

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

a {
  color: var(--brand-teal);
  text-decoration: none;
}

a:hover {
  color: var(--brand-deep);
}

h1,
h2,
h3,
h4,
.h1,
.h2,
.h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand-ink);
  line-height: 1.25;
}

.section {
  padding: 4.5rem 0;
}

.section-muted {
  background: linear-gradient(180deg, var(--brand-fog) 0%, var(--white) 100%);
}

.section-soft {
  background: var(--brand-soft);
}

.section-dark {
  background:
    radial-gradient(circle at top right, rgba(61, 184, 168, 0.18), transparent 40%),
    linear-gradient(135deg, #0b3a4a 0%, #0e5563 55%, #12756c 100%);
  color: #eef8f6;
}

.section-dark h2,
.section-dark h3,
.section-dark .h2 {
  color: #fff;
}

.section-title {
  margin-bottom: 0.75rem;
}

.section-lead {
  color: var(--muted);
  max-width: 42rem;
  margin-bottom: 2rem;
}

.section-dark .section-lead {
  color: rgba(238, 248, 246, 0.82);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(213, 228, 225, 0.9);
  transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.site-header .navbar {
  min-height: var(--header-h);
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.navbar-toggler {
  border-color: var(--line);
  padding: 0.4rem 0.55rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(20, 143, 130, 0.2);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(11, 58, 74, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--brand-ink);
  text-decoration: none;
  max-width: min(100%, 480px);
  line-height: 0;
}

.brand-lockup:hover {
  color: var(--brand-ink);
  opacity: 0.96;
}

.brand-logo {
  display: block;
  width: auto;
  height: 100px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(11, 58, 74, 0.18);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
}

.brand-text span {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
}

@media (min-width: 992px) {
  :root {
    --header-h: 108px;
  }

  .brand-lockup {
    max-width: 560px;
  }

  .brand-logo {
    height: 100px;
  }
}

@media (max-width: 991.98px) {
  :root {
    --header-h: 92px;
  }

  .brand-lockup {
    max-width: calc(100% - 3.5rem);
    flex: 1 1 auto;
  }

  .brand-logo {
    height: 68px;
    width: auto;
    max-width: 100%;
  }
}

@media (max-width: 575.98px) {
  :root {
    --header-h: 88px;
  }

  .brand-logo {
    height: 98px;
  }
}

.nav-link-custom {
  color: var(--text) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.45rem 0.85rem !important;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-link-custom:hover,
.nav-link-custom.active {
  color: var(--brand-teal) !important;
  background: rgba(20, 143, 130, 0.1);
}

.btn {
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.7rem 1.25rem;
}

.btn-primary,
.btn-call {
  --bs-btn-bg: var(--brand-teal);
  --bs-btn-border-color: var(--brand-teal);
  --bs-btn-hover-bg: #0f7a6f;
  --bs-btn-hover-border-color: #0f7a6f;
  --bs-btn-active-bg: #0c675e;
  --bs-btn-active-border-color: #0c675e;
  --bs-btn-color: #fff;
  box-shadow: 0 8px 18px rgba(20, 143, 130, 0.28);
}

.btn-outline-primary {
  --bs-btn-color: var(--brand-deep);
  --bs-btn-border-color: var(--brand-deep);
  --bs-btn-hover-bg: var(--brand-deep);
  --bs-btn-hover-border-color: var(--brand-deep);
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--brand-ink);
  --bs-btn-active-border-color: var(--brand-ink);
}

.btn-whatsapp {
  background: #1f9a57;
  border-color: #1f9a57;
  color: #fff;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus {
  background: #178a4b;
  border-color: #178a4b;
  color: #fff;
}

.btn-light-soft {
  background: #fff;
  color: var(--brand-ink);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-light-soft:hover {
  background: var(--brand-soft);
  color: var(--brand-ink);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-top: 0.75rem;
    padding: 0.85rem;
    box-shadow: var(--shadow);
  }

  .nav-link-custom {
    border-radius: 10px;
  }
}

/* Page hero */
.page-hero {
  position: relative;
  padding: 3.5rem 0 3rem;
  background:
    linear-gradient(120deg, rgba(11, 58, 74, 0.92), rgba(20, 143, 130, 0.78)),
    url("../images/hero-water-heater.jpg") center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.page-hero.home-hero {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  padding: 4rem 0;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 80px;
  background: linear-gradient(to top, var(--brand-fog), transparent);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(1.85rem, 4vw, 3rem);
  margin-bottom: 1rem;
  max-width: 18ch;
}

.page-hero .lead {
  color: rgba(255, 255, 255, 0.92);
  max-width: 38rem;
  font-size: 1.05rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.4rem 0 1.75rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 1.25rem;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.hero-panel img {
  border-radius: 12px;
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.hero-panel .meta {
  margin-top: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
}

/* Cards */
.feature-card,
.service-card,
.contact-card,
.step-card,
.problem-item,
.area-chip,
.brand-pill {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover,
.service-card:hover,
.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.service-card,
.feature-card,
.contact-card {
  height: 100%;
  padding: 1.35rem;
}

.icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--brand-soft), #fff);
  color: var(--brand-teal);
  font-size: 1.35rem;
  margin-bottom: 0.9rem;
  border: 1px solid rgba(20, 143, 130, 0.15);
}

.service-card h3,
.feature-card h3,
.contact-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.service-card p,
.feature-card p,
.contact-card p {
  color: var(--muted);
  font-size: 0.94rem;
  margin-bottom: 1rem;
}

.problem-item {
  padding: 0.95rem 1rem;
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.problem-item i {
  color: var(--brand-teal);
  margin-top: 0.15rem;
}

.area-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brand-ink);
}

.brand-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 1rem;
  font-family: var(--display);
  font-weight: 700;
  color: var(--brand-ink);
  background: linear-gradient(180deg, #fff, var(--brand-soft));
}

.step-card {
  padding: 1.2rem;
  height: 100%;
  position: relative;
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand-teal);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.disclaimer-box,
.note-box {
  background: #fff8e8;
  border: 1px solid #f0dfb4;
  color: #6a5420;
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  font-size: 0.92rem;
}

.independent-note {
  background: rgba(20, 143, 130, 0.08);
  border: 1px solid rgba(20, 143, 130, 0.2);
  color: var(--brand-ink);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  font-size: 0.94rem;
}

/* CTA */
.cta-band {
  border-radius: calc(var(--radius) + 4px);
  padding: 2.2rem;
  background:
    radial-gradient(circle at top left, rgba(61, 184, 168, 0.25), transparent 45%),
    linear-gradient(135deg, #0b3a4a, #12756c);
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 0.6rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.2rem;
}

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

.form-label {
  font-weight: 600;
  color: var(--brand-ink);
}

.form-control,
.form-select {
  border-radius: 12px;
  border-color: var(--line);
  padding: 0.75rem 0.95rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--brand-mint);
  box-shadow: 0 0 0 0.2rem rgba(20, 143, 130, 0.15);
}

.map-frame {
  border: 0;
  width: 100%;
  min-height: 360px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* Legal */
.legal-content h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content ul {
  padding-left: 1.1rem;
}

.legal-meta {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

/* Footer */
.site-footer {
  background: #072833;
  color: rgba(255, 255, 255, 0.82);
  padding-top: 3.5rem;
}

.site-footer h3,
.site-footer h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
}

.site-footer a:hover {
  color: var(--brand-mint);
}

.footer-brand {
  font-family: var(--display);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.footer-tagline {
  color: var(--brand-mint);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 0.45rem;
}

.footer-disclaimer {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 2rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding: 1.1rem 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1050;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}

.mobile-sticky-call {
  display: none;
}

@media (max-width: 767.98px) {
  .section {
    padding: 3.25rem 0;
  }

  .page-hero.home-hero {
    min-height: auto;
    padding: 2.75rem 0 3rem;
  }

  .hero-panel {
    margin-top: 1.5rem;
  }

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

  .mobile-sticky-call {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1045;
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 0.65rem 0.85rem;
    gap: 0.55rem;
    box-shadow: 0 -8px 20px rgba(11, 58, 74, 0.08);
  }

  .mobile-sticky-call .btn {
    flex: 1;
    justify-content: center;
  }

  body {
    padding-bottom: 74px;
  }

  .whatsapp-float {
    bottom: 82px;
  }
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.service-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.service-block h2 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.service-block-media {
  overflow: hidden;
}

.service-block-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .service-block-media .row {
    align-items: center;
  }

  .service-block-media img {
    height: 240px;
    margin-bottom: 0;
  }
}

.brand-service h3 {
  font-size: 1.15rem;
}

@media (min-width: 992px) {
  .page-hero h1 {
    max-width: 16ch;
  }
}
