/* Trimurti Home Care Services - landing page */
:root {
  --navy: #0b2f63;
  --blue: #0a5bb5;
  --blue-light: #e8f1fb;
  --green: #3c9a1e;
  --green-dark: #2b7a12;
  --text: #1f2937;
  --muted: #5b6575;
  --bg-alt: #f5f8fc;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(11, 47, 99, 0.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.25; color: var(--navy); }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 700; margin-bottom: 14px; }
h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
p { margin-bottom: 14px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 18px; }
.narrow { max-width: 820px; }
.center { text-align: center; margin-top: 32px; }
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head p { color: var(--muted); }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: #eaf6e3;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform .15s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: var(--white); box-shadow: 0 6px 16px rgba(60,154,30,.35); }
.btn-primary:hover { background: var(--green-dark); }
.btn-outline { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-outline-dark { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline-dark:hover { background: var(--blue); color: var(--white); }
.btn-small { padding: 9px 18px; font-size: .92rem; background: var(--green); color: var(--white) !important; }
.btn-white { background: var(--white); color: var(--navy); }
.btn-whatsapp { background: #25d366; color: var(--white); }
.btn-whatsapp:hover { background: #1ebe5a; }
.btn-block { width: 100%; }

/* Top bar */
.topbar { background: var(--navy); color: var(--white); font-size: .9rem; padding: 8px 0; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.topbar-phone { color: var(--white); font-weight: 700; }

/* Header */
.header { position: sticky; top: 0; z-index: 100; background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 72px; }
.logo img { height: 52px; width: auto; }
.nav { display: none; gap: 22px; align-items: center; }
.nav a { color: var(--navy); font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--green-dark); }
.menu-toggle { display: block; background: none; border: 0; font-size: 1.7rem; color: var(--navy); cursor: pointer; }
.nav.open {
  display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
  background: var(--white); padding: 16px 18px; box-shadow: 0 10px 20px rgba(0,0,0,.08);
}

/* Hero slider */
.hero { position: relative; }
.slider { position: relative; overflow: hidden; background: var(--navy); min-height: 420px; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.slide.active { opacity: 1; position: relative; }
.slide > img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.slide-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  background: linear-gradient(90deg, rgba(11,47,99,.88) 0%, rgba(11,47,99,.55) 55%, rgba(11,47,99,.1) 100%);
}
.hero-content { max-width: 600px; color: var(--white); padding: 40px 0; }
.hero-content h1, .hero-content .slide-title { color: var(--white); margin-bottom: 14px; }
.hero-content .slide-title { font-size: clamp(1.6rem, 3.6vw, 2.5rem); font-weight: 800; }
.hero-content p { font-size: 1.05rem; color: #e6eefc; margin-bottom: 22px; }
.hero-content .eyebrow { background: rgba(255,255,255,.15); color: var(--white); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.85); border: 0; width: 40px; height: 40px; border-radius: 50%;
  font-size: 1.1rem; cursor: pointer; color: var(--navy); z-index: 5;
}
.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }
.dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 5; }
.dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.6); cursor: pointer; }
.dots button.active { background: var(--green); width: 26px; border-radius: 999px; }

/* Trust bar */
.trust-bar { background: var(--navy); color: var(--white); padding: 20px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; text-align: center; }
.trust-item strong { display: block; font-size: 1.35rem; color: #9be37a; }
.trust-item span { font-size: .88rem; color: #d8e3f5; }

/* Services */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.service-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid #e6edf6; display: flex; flex-direction: column;
}
.service-img { position: relative; aspect-ratio: 3 / 2; background: linear-gradient(135deg, #cfe3f7, #e7f6dd); }
.service-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.service-icon {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 3rem; z-index: 0;
}
.service-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.service-body p { color: var(--muted); font-size: .95rem; flex: 1; }
.service-link { font-weight: 700; color: var(--green-dark); }
.service-link:hover { text-decoration: underline; }

/* About / Why us split */
.split { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
.split-img img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.check-list { list-style: none; margin: 18px 0 26px; }
.check-list li { padding-left: 30px; position: relative; margin-bottom: 10px; font-weight: 500; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px;
  background: var(--green); color: var(--white); border-radius: 50%; text-align: center; font-size: .8rem; line-height: 20px;
}
.why-list { display: grid; gap: 18px; margin: 20px 0 26px; }
.why-item { display: flex; gap: 14px; align-items: flex-start; }
.why-item h3 { margin-bottom: 4px; }
.why-item p { color: var(--muted); margin: 0; font-size: .95rem; }
.why-num {
  flex: 0 0 40px; height: 40px; border-radius: 50%; background: var(--blue); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-weight: 800;
}

/* Reviews */
.rating-line { color: var(--muted); font-size: 1.05rem; }
.rating-line strong { color: #f5a300; }
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.review-card {
  background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
  border-top: 4px solid var(--green);
}
.stars { color: #f5a300; font-size: 1.2rem; letter-spacing: 2px; margin-bottom: 10px; }
.review-card p { color: var(--text); font-style: italic; }
.review-card strong { color: var(--navy); }

/* FAQ */
.faq-item { border: 1px solid #dbe5f1; border-radius: 10px; margin-bottom: 12px; padding: 16px 18px; background: var(--white); }
.faq-item summary { cursor: pointer; font-weight: 700; color: var(--navy); list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; font-size: 1.3rem; color: var(--green-dark); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 10px 0 0; color: var(--muted); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy), var(--blue)); color: var(--white); padding: 52px 0; }
.cta-inner { display: flex; flex-direction: column; gap: 22px; text-align: center; align-items: center; }
.cta-band h2 { color: var(--white); margin-bottom: 6px; }
.cta-band p { color: #dbe8fb; margin: 0; }

/* Contact & form */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 36px; }
.contact-list { list-style: none; margin-top: 20px; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list span { font-size: 1.3rem; }
.contact-list a { font-weight: 700; }
.lead-form {
  background: var(--white); padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid #e3ebf5;
}
.lead-form h3 { font-size: 1.4rem; margin-bottom: 18px; }
.form-row { margin-bottom: 14px; }
.form-row label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 13px 14px; border: 1px solid #c7d4e4; border-radius: 8px;
  font: inherit; font-size: 16px; /* 16px prevents iOS zoom */
  background: #fbfdff;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10,91,181,.15);
}
.form-row input.invalid, .form-row select.invalid { border-color: #d93025; }
.error { color: #d93025; font-size: .85rem; display: block; min-height: 0; margin-top: 4px; }
.form-note { font-size: .8rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.form-success {
  margin-top: 16px; padding: 14px; border-radius: 8px; background: #eaf6e3; color: var(--green-dark); font-weight: 600; text-align: center;
}

/* Footer */
.footer { background: var(--navy); color: #cfdbee; padding-top: 48px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 28px; padding-bottom: 32px; }
.footer-brand img { background: var(--white); padding: 8px 12px; border-radius: 10px; height: auto; width: 180px; margin-bottom: 14px; }
.footer-brand p { font-size: .95rem; color: #b9c9e3; }
.footer h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 12px; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer a { color: #cfdbee; font-size: .95rem; }
.footer a:hover { color: #9be37a; }
.footer-contact li { font-size: .95rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; font-size: .88rem; color: #9fb3d3; }
.footer-bottom p { margin: 0; text-align: center; }

/* Sticky mobile bar */
.mobile-cta { display: none; }

/* Larger screens */
@media (min-width: 720px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .slider, .slide > img { min-height: 480px; }
  .hero-content { padding: 60px 0; }
}
@media (min-width: 960px) {
  .nav { display: flex; }
  .menu-toggle { display: none; }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split.reverse .split-text { order: 1; }
  .split.reverse .split-img { order: 2; }
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1.1fr; align-items: start; }
  .cta-inner { flex-direction: row; text-align: left; justify-content: space-between; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.4fr; }
  .lead-form { padding: 36px; }
}

/* Mobile: show sticky call bar, leave room at bottom */
@media (max-width: 719px) {
  body { padding-bottom: 60px; }
  .mobile-cta {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
    background: var(--white); box-shadow: 0 -4px 14px rgba(0,0,0,.12);
  }
  .mobile-cta a {
    flex: 1; text-align: center; padding: 14px 6px; font-weight: 700; font-size: .92rem; color: var(--navy);
  }
  .mobile-cta a:nth-child(1) { background: var(--green); color: var(--white); }
  .mobile-cta a:nth-child(3) { color: #1b8f4a; }
  .topbar-inner span { display: none; }
  .hero-content p { font-size: 1rem; }
}

/* Call and WhatsApp buttons */
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.float-wa, .float-call {
  position: fixed; right: 18px; z-index: 150; color: var(--white); border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0,0,0,.22); display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; text-decoration: none;
}
.float-wa { bottom: 88px; background: #25d366; width: 56px; height: 56px; }
.float-wa span { display: none; }
.float-call { bottom: 156px; background: var(--blue); width: 56px; height: 56px; }
.float-wa:hover, .float-call:hover { transform: scale(1.06); }
@media (min-width: 720px) {
  .float-wa { bottom: 24px; height: auto; width: auto; padding: 12px 18px; font-size: 1rem; font-weight: 700; gap: 8px; }
  .float-wa span { display: inline; }
  .float-call { bottom: 88px; }
}
@media (max-width: 719px) {
  .float-wa, .float-call { right: 14px; }
}

/* ---------- Inner pages ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--navy), var(--blue));
  color: var(--white); padding: 56px 0 48px;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: 12px; }
.page-hero p { color: #dbe8fb; font-size: 1.05rem; margin-bottom: 20px; max-width: 760px; }
.page-hero .hero-actions { margin-top: 6px; }
.breadcrumb { font-size: .9rem; color: #cfe0f7; margin-bottom: 14px; }
.breadcrumb a { color: #cfe0f7; }
.breadcrumb a:hover { text-decoration: underline; }
.section-sub { color: var(--muted); max-width: 640px; margin: 0 auto 22px; }

/* Process */
.process-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.step {
  background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
  position: relative;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  border-radius: 50%; background: var(--green); color: var(--white); font-weight: 800; margin-bottom: 12px;
}
.process-compact { grid-template-columns: 1fr; margin-bottom: 32px; }

/* Values */
.values-grid { grid-template-columns: 1fr; }
.value-card { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border-top: 4px solid var(--blue); }
.value-card p { color: var(--muted); margin: 0; }

/* Service detail page */
.service-layout { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: start; }
.service-page-img img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 26px; }
.service-main h2 { margin-top: 30px; }
.service-aside .lead-form { position: static; }

@media (min-width: 720px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .process-grid { grid-template-columns: repeat(4, 1fr); }
  .process-compact { grid-template-columns: repeat(4, 1fr); }
  .service-layout { grid-template-columns: 1.6fr 1fr; gap: 48px; }
  .service-aside { position: sticky; top: 100px; }
}
