/* CHENNAIWASHPRO — Google Ads Landing Site */
:root {
  --brand: #0a6b6b;
  --brand-dark: #074f4f;
  --deep: #0c2a3d;
  --accent: #1aa6a0;
  --accent-soft: #e6f6f5;
  --sand: #f3f8f9;
  --ink: #14212b;
  --muted: #5a6b76;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(12, 42, 61, 0.12);
  --radius: 1.25rem;
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Figtree", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(26, 166, 160, 0.18), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(10, 107, 107, 0.12), transparent 55%),
    linear-gradient(180deg, #eef6f7 0%, #f7fbfc 40%, #ffffff 100%);
  min-height: 100vh;
  line-height: 1.6;
}

h1, h2, h3, h4, .brand-font {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  color: var(--deep);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease, opacity 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Navbar */
.site-nav {
  background: #ffffff;
  backdrop-filter: none;
  border-bottom: 1px solid rgba(12, 42, 61, 0.06);
  padding: 0.35rem 0;
  z-index: 1040;
}

.site-nav .navbar-brand {
  padding-top: 0;
  padding-bottom: 0;
  margin-right: 1rem;
}

.brand-lockup {
  display: flex;
  flex-direction: row;
  align-items: center;
  max-width: calc(100% - 3.25rem);
  line-height: 0;
  background: #ffffff;
}

.brand-lockup img {
  display: block;
  width: auto;
  height: 100px;
  max-width: min(420px, 58vw);
  object-fit: contain;
  object-position: left center;
  border-radius: 0;
  flex-shrink: 0;
  background: #ffffff;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--deep);
  line-height: 1.1;
}

.brand-tag {
  display: none;
}

.nav-link {
  font-weight: 600;
  color: var(--deep) !important;
  padding: 0.5rem 0.85rem !important;
  border-radius: 999px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand) !important;
  background: var(--accent-soft);
}

.nav-cta {
  background: var(--brand);
  color: var(--white) !important;
  border-radius: 999px;
  padding: 0.55rem 1.1rem !important;
  font-weight: 700;
}

.nav-cta:hover {
  background: var(--brand-dark);
  color: var(--white) !important;
}

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--white);
}

.hero-slider {
  padding: 0;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
  z-index: 0;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.hero-slide.is-active .hero-media img {
  animation: heroZoom 10s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 42, 61, 0.4) 0%, rgba(12, 42, 61, 0.72) 55%, rgba(7, 30, 44, 0.92) 100%),
    linear-gradient(90deg, rgba(10, 107, 107, 0.28), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 7rem 1rem 5.5rem;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 0.95;
  margin-bottom: 1rem;
  color: var(--white);
}

.hero-line {
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #dff7f5;
  max-width: 36rem;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 34rem;
  margin: 0 auto 1.75rem;
}

.hero-slide.is-active .hero-brand,
.hero-slide.is-active .hero-line,
.hero-slide.is-active .hero-sub,
.hero-slide.is-active .cta-row {
  animation: fadeUp 0.7s ease both;
}

.hero-slide.is-active .hero-line { animation-delay: 0.08s; }
.hero-slide.is-active .hero-sub { animation-delay: 0.16s; }
.hero-slide.is-active .cta-row { animation-delay: 0.24s; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 0.55rem;
}

.hero-dots button {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.75);
  background: transparent;
  padding: 0;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-dots button.is-active {
  background: var(--white);
  transform: scale(1.2);
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(12, 42, 61, 0.35);
  color: var(--white);
  display: grid;
  place-items: center;
  backdrop-filter: blur(6px);
}

.hero-nav.prev { left: 1rem; }
.hero-nav.next { right: 1rem; }

.hero-nav:hover {
  background: var(--brand);
  border-color: var(--brand);
}

.btn-call,
.btn-wa,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font-weight: 700;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-call {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(26, 166, 160, 0.35);
}

.btn-call:hover {
  background: #14948f;
  color: var(--white);
  transform: translateY(-2px);
}

.btn-wa {
  background: #25d366;
  color: var(--white);
}

.btn-wa:hover {
  background: #1ebe57;
  color: var(--white);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  color: var(--white);
}

.book-cta {
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.book-cta .section-lead {
  margin-bottom: 1.25rem;
}

.book-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  width: 100%;
}

.book-cta-actions .btn-call,
.book-cta-actions .btn-wa {
  width: 100%;
  margin: 0;
  min-height: 48px;
}

.btn-solid {
  background: var(--brand);
  color: var(--white);
  border-radius: 999px;
  padding: 0.8rem 1.4rem;
  font-weight: 700;
  border: none;
}

.btn-solid:hover {
  background: var(--brand-dark);
  color: var(--white);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 0.75rem;
}

.section-lead {
  color: var(--muted);
  max-width: 38rem;
  margin-bottom: 2.5rem;
}

.page-hero {
  padding: 5.5rem 0 3rem;
  background:
    linear-gradient(135deg, rgba(10, 107, 107, 0.1), rgba(26, 166, 160, 0.05)),
    var(--sand);
  border-bottom: 1px solid rgba(12, 42, 61, 0.06);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.6rem;
}

/* Feature / about strip */
.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 360px;
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--brand);
  line-height: 1.15;
}

.stat-item span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 0.2rem;
}

/* Service grid — interaction containers */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.15rem;
}

.service-item {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(12, 42, 61, 0.08);
  border-radius: 1rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-item:hover {
  transform: translateY(-3px);
  border-color: rgba(26, 166, 160, 0.45);
  box-shadow: 0 12px 28px rgba(12, 42, 61, 0.08);
}

.service-item:not(:has(.service-thumb)) {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.1rem 1.15rem;
}

.service-item:hover .service-thumb img {
  transform: scale(1.05);
}

.service-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--accent-soft);
}

.service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.service-body {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.1rem 1.15rem;
}

.service-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 1rem;
}

.service-item h3 {
  font-size: 0.98rem;
  margin: 0 0 0.2rem;
  line-height: 1.3;
}

.service-item p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.service-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.preview-block {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  min-height: 0;
}

.preview-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.preview-block:hover img {
  transform: scale(1.06);
}

.preview-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.1rem;
  background: linear-gradient(transparent, rgba(12, 42, 61, 0.85));
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  text-align: center;
}

/* Why Choose CHENNAIWASHPRO */
.why-choose {
  background:
    radial-gradient(700px 320px at 0% 10%, rgba(26, 166, 160, 0.14), transparent 60%),
    radial-gradient(600px 280px at 100% 90%, rgba(10, 107, 107, 0.1), transparent 55%),
    var(--sand);
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.why-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(12, 42, 61, 0.08);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(12, 42, 61, 0.1);
}

.why-card .why-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 0.9rem;
}

.why-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: var(--deep);
}

.why-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

/* Why us */
.why-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.why-list li {
  display: flex;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(12, 42, 61, 0.08);
}

.why-list li:last-child {
  border-bottom: none;
}

.why-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 0.85rem;
}

/* Contact form */
.contact-panel {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(12, 42, 61, 0.08);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-control,
.form-select {
  border-radius: 0.85rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(12, 42, 61, 0.12);
  background: #fbfefe;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.2rem rgba(26, 166, 160, 0.15);
}

.contact-quick a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(12, 42, 61, 0.08);
  color: var(--deep);
  font-weight: 600;
}

.contact-quick a:last-child {
  border-bottom: none;
}

.contact-quick .icon-box {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}

/* Privacy */
.policy-content h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.policy-content p,
.policy-content li {
  color: var(--muted);
}

.policy-content ul {
  padding-left: 1.2rem;
}

/* Footer */
.site-footer {
  background: var(--deep);
  color: rgba(255, 255, 255, 0.82);
  padding: 3rem 0 2rem;
  margin-top: 2rem;
}

.site-footer .footer-brand {
  margin: 0 0 1.75rem;
  line-height: 0;
}

.site-footer .footer-brand img {
  display: block;
  height: 58px;
  width: auto;
  max-width: min(280px, 100%);
  object-fit: contain;
  object-position: left center;
  background: #ffffff;
  border-radius: 6px;
  padding: 0.25rem 0.45rem;
}

.site-footer .footer-grid {
  align-items: flex-start;
}

.site-footer .footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 0;
}

.site-footer h5 {
  color: var(--white);
  font-family: var(--font-display);
  margin: 0 0 1rem;
  font-size: 1.05rem;
  line-height: 1.3;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.75);
}

.site-footer a:hover {
  color: var(--accent);
}

.site-footer .footer-col > p:first-of-type {
  margin-top: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  padding-bottom: 0.35rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Floating CTAs */
.float-actions {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 1.45rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease;
  animation: pulseSoft 2.4s ease-in-out infinite;
}

.float-btn:hover {
  transform: scale(1.08);
  color: var(--white);
}

.float-call {
  background: var(--brand);
  animation-delay: 0.3s;
}

.float-wa {
  background: #25d366;
}

/* Chat widget panel */
.chat-toggle {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 1050;
  background: var(--deep);
  color: var(--white);
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.15rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow);
}

.chat-panel {
  position: fixed;
  left: 1rem;
  bottom: 4.5rem;
  width: min(340px, calc(100vw - 2rem));
  background: var(--white);
  border-radius: 1.1rem;
  box-shadow: var(--shadow);
  z-index: 1050;
  overflow: hidden;
  display: none;
  border: 1px solid rgba(12, 42, 61, 0.08);
}

.chat-panel.open {
  display: block;
  animation: fadeUp 0.25s ease;
}

.chat-head {
  background: var(--brand);
  color: var(--white);
  padding: 1rem 1.1rem;
  font-weight: 700;
}

.chat-body {
  padding: 1.1rem;
}

.chat-body p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.chat-actions {
  display: grid;
  gap: 0.6rem;
}

/* Reveal animation — keep content visible if JS is slow */
.reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .js-ready .reveal:not(.visible) {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }

  .js-ready .reveal.visible {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1.1);
  }
}

@keyframes pulseSoft {
  0%,
  100% {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  }
  50% {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22), 0 0 0 10px rgba(26, 166, 160, 0.12);
  }
}

@media (max-width: 991.98px) {
  .hero {
    min-height: 85vh;
  }

  .hero-nav {
    display: none;
  }

  .service-preview {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.85rem;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    -webkit-overflow-scrolling: touch;
  }

  .service-preview .preview-block {
    flex: 0 0 82%;
    scroll-snap-align: center;
    aspect-ratio: 4 / 3;
  }

  .stat-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
    text-align: center;
  }

  .stat-item strong {
    font-size: 1.25rem;
  }

  .stat-item span {
    font-size: 0.8rem;
  }

  .about-copy {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .about-copy .section-lead {
    max-width: 36rem;
  }

  .about-copy .why-list {
    text-align: left;
    width: 100%;
    max-width: 36rem;
  }

  .about-copy .stat-row {
    width: 100%;
    max-width: 36rem;
  }

  .about-copy .btn-solid {
    margin-left: auto;
    margin-right: auto;
  }

  .why-choose-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .navbar-collapse {
    background: var(--white);
    margin-top: 0.75rem;
    padding: 0.75rem;
    border-radius: 1rem;
    border: 1px solid rgba(12, 42, 61, 0.08);
  }
}

@media (max-width: 575.98px) {
  .hero-content {
    padding: 6rem 0.5rem 5rem;
  }

  .float-actions {
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .stat-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
  }

  .stat-item strong {
    font-size: 1.1rem;
  }

  .stat-item span {
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .why-card {
    padding: 1.2rem 1.1rem;
    text-align: left;
  }

  .why-choose .book-cta {
    max-width: 100%;
  }

  .brand-lockup img {
    height: 68px;
    max-width: min(300px, 78vw);
  }

  .site-nav {
    padding: 0.3rem 0;
  }
}
