/* Kaam Ki Cheez — shared styles (mobile first) */
:root {
  --green: #1f7a4d;
  --green-dark: #155c39;
  --green-soft: #e7f4ec;
  --cream: #fbf7f0;
  --ink: #1d2320;
  --muted: #5d6762;
  --line: #e4e0d8;
  --accent: #f4b740;
  --danger: #c0392b;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(20, 40, 30, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: var(--green); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 18px; }

/* Top strip + header */
.strip {
  background: var(--green-dark); color: #fff; font-size: 13px; text-align: center;
  padding: 7px 10px; letter-spacing: .2px;
}
.header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-img { height: 38px; width: auto; display: block; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 10px; background: var(--green);
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 15px;
}
.logo-text { font-weight: 700; font-size: 18px; letter-spacing: -.2px; }
.logo-text span { color: var(--green); }
.header-cta {
  text-decoration: none; background: var(--green-soft); color: var(--green-dark);
  padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600;
}

/* Hero */
.hero { padding: 22px 0 8px; }
.hero-grid { display: grid; gap: 22px; }
.gallery-main {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 1 / 1; display: grid; place-items: center;
}
.gallery-main img, .gallery-main video { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumbs button {
  flex: 0 0 64px; height: 64px; border-radius: 10px; border: 2px solid transparent;
  background: #fff; padding: 0; overflow: hidden; cursor: pointer;
}
.thumbs button.active { border-color: var(--green); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.badge {
  font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px;
  background: var(--green-soft); color: var(--green-dark);
}
h1 { font-size: 26px; line-height: 1.25; margin: 0 0 8px; letter-spacing: -.4px; }
.sub { color: var(--muted); margin: 0 0 14px; font-size: 15px; }
.price-line { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 14px; }
.price { font-size: 30px; font-weight: 700; color: var(--green-dark); }
.price-note { color: var(--muted); font-size: 14px; }

.quick-points { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.quick-points li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.tick {
  flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--green);
  color: #fff; display: grid; place-items: center; font-size: 13px; margin-top: 1px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; border: 0; cursor: pointer; text-decoration: none;
  background: var(--green); color: #fff; font: inherit; font-weight: 700; font-size: 17px;
  padding: 15px 20px; border-radius: 12px; box-shadow: 0 6px 16px rgba(31,122,77,.28);
  transition: transform .08s ease, background .2s ease;
}
.btn:hover { background: var(--green-dark); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn-wa { background: #25d366; box-shadow: 0 6px 16px rgba(37,211,102,.3); }
.btn-wa:hover { background: #1ebe5a; }
.btn-outline { background: #fff; color: var(--green-dark); border: 2px solid var(--green); box-shadow: none; }

.trust-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px;
}
.trust {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 6px;
  text-align: center; font-size: 12px; font-weight: 600; color: var(--muted);
}
.trust b { display: block; font-size: 18px; margin-bottom: 2px; }

/* Sections */
section { padding: 34px 0; }
.section-title { font-size: 22px; margin: 0 0 6px; letter-spacing: -.3px; }
.section-sub { color: var(--muted); margin: 0 0 20px; }
.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.cards { display: grid; gap: 14px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px;
}
.alt .card { background: var(--cream); }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.icon { font-size: 26px; margin-bottom: 8px; }

.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ba { position: relative; border-radius: var(--radius); overflow: hidden; background: #fff; aspect-ratio: 1/1; }
.ba img { width: 100%; height: 100%; object-fit: cover; }
.ba span {
  position: absolute; left: 10px; top: 10px; background: rgba(0,0,0,.65); color: #fff;
  font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px;
}

.steps { counter-reset: s; display: grid; gap: 12px; }
.step { display: flex; gap: 14px; align-items: flex-start; }
.step::before {
  counter-increment: s; content: counter(s);
  flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff;
  display: grid; place-items: center; font-weight: 700;
}
.step h3 { margin: 4px 0 2px; font-size: 16px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

.specs { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; }
.specs td { padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs td:first-child { color: var(--muted); width: 45%; }
.specs tr:last-child td { border-bottom: 0; }

/* Order form */
.order-box {
  background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 22px 18px;
  border: 2px solid var(--green);
}
.order-box h2 { margin: 0 0 4px; font-size: 22px; }
.order-box .section-sub { margin-bottom: 16px; }
.pkg { display: grid; gap: 10px; margin-bottom: 18px; }
.pkg label {
  display: flex; align-items: center; gap: 12px; padding: 14px; border: 2px solid var(--line);
  border-radius: 12px; cursor: pointer; position: relative; background: #fff;
}
.pkg input { accent-color: var(--green); width: 20px; height: 20px; }
.pkg label.selected { border-color: var(--green); background: var(--green-soft); }
.pkg-info { flex: 1; }
.pkg-name { font-weight: 700; }
.pkg-tag { font-size: 12px; color: var(--green-dark); font-weight: 600; }
.pkg-price { text-align: right; font-weight: 700; font-size: 18px; }
.pkg-price s { display: block; font-weight: 500; font-size: 13px; color: var(--muted); }

.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 5px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 13px 14px; border-radius: 10px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(31,122,77,.15);
}
.field textarea { min-height: 84px; resize: vertical; }
.hint { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.err { color: var(--danger); font-size: 13px; margin-top: 4px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field.invalid .err { display: block; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.summary {
  background: var(--cream); border-radius: 12px; padding: 12px 14px; margin: 6px 0 16px;
  font-size: 15px;
}
.summary div { display: flex; justify-content: space-between; padding: 3px 0; }
.summary .total { font-weight: 700; font-size: 17px; border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 8px; }
.form-note { font-size: 13px; color: var(--muted); text-align: center; margin-top: 10px; }

/* FAQ */
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px;
}
.faq summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-weight: 700; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 10px 0 0; color: var(--muted); }

/* Footer */
footer { background: var(--ink); color: #cfd6d2; padding: 30px 0 90px; font-size: 14px; }
footer a { color: #fff; text-decoration: none; }
footer .cols { display: grid; gap: 18px; }
footer h4 { color: #fff; margin: 0 0 8px; font-size: 15px; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.copy { border-top: 1px solid #39413d; margin-top: 22px; padding-top: 14px; font-size: 13px; color: #8f9a94; }

/* Sticky mobile buy bar */
.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff;
  border-top: 1px solid var(--line); padding: 10px 14px; display: flex; gap: 12px; align-items: center;
  box-shadow: 0 -6px 20px rgba(0,0,0,.06); transform: translateY(110%); transition: transform .25s ease;
}
.sticky-buy.show { transform: translateY(0); }
.sticky-buy .sp { font-weight: 700; color: var(--green-dark); font-size: 18px; white-space: nowrap; }
.sticky-buy .sp small { display: block; font-weight: 500; font-size: 11px; color: var(--muted); }
.sticky-buy .btn { padding: 12px 16px; font-size: 16px; }

.wa-float {
  position: fixed; right: 14px; bottom: 84px; z-index: 31; width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.2);
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* Policy pages */
.page { padding: 30px 0 50px; }
.page h1 { font-size: 28px; }
.page h2 { font-size: 19px; margin-top: 26px; }
.page p, .page li { color: #39413d; }
.page .card { margin-top: 14px; }

/* Thank-you page */
.ty { text-align: center; padding: 34px 0 60px; }
.ty-icon {
  width: 74px; height: 74px; border-radius: 50%; background: var(--green-soft); color: var(--green);
  display: grid; place-items: center; font-size: 38px; margin: 0 auto 14px;
}
.ty .order-box { text-align: left; max-width: 520px; margin: 20px auto; }
.ty .summary div span:first-child { color: var(--muted); }
.ty-warning {
  background: #fff7e6; border: 1px solid #f1d59b; color: #7a5a12; border-radius: 12px;
  padding: 12px 14px; font-size: 14.5px; margin: 0 0 14px;
}

/* Desktop */
@media (min-width: 820px) {
  h1 { font-size: 34px; }
  .hero { padding-top: 36px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: start; }
  .cards.three { grid-template-columns: repeat(3, 1fr); }
  .cards.two { grid-template-columns: repeat(2, 1fr); }
  .order-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
  footer .cols { grid-template-columns: 2fr 1fr 1fr; }
  footer { padding-bottom: 30px; }
  .sticky-buy { display: none; }
  .wa-float { bottom: 22px; }
}
