/*
Theme Name: Clean Master BD Landing
Theme URI: http://cleanmasterbd.xyz/
Author: Clean Master BD
Description: পানির ট্যাংকি ও পাইপ পরিষ্কারের ৭ পণ্যের কম্বো সেটের ল্যান্ডিং পেজ। অর্ডার ফর্মের অর্ডার WordPress admin-এর "অর্ডার সমূহ" মেনুতে জমা হয়।
Version: 3.2
Requires at least: 5.8
Requires PHP: 7.4
Text Domain: cleanmaster
*/

:root {
  --navy: #1B4F7E;
  --navy-2: #22659A;
  --navy-dark: #143A5C;
  --ink: #10262B;
  --muted: #3E5A60;
  --line: #D5E4EF;
  --tint: #E6F2FA;
  --ground: #F5F9FC;
  --accent: #F5A524;
  --accent-ink: #1A1206;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Noto Sans Bengali', 'Hind Siliguri', sans-serif;
  color: var(--ink);
  background: var(--ground);
  font-size: 16px;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--navy-dark); }
h1, h2, h3 { margin: 0; }
p { margin: 0; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section-white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-tint { background: var(--tint); }
.section-head { text-align: center; display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; }
.section-title { font-family: 'Noto Serif Bengali', serif; font-size: 36px; line-height: 1.35; color: var(--navy); }
.section-sub { font-size: 18px; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px; padding: 0 30px; border-radius: 12px;
  font-size: 20px; font-weight: 700; text-decoration: none; font-family: inherit;
  border: 0; cursor: pointer;
}
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { color: var(--accent-ink); filter: brightness(0.95); }
.btn-ghost { border: 2px solid #fff; color: #fff; font-size: 18px; font-weight: 600; }
.btn-ghost:hover { color: #fff; background: rgba(255,255,255,0.08); }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { padding-top: 12px; padding-bottom: 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.logo img { height: 64px; width: auto; }
.call-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border: 2px solid var(--navy); border-radius: 999px; font-weight: 600; text-decoration: none;
}

/* Hero */
.hero { background: var(--navy); color: #fff; }
.hero .wrap { padding-top: 64px; padding-bottom: 64px; display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.badge { align-self: flex-start; background: var(--tint); color: var(--navy); font-weight: 600; font-size: 15px; padding: 6px 14px; border-radius: 999px; }
.hero h1 { font-family: 'Noto Serif Bengali', serif; font-weight: 800; font-size: 46px; line-height: 1.3; }
.hero p { font-size: 20px; line-height: 1.7; color: #DCEBF6; }
.hero-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.hero-price span:first-child { font-size: 20px; color: #DCEBF6; }
.hero-price strong { font-size: 52px; line-height: 1; color: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-media { flex: 1 1 400px; min-width: 0; }
.hero-media img { width: 100%; border-radius: 20px; }

/* Placeholder (when no image is set) */
.ph {
  border-radius: 12px; background: var(--tint); border: 2px dashed #9FC6E2;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 16px; color: var(--muted); font-size: 15px;
}
.hero .ph { height: 420px; border-radius: 20px; background: var(--navy-2); border-color: #8FC2E6; color: #CFE3F3; font-size: 18px; }

/* Grids */
.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.grid-5 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.grid-6 { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.card .media img, .card .ph { height: 170px; width: 100%; object-fit: cover; border-radius: 12px; }
.card .illus { height: 170px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.card h3 { font-size: 22px; }
.card p { font-size: 16px; line-height: 1.6; color: var(--muted); }

/* Before / after */
.ba { display: flex; flex-direction: column; gap: 10px; }
.ba img, .ba .ph { height: 300px; width: 100%; object-fit: cover; border-radius: 16px; }
.ba-label { font-weight: 700; font-size: 18px; text-align: center; }
.ba-before .ph { background: #F1E9DF; border-color: #B9A48B; color: #5B4A36; }
.ba-before .ba-label { color: #8A4B12; }
.ba-after .ba-label { color: var(--navy); }

/* Steps */
.step { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 18px; display: flex; flex-direction: column; gap: 12px; }
.num { width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; flex: 0 0 auto; }
.step div:last-child { font-size: 18px; font-weight: 600; line-height: 1.5; }

/* Combo */
.combo-item { background: #fff; border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 10px; position: relative; text-align: center; }
.combo-item .num { position: absolute; top: 12px; left: 12px; width: 34px; height: 34px; font-size: 17px; z-index: 1; }
.combo-item img, .combo-item .ph { height: 130px; width: 100%; object-fit: contain; border-radius: 12px; background: var(--ground); }
.combo-item strong { font-size: 18px; line-height: 1.4; }
.combo-item span { font-size: 15px; color: var(--muted); }
.price-bar { margin-top: 24px; background: #fff; border: 2px solid var(--navy); border-radius: 20px; padding: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.price-bar .label { font-size: 20px; font-weight: 600; }
.price-bar .amount { font-size: 46px; font-weight: 700; color: var(--navy); line-height: 1.1; }
.benefits { margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.benefit { display: flex; align-items: center; gap: 10px; background: var(--navy); color: #fff; border-radius: 12px; padding: 14px 16px; font-size: 17px; font-weight: 600; }

/* Reasons */
.reason { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.reason svg { flex: 0 0 auto; }
.reason strong { display: block; font-size: 19px; margin-bottom: 6px; }
.reason p { font-size: 16px; line-height: 1.6; color: var(--muted); }

/* Reviews */
.review { background: var(--ground); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.review p { font-size: 17px; line-height: 1.7; color: var(--muted); }
.review-who { display: flex; align-items: center; gap: 12px; }
.review-who img, .review-who .avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: #D3E6D0; }
.review-who small { display: block; font-size: 14px; color: var(--muted); }

/* Order */
.order { background: var(--navy); }
.order .wrap { padding-top: 72px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.order-info { flex: 1 1 360px; min-width: 0; color: #fff; display: flex; flex-direction: column; gap: 16px; }
.order-info h2 { font-family: 'Noto Serif Bengali', serif; font-size: 38px; line-height: 1.35; }
.order-info p, .order-info div { font-size: 18px; line-height: 1.7; color: #DCEBF6; }
.order-form { flex: 1 1 420px; min-width: 0; background: #fff; border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; }
.field input, .field textarea {
  min-height: 48px; padding: 10px 14px; border: 1.5px solid #9DB8BD; border-radius: 10px;
  font-size: 16px; font-family: inherit; background: #fff; color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: 3px solid #8FC2E6; border-color: var(--navy); }
.field textarea { resize: vertical; }
.qty-stepper { display: inline-flex; align-items: stretch; align-self: flex-start; border: 1.5px solid #9DB8BD; border-radius: 12px; overflow: hidden; background: #fff; }
.qty-btn {
  width: 52px; min-height: 52px; border: 0; background: var(--tint); color: var(--navy);
  font-size: 28px; font-weight: 700; line-height: 1; cursor: pointer; font-family: inherit;
  display: flex; align-items: center; justify-content: center; touch-action: manipulation;
}
.qty-btn:hover { background: #D3E7F5; }
.qty-btn:active { background: #BCDAEF; }
.qty-btn:disabled { color: #9DB8BD; cursor: not-allowed; background: #F1F5F8; }
.field .qty-stepper input.qty {
  width: 70px; min-height: 52px; border: 0; border-radius: 0; text-align: center;
  font-size: 20px; font-weight: 700; padding: 0; -moz-appearance: textfield;
  border-left: 1.5px solid #9DB8BD; border-right: 1.5px solid #9DB8BD;
}
.field .qty-stepper input.qty:focus { outline: 3px solid #8FC2E6; outline-offset: -3px; }
.qty::-webkit-outer-spin-button, .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.summary { background: var(--ground); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.summary div { display: flex; justify-content: space-between; }
.summary .total { font-weight: 700; font-size: 18px; border-top: 1px solid var(--line); padding-top: 8px; }
.summary div > span:last-child { font-weight: 600; font-size: 17px; }
.summary .total > span:last-child { font-weight: 700; font-size: 19px; }
.pay-note { font-size: 15px; color: var(--muted); }
.order-form .btn { min-height: 56px; width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-radius: 12px; padding: 16px; font-weight: 600; font-size: 17px; }
.notice-ok { background: #E3F5E1; color: #1E5B1A; }
.notice-err { background: #FCE8E6; color: #8A1C12; }

/* Footer */
.site-footer { background: var(--navy-dark); color: #CFE3F3; }
.site-footer .wrap { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 15px; }
.site-footer a { color: #CFE3F3; }

/* Money-back guarantee */
.guarantee { padding: 72px 0; background: var(--ground); }
.g-card {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #143A5C 0%, #1B4F7E 55%, #22659A 100%);
  color: #fff; border-radius: 28px; padding: 44px 48px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 40px;
  box-shadow: 0 18px 40px rgba(20, 58, 92, 0.25);
  border: 3px solid #F5B82E;
}
.g-card::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px;
  border-radius: 50%; background: rgba(245, 184, 46, 0.12);
}
.g-seal { flex: 0 0 auto; margin: 0 auto; filter: drop-shadow(0 10px 18px rgba(0,0,0,.25)); }
.g-body { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; position: relative; }
.g-kicker { align-self: flex-start; background: rgba(245,184,46,.18); color: #FFE38A; border: 1px solid rgba(245,184,46,.5); font-weight: 600; font-size: 15px; padding: 5px 14px; border-radius: 999px; }
.g-title { font-family: 'Noto Serif Bengali', serif; font-size: 40px; line-height: 1.3; color: #FFE38A; }
.g-text { font-size: 18px; line-height: 1.8; color: #E7F1F9; }
.g-text strong { color: #fff; background: rgba(245,184,46,.25); padding: 0 6px; border-radius: 6px; }
.g-steps { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.g-steps li { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; padding: 14px; display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.5; font-weight: 600; }
.g-num { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; background: #F5B82E; color: #1A1206; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.g-promise { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; color: #FFE38A; }
.g-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.g-wa { border: 2px solid #fff; color: #fff; font-size: 18px; }
.g-wa:hover { background: rgba(255,255,255,.1); color: #fff; }
@media (max-width: 600px) {
  .guarantee { padding: 36px 0; }
  .g-card {
    display: grid; grid-template-columns: 76px minmax(0, 1fr); column-gap: 12px; row-gap: 12px;
    align-items: center; padding: 18px 14px; border-radius: 20px; border-width: 2px;
  }
  .g-card::before { width: 160px; height: 160px; right: -60px; top: -60px; }
  .g-body { display: contents; }
  .g-seal { grid-column: 1; grid-row: 1 / span 2; margin: 0; }
  .g-seal svg { width: 76px; height: 76px; }
  .g-kicker { grid-column: 2; grid-row: 1; align-self: end; justify-self: start; font-size: 12px; padding: 3px 10px; }
  .g-title { grid-column: 2; grid-row: 2; align-self: start; font-size: 22px; line-height: 1.3; text-align: left; }
  .g-text, .g-steps, .g-promise, .g-actions { grid-column: 1 / -1; }
  .g-text { font-size: 15px; line-height: 1.65; }
  .g-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
  .g-steps li { flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 10px 6px; font-size: 12.5px; line-height: 1.45; border-radius: 12px; }
  .g-num { width: 26px; height: 26px; font-size: 14px; }
  .g-promise { justify-content: center; font-size: 15.5px; gap: 6px; text-align: center; }
  .g-promise svg { width: 18px; height: 18px; flex: 0 0 auto; }
  .g-actions { gap: 8px; margin-top: 0; }
  .g-actions .btn { flex: 1 1 0; min-width: 0; min-height: 46px; padding: 4px 10px; font-size: 15px; line-height: 1.25; text-align: center; border-radius: 10px; }
}


.g-mini { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; background: #FFF6DC; color: #7A5200; border: 1px solid #F5B82E; border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 700; text-decoration: none; }
.g-mini:hover { color: #5A3C00; background: #FFEFC2; }

/* Thank-you popup */
.ty-overlay {
  position: fixed; inset: 0; z-index: 100; background: rgba(16, 38, 43, 0.6);
  display: flex; align-items: center; justify-content: center; padding: 16px;
  animation: ty-fade .25s ease-out;
}
.ty-box {
  background: #fff; border-radius: 24px; width: 100%; max-width: 480px; max-height: calc(100vh - 32px); overflow-y: auto;
  padding: 32px 28px; text-align: center; display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25); animation: ty-pop .3s ease-out;
}
.ty-check {
  width: 84px; height: 84px; margin: 0 auto; border-radius: 50%;
  background: #E3F5E1; color: #1E7A34; display: flex; align-items: center; justify-content: center;
  border: 4px solid #BFE5C2;
}
.ty-box h2 { font-family: 'Noto Serif Bengali', serif; font-size: 28px; line-height: 1.35; color: var(--navy); }
.ty-lead { font-size: 18px; font-weight: 600; color: #1E5B1A; }
.ty-id { background: var(--tint); border: 2px dashed var(--navy); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.ty-id span { font-size: 15px; color: var(--muted); }
.ty-id strong { font-size: 34px; color: var(--navy); letter-spacing: 1px; }
.ty-sum { background: var(--ground); border-radius: 12px; padding: 12px 16px; display: flex; flex-direction: column; gap: 6px; text-align: left; font-size: 16px; }
.ty-sum div { display: flex; justify-content: space-between; gap: 12px; }
.ty-total { font-weight: 700; border-top: 1px solid var(--line); padding-top: 6px; }
.ty-msg { font-size: 16px; line-height: 1.7; color: var(--ink); }
.ty-note { font-size: 14px; line-height: 1.6; color: var(--muted); }
.ty-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 4px; }
.ty-actions .btn { flex: 1 1 180px; min-height: 50px; font-size: 18px; }
.btn-wa { background: #1F8F4E; color: #fff; }
.btn-wa:hover { background: #187440; color: #fff; }
@keyframes ty-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ty-pop { from { opacity: 0; transform: scale(.92) translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ty-overlay, .ty-box { animation: none; } }

/* Floating WhatsApp button */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 50;
  width: 56px; height: 56px; border-radius: 50%; background: #1F8F4E; color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}
.wa-float:hover { color: #fff; background: #187440; }

/* Mobile: two cards per row so the page stays short */
@media (max-width: 600px) {
  .grid-4, .grid-5, .grid-6, .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .grid-5 > :last-child:nth-child(odd), .grid-6 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .card { padding: 10px; gap: 8px; border-radius: 14px; }
  .card .media img, .card .ph, .card .illus { height: 120px; }
  .card .illus svg { width: 72px; height: 72px; }
  .card h3 { font-size: 17px; }
  .card p { font-size: 14px; line-height: 1.5; }
  .step { padding: 14px 12px; gap: 8px; }
  .step .num { width: 38px; height: 38px; font-size: 18px; }
  .step div:last-child { font-size: 15px; }
  .combo-item { padding: 10px; gap: 6px; }
  .combo-item img, .combo-item .ph { height: 100px; }
  .combo-item .num { width: 30px; height: 30px; font-size: 15px; top: 8px; left: 8px; }
  .combo-item strong { font-size: 15px; }
  .combo-item span { font-size: 13px; }
  .reason { flex-direction: column; padding: 12px; gap: 8px; }
  .reason strong { font-size: 16px; }
  .reason p { font-size: 14px; line-height: 1.5; }
  .benefit { font-size: 14px; padding: 10px 12px; gap: 8px; }
  .benefit svg { width: 20px; height: 20px; flex: 0 0 auto; }
  .section-head { margin-bottom: 24px; }
}

@media (max-width: 600px) {
  .section { padding: 48px 0; }
  .hero .wrap { padding-top: 40px; padding-bottom: 40px; gap: 28px; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 18px; }
  .hero .ph { height: 260px; }
  .section-title { font-size: 28px; }
  .order-info h2 { font-size: 28px; }
  .price-bar .amount { font-size: 38px; }
  .logo img { height: 52px; }
  .order-form { padding: 20px; }
}

.order-form button[type="submit"]:disabled{opacity:.75;cursor:wait}
