/* BusinessOwners.lk — landing styles */
:root {
  --orange: #F58220;
  --orange-deep: #C2410C;
  --orange-deeper: #9A3412;
  --green: #1E7A34;
  --maroon: #9B1B31;
  --ink: #23272E;
  --muted: #4B5563;
  --bg: #FFFFFF;
  --bg-soft: #FBF6F0;
  --bg-green: #F0F7F1;
  --line: #E9E3DB;
  --radius: 14px;
  --shadow: 0 2px 12px rgba(35, 39, 46, 0.07);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans",
    "Noto Sans Sinhala", "Noto Sans Tamil", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

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

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

.tricolor {
  height: 5px;
  background: linear-gradient(90deg, var(--orange) 0 33.3%, var(--maroon) 33.3% 66.6%, var(--green) 66.6% 100%);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: auto; height: 44px; }
.header-right { display: flex; align-items: center; gap: 14px; }

.lang-switch { display: flex; gap: 2px; font-size: 14px; }
.lang-switch a {
  padding: 10px 8px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  text-decoration: none;
  border-radius: 8px;
}
.lang-switch a:hover { background: var(--bg-soft); }
.lang-switch a.active { color: var(--maroon); font-weight: 700; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 26px;
  background: var(--orange-deep);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--orange-deeper); transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.btn-sm { min-height: 44px; padding: 9px 20px; font-size: 15px; }
.btn[disabled] { opacity: 0.65; cursor: wait; transform: none; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(245, 130, 32, 0.12), transparent 60%),
    radial-gradient(900px 420px at -10% 110%, rgba(30, 122, 52, 0.10), transparent 60%),
    var(--bg-soft);
  padding: 64px 0 72px;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw + 0.8rem, 3.4rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 20ch;
  margin: 0 auto 18px;
}
.hero h1 em { font-style: normal; color: var(--maroon); }
.hero .sub {
  font-size: clamp(1.05rem, 1vw + 0.9rem, 1.25rem);
  color: var(--muted);
  max-width: 62ch;
  margin: 0 auto 30px;
}
.hero .micro { margin-top: 14px; font-size: 14.5px; color: var(--muted); }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-soft { background: var(--bg-soft); }
.section-green { background: var(--bg-green); }

.eyebrow {
  display: block;
  color: var(--green);
  font-size: 14.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
h2 {
  font-size: clamp(1.5rem, 2.4vw + 0.7rem, 2.2rem);
  line-height: 1.25;
  margin-bottom: 14px;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 42px; }
.section-head p { color: var(--muted); }

/* Trust strip */
.trust { padding: 30px 0; background: var(--maroon); color: #fff; text-align: center; }
.trust p { font-size: 16.5px; max-width: 75ch; margin: 0 auto; }

/* Cards */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid-5 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
}
.card h3 { font-size: 1.12rem; margin: 12px 0 8px; }
.card p { color: var(--muted); font-size: 15.5px; }

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
}
.step-1 .step-num { background: var(--orange-deep); }
.step-2 .step-num { background: var(--maroon); }
.step-3 .step-num { background: var(--green); }

.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-green);
  color: var(--green);
  font-size: 1.3rem;
}

/* Category chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 900px; margin: 0 auto; }
.chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 14.5px;
  color: var(--ink);
}
.districts-line { text-align: center; color: var(--muted); margin-top: 26px; font-size: 15.5px; }
.districts-line strong { color: var(--green); }

/* ---------- Form ---------- */
.form-wrap {
  max-width: 680px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 34px 28px;
}
@media (max-width: 560px) { .form-wrap { padding: 26px 18px; } }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.field { margin-bottom: 18px; }
label { display: block; font-weight: 600; font-size: 15.5px; margin-bottom: 6px; }
label .req { color: var(--maroon); }
.hint { font-size: 14px; color: var(--muted); margin-top: 5px; }

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="url"],
input[type="file"],
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid #CFC8BF;
  border-radius: 10px;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--orange-deep);
  box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.15);
}
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] {
  border-color: var(--maroon);
}

.check-field { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 18px; }
.check-field input { width: 22px; height: 22px; margin-top: 3px; flex: none; accent-color: var(--green); }
.check-field label { font-weight: 400; font-size: 15px; margin: 0; }
.check-field a { color: var(--maroon); }

.char-count { font-size: 13.5px; color: var(--muted); text-align: right; margin-top: 4px; }

details.optional {
  border: 1.5px dashed #CFC8BF;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 20px;
}
details.optional summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--green);
  font-size: 15.5px;
  min-height: 30px;
}
details.optional[open] summary { margin-bottom: 16px; }

.field-err { display: none; color: var(--maroon); font-size: 14px; font-weight: 600; margin-top: 5px; }
.field-err.show { display: block; }
.form-alert {
  display: none;
  background: #FDECEE;
  border: 1px solid var(--maroon);
  color: var(--maroon);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 18px;
}
.form-alert.show { display: block; }

.hp-wrap { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px 20px;
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16.5px;
  padding: 14px 0;
  min-height: 44px;
  list-style-position: outside;
}
.faq details p { color: var(--muted); padding: 0 0 16px; }

/* ---------- Final CTA ---------- */
.final-cta {
  background: linear-gradient(120deg, var(--maroon), #7C1526);
  color: #fff;
  text-align: center;
  padding: 64px 0;
}
.final-cta h2 { color: #fff; }
.final-cta p { color: rgba(255, 255, 255, 0.85); margin-bottom: 26px; }

/* ---------- Footer ---------- */
.site-footer { background: #1D2025; color: #C9CDD3; padding: 46px 0 90px; font-size: 15px; }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start; }
.site-footer img { height: 52px; width: auto; background: #fff; border-radius: 10px; padding: 6px 10px; }
.site-footer a { color: #fff; }
.site-footer .foot-note { margin-top: 26px; padding-top: 18px; border-top: 1px solid #33373D; font-size: 13.5px; color: #9AA0A8; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.25s ease;
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .btn { width: 100%; }
@media (min-width: 768px) { .sticky-cta { display: none; } }

/* ---------- Thanks page ---------- */
.thanks-hero { min-height: 70vh; display: flex; align-items: center; padding: 60px 0; }
.thanks-card { max-width: 560px; margin: 0 auto; text-align: center; }
.thanks-icon {
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--bg-green); color: var(--green);
  font-size: 2.2rem; display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.thanks-card h1 { font-size: clamp(1.6rem, 3vw + 0.8rem, 2.4rem); margin-bottom: 14px; }
.thanks-card p { color: var(--muted); margin-bottom: 14px; }
.thanks-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.btn-whatsapp { background: #1DA851; }
.btn-whatsapp:hover { background: #168743; }
.btn-ghost { background: transparent; color: var(--maroon); border: 2px solid var(--maroon); }
.btn-ghost:hover { background: var(--bg-soft); }

/* ---------- Utility / a11y ---------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .sticky-cta { transition: none; }
}
