/* =====================================================================
   Hela Innovations (PVT), LTD — theme
   Loaded AFTER base.css (shared layout, synced from the SPD site).
   Colours come from the Hela Innovations logo: orange -> magenta.
   ===================================================================== */
:root {
  --navy: #16102b;
  --navy-2: #241a47;
  --navy-3: #3a2670;
  --ink: #1b1630;
  --text: #3c3850;
  --muted: #6d6883;
  --line: #e6e3ee;
  --line-2: #f0eef6;
  --bg-soft: #f7f5fb;
  --red: #e6187f;            /* magenta — primary buttons, accents */
  --red-dark: #c20f69;
  --teal: #e8590c;           /* orange — links, icons */
  --teal-light: #fff0e4;
  --sun: #ffb347;
  --grad: linear-gradient(100deg, #f7931e 0%, #ec1c8e 100%);
  --shadow: 0 4px 12px rgba(22, 16, 43, .07), 0 12px 32px rgba(22, 16, 43, .08);
}

a:hover { color: var(--red); }
.eyebrow { color: var(--teal); }
.eyebrow::before { background: var(--grad); width: 26px; height: 3px; }
.btn--primary { background: var(--grad); box-shadow: 0 6px 18px rgba(230, 24, 127, .28); }
.btn--primary:hover { background: linear-gradient(100deg, #e9820c 0%, #d3107b 100%); }
.btn--whatsapp { background: #1fa855; color: #fff; }
.btn--whatsapp:hover { background: #178a45; color: #fff; }
.main-nav a.is-active { color: var(--red); }
.brand img { border-radius: 50%; }
.brand-name { font-size: 1.02rem; }
.footer-brand img { border-radius: 50%; }
.site-footer { background: #0f0a20; }
.page-hero { background: linear-gradient(135deg, #16102b 0%, #3a2670 100%); }
.page-hero::after { background: radial-gradient(circle, rgba(236, 28, 142, .38) 0%, rgba(236, 28, 142, 0) 70%); }
.page-hero .eyebrow, .hero .eyebrow { color: #ffc38a; }
.cta-band { background: linear-gradient(120deg, #16102b 0%, #3a2670 100%); }
.cta-band::before { background: radial-gradient(circle, rgba(247, 147, 30, .32), rgba(247, 147, 30, 0) 70%); }
.quote-band { background: linear-gradient(120deg, #16102b 0%, #3a2670 100%); }
.tag--publication, .pill-list li { color: #b3440a; }
.check-list li::before {
  background: var(--teal-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e8590c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.badge { background: var(--red); }
.badge--solution { background: #5b3fd6; }
.badge--soon { background: #6d6883; }
.product-model { color: var(--red); }
.process-steps li::before { background: var(--teal); }
.steps li::before { background: var(--navy-3); }
.lang-switch button[aria-pressed="true"] { background: var(--navy-3); }

/* ---------- Hero ---------- */
.hero { background: #120c26; }
.hero::before {
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(236, 28, 142, .30), transparent 60%),
    radial-gradient(700px 500px at 10% 100%, rgba(247, 147, 30, .22), transparent 60%),
    linear-gradient(135deg, #120c26 0%, #261a52 100%);
}
.hero h1 .accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-art { position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .12); }
.hero-art img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 10px 16px 10px 10px;
  border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .9); font-size: .9rem; font-weight: 600;
}
.hero-badge img { width: 32px; height: 32px; border-radius: 50%; background: #fff; }

/* ---------- Brand sections in the catalog ---------- */
.brand-switch { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); flex: none; }
.brand-switch button { border: 0; background: transparent; cursor: pointer; padding: 8px 16px; border-radius: 999px; font: inherit; font-size: .88rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.brand-switch button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.brand-head { display: flex; align-items: center; gap: 16px; margin: 0 0 28px; padding: 22px 26px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.brand-head img { width: 56px; height: 56px; border-radius: 50%; flex: none; background: #fff; }
.brand-head h2 { font-size: 1.5rem; margin: 0 0 2px; }
.brand-head p { margin: 0; color: var(--muted); font-size: .95rem; }
.brand-block { margin-bottom: 40px; }
.card-brand { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.catalog-toolbar .container { flex-wrap: wrap; }
@media (max-width: 860px) { .brand-switch { align-self: flex-start; } }

/* ---------- Distributor note on SPD product pages ---------- */
.dist-note { display: flex; gap: 16px; align-items: center; margin-top: 28px; padding: 16px 20px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: var(--radius); }
.dist-note img { width: 44px; height: 44px; flex: none; }
.dist-note strong { color: var(--ink); }
.dist-note p { margin: 0; font-size: .93rem; }

/* ---------- Home: service cards, partner band ---------- */
.partner-band { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 30px 34px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.partner-band img { width: 84px; height: 84px; }
.partner-band h3 { font-size: 1.25rem; margin-bottom: 6px; }
.partner-band p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .partner-band { grid-template-columns: 1fr; text-align: left; } }
.value-card .cat-icon { background: var(--teal-light); color: var(--teal); }
.cat-icon { background: var(--teal-light); color: var(--teal); }

/* ---------- TiB page ---------- */
.tib-hero { background: linear-gradient(135deg, #0d3b2a 0%, #136b46 55%, #1b8f5a 100%); color: #fff; padding: 56px 0 64px; position: relative; overflow: hidden; }
.tib-hero::after { content: ""; position: absolute; right: -140px; top: -180px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 70%); }
.tib-hero .breadcrumb, .tib-hero .breadcrumb a { color: rgba(255, 255, 255, .75); }
.tib-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.tib-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 10px; }
.tib-hero .tib-sub { font-size: 1.4rem; font-weight: 800; color: #ffd166; margin-bottom: 16px; }
.tib-hero p { color: rgba(255, 255, 255, .88); font-size: 1.08rem; max-width: 560px; }
.tib-price { display: inline-flex; align-items: baseline; gap: 10px; margin: 18px 0 24px; padding: 12px 20px; border-radius: 14px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); }
.tib-price strong { font-size: 1.9rem; color: #fff; }
.tib-price span { color: rgba(255, 255, 255, .85); font-size: .95rem; }
.tib-photo { justify-self: center; background: #fff; border-radius: 20px; padding: 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); transform: rotate(2deg); max-width: 300px; }
.tib-photo img { border-radius: 10px; }
.tib-lang { position: relative; z-index: 2; display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); margin-bottom: 20px; }
.tib-lang button { border: 0; background: transparent; cursor: pointer; padding: 7px 16px; border-radius: 999px; font: inherit; font-size: .9rem; font-weight: 700; color: rgba(255, 255, 255, .85); }
.tib-lang button[aria-pressed="true"] { background: #fff; color: #136b46; }
@media (max-width: 860px) { .tib-hero-grid { grid-template-columns: 1fr; } .tib-photo { max-width: 240px; } }
.tib-page[data-tib="en"] [data-l="si"], .tib-page[data-tib="si"] [data-l="en"] { display: none !important; }
.tib-page [data-l="si"] { font-family: "Noto Sans Sinhala", "Iskoola Pota", "Nirmala UI", sans-serif; line-height: 1.9; }
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.benefit { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; font-weight: 600; color: var(--ink); }
.benefit .cat-icon { margin: 0 auto 12px; background: #e3f5ec; color: #136b46; }
@media (max-width: 860px) { .benefit-grid { grid-template-columns: 1fr 1fr; } }
.num-list { counter-reset: n; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.num-list li { counter-increment: n; position: relative; padding: 14px 16px 14px 58px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.num-list li::before { content: counter(n); position: absolute; left: 14px; top: 13px; width: 30px; height: 30px; border-radius: 50%; background: #136b46; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.caution { background: #fff7e6; border: 1px solid #f3d08a; border-radius: var(--radius); padding: 20px 24px; }
.caution h3 { color: #8a5a00; }
.order-box { background: linear-gradient(135deg, #0d3b2a, #136b46); color: #fff; border-radius: 20px; padding: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.order-box h2 { color: #fff; margin-bottom: 6px; font-size: 1.5rem; }
.order-box p { margin: 0; color: rgba(255, 255, 255, .85); }
.verified { display: flex; align-items: center; gap: 14px; justify-content: center; margin-top: 28px; color: var(--muted); font-weight: 600; }
.verified img { width: 40px; height: 40px; }

/* ---------- Contact ---------- */
.contact-line a { font-weight: 600; }
.social-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.tib-page h1 [data-l="si"], .tib-page h2 [data-l="si"], .tib-page .tib-sub [data-l="si"] { line-height: 1.45; }
.brand-switch .n { opacity: .6; font-weight: 500; margin-left: 2px; }
.catalog-toolbar .filter-tabs { min-width: 0; max-width: 100%; }
.catalog-toolbar .brand-switch { max-width: 100%; overflow-x: auto; }
