:root {
  /* Brand palette — sampled from the Solaarr Galaxy logo, banner and letterhead */
  --navy: #363382;        /* logo globe + "GALAXY" */
  --navy-deep: #22205c;
  --navy-soft: #ecebf7;
  --red: #d8232c;         /* logo "Solaarr" + stripes */
  --red-soft: #fdecec;
  --sun: #f5b301;         /* letterhead stars / solar accent */
  --sun-soft: #fff4d6;
  --cream: #fffaf1;       /* banner background */
  --ink: #1c1b33;
  --muted: #5d5c78;
  --line: #e6e4f0;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(34, 32, 92, .10);
  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
html, body { overflow-x: clip; }
body { font-family: var(--font-body); color: var(--ink); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; color: var(--navy-deep); }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
section { padding: 88px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--red); }
.section-head { max-width: 660px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--red); }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 17px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font: 600 15px/1 var(--font-body); border: 2px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(216, 35, 44, .28); }
.btn-red:hover { background: #bd1c25; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy-soft); }
.btn-wa { background: #1fa855; color: #fff; }
.btn-wa:hover { background: #178c46; }

/* Top bar + header */
.topbar { background: var(--navy-deep); color: #d9d8f0; font-size: 13.5px; }
.topbar .wrap { padding: 9px 0; }
.topbar a:hover { color: #fff; }
.tb-track { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; }
.tb-track .tb-tag { margin-left: auto; }
.topbar span b { color: var(--sun); font-weight: 600; }
.topbar .tb-loc { display: inline-flex; align-items: center; gap: 6px; }
.topbar .tb-loc svg { width: 14px; height: 14px; color: var(--sun); flex: none; }
header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.brand img { height: 52px; width: auto; }
nav ul { display: flex; gap: 30px; list-style: none; }
nav a { font-weight: 500; font-size: 15px; color: var(--ink); position: relative; padding: 6px 0; }
nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--red); transition: width .25s; }
nav a:hover::after { width: 100%; }
.header-cta { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; color: var(--navy); }
.menu-btn svg { width: 28px; height: 28px; }

/* Hero */
.hero { background: var(--cream); position: relative; overflow: hidden; padding: 72px 0 96px; }
.hero::before { content: ""; position: absolute; right: -180px; top: -160px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, var(--sun-soft) 0%, rgba(255,244,214,0) 70%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; position: relative; }
.pill { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); padding: 7px 14px 7px 8px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--navy); box-shadow: var(--shadow); margin-bottom: 22px; }
.pill i { background: var(--red); color: #fff; font-style: normal; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; letter-spacing: .04em; }
.hero h1 { font-size: clamp(36px, 5.4vw, 62px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 540px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font: 800 30px/1 var(--font-head); color: var(--navy); }
.hero-stats div span { font-size: 14px; color: var(--muted); }
/* Hero text fades in on load: pill, headline word by word, then lead, buttons and stats */
.hero .pill, .hero h1 .w, .hero p.lead, .hero-cta, .hero-stats > div { animation: fadeUp .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero .pill { animation-delay: .1s; }
.hero h1 .w { display: inline-block; animation-delay: calc(.25s + var(--i) * .07s); }
.hero p.lead { animation-delay: 1.05s; }
.hero-cta { animation-delay: 1.2s; }
.hero-stats > div:nth-child(1) { animation-delay: 1.35s; }
.hero-stats > div:nth-child(2) { animation-delay: 1.47s; }
.hero-stats > div:nth-child(3) { animation-delay: 1.59s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); filter: blur(8px); } }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; }
.float-card { position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 12px 16px; display: flex; gap: 12px; align-items: center; font-size: 13.5px; }
.float-card b { display: block; font: 700 17px/1.2 var(--font-head); color: var(--navy-deep); }
.float-card .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.float-card .ic svg { width: 22px; height: 22px; }
.fc-1 { left: -12px; bottom: 18%; animation: bob 5s ease-in-out infinite; }
.fc-2 { right: -6px; top: 10%; animation: bob 5s ease-in-out -2.5s infinite; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.sun-rays { transform-origin: 380px 90px; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Brand strip */
.brands { padding: 30px 0; border-bottom: 1px solid var(--line); }
.brands .wrap { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; }
.brands small { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.brands ul { display: flex; flex-wrap: wrap; gap: 12px 34px; list-style: none; justify-content: center; }
.brands li { font: 700 18px/1 var(--font-head); color: #8d8ba8; letter-spacing: .02em; }

/* Products */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; overflow: hidden; }
.product::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--navy) 50%, var(--red) 50%); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.product:hover::after { transform: scaleX(1); }
.product .pimg { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #fff; border-bottom: 1px solid var(--line); }
.product .pbody { padding: 0 22px 24px; }
.product .ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin: -27px 0 14px; border: 4px solid #fff; position: relative; }
.product .ic svg { width: 26px; height: 26px; }
.product:nth-child(odd) .ic { background: var(--navy-soft); color: var(--navy); }
.product:nth-child(even) .ic { background: var(--red-soft); color: var(--red); }
.product h3 { font-size: 19px; margin-bottom: 8px; }
.product p { font-size: 14.5px; color: var(--muted); }
.product .tag { position: absolute; top: 14px; right: 14px; z-index: 1; box-shadow: 0 2px 8px rgba(0,0,0,.15); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--sun-soft); color: #9a6b00; padding: 4px 9px; border-radius: 999px; }

/* Package */
.package { background: var(--navy-deep); color: #e4e3f5; position: relative; overflow: hidden; }
.package::before { content: ""; position: absolute; width: 640px; height: 640px; border-radius: 50%; border: 2px solid rgba(255,255,255,.06); left: -220px; top: -220px; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.02); }
.package .section-head h2 { color: #fff; }
.package .section-head p { color: #b9b8d9; }
.package .eyebrow { color: var(--sun); }
.package .eyebrow::before { background: var(--sun); }
.pkg-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; position: relative; }
.pkg-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; padding: 32px; }
.pkg-card h3 { color: #fff; font-size: 22px; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.pkg-card h3 span { font: 600 12px/1 var(--font-body); background: var(--red); color: #fff; padding: 6px 10px; border-radius: 999px; letter-spacing: .05em; text-transform: uppercase; }
.incl { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.incl li { display: flex; gap: 12px; font-size: 14.5px; }
.incl li svg { width: 20px; height: 20px; color: var(--sun); flex: none; margin-top: 2px; }
.incl li b { color: #fff; font-weight: 600; display: block; }
.incl li small { color: #a9a8cc; font-size: 13px; }
.price-card { background: #fff; color: var(--ink); border-radius: 22px; padding: 32px; display: flex; flex-direction: column; }
.price-card h3 { color: var(--navy-deep); font-size: 20px; margin-bottom: 4px; }
.price-card > p { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.price-row strong { font: 700 20px/1 var(--font-head); color: var(--navy-deep); }
.price-row.sub strong { color: #1a8a49; }
.price-row.total { border: 0; background: var(--red-soft); margin: 16px -14px 0; padding: 18px 14px; border-radius: 14px; }
.price-row.total span { font-weight: 600; color: var(--red); }
.price-row.total strong { font-size: 32px; color: var(--red); }
.price-card .fine { font-size: 12.5px; color: var(--muted); margin: 16px 0 22px; }
.price-card .btn { margin-top: auto; }
.terms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; position: relative; }
.term { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 20px; }
.term b { display: block; font: 700 22px/1.1 var(--font-head); color: var(--sun); margin-bottom: 6px; }
.term span { font-size: 13.5px; color: #c4c3e0; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.step { --s: 0; text-align: center; position: relative; }
.step:nth-child(2) { --s: 1; } .step:nth-child(3) { --s: 2; } .step:nth-child(4) { --s: 3; } .step:nth-child(5) { --s: 4; }
/* Dashed connector from each step to the next */
.step:not(:last-child)::after { content: ""; position: absolute; top: 29px; left: calc(50% + 38px); width: calc(100% + 18px - 76px); height: 2px; background: repeating-linear-gradient(90deg, rgba(54, 51, 130, .3) 0 8px, transparent 8px 14px); transform-origin: left; }
.step .num { width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; font: 800 22px/1 var(--font-head); background: #fff; border: 2px solid var(--navy); color: var(--navy); position: relative; transition: background .25s, color .25s; }
.step:nth-child(even) .num { border-color: var(--red); color: var(--red); }
.step:hover .num { background: var(--navy); color: #fff; }
.step:nth-child(even):hover .num { background: var(--red); }
.step h4 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); }
/* Steps play in sequence when scrolled into view (js/script.js adds .play): number pops, text rises, connector draws, then a ring pulses through the steps */
.js .steps:not(.play) .num, .js .steps:not(.play) .step > div { opacity: 0; }
.js .steps:not(.play) .step::after { transform: scaleX(0); }
.steps.play .num { animation: stepPop .6s cubic-bezier(.34, 1.56, .64, 1) calc(.2s + var(--s) * .45s) both; }
.steps.play .step > div { animation: fadeUp .6s ease calc(.35s + var(--s) * .45s) both; }
.steps.play .step::after { animation: drawX .4s ease-out calc(.6s + var(--s) * .45s) both; }
.steps.play .num::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid currentColor; opacity: 0; animation: ring 7.5s ease-out calc(2.8s + var(--s) * 1.5s) infinite; }
@keyframes stepPop { from { opacity: 0; transform: scale(.3); } }
@keyframes drawX { from { transform: scaleX(0); } }
@keyframes drawY { from { transform: scaleY(0); } }
@keyframes ring { 0% { opacity: .55; transform: scale(1); } 15%, 100% { opacity: 0; transform: scale(1.7); } }

/* Calculator */
.calc { background: var(--cream); }
.calc-box { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #fff; border-radius: 26px; box-shadow: var(--shadow); overflow: hidden; }
.calc-in { padding: 44px; }
.calc-in h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 12px; }
.calc-in > p { color: var(--muted); margin-bottom: 30px; }
.calc-in label { font-weight: 600; font-size: 15px; display: flex; justify-content: space-between; margin-bottom: 14px; }
.calc-in label output { font: 800 22px/1 var(--font-head); color: var(--red); }
input[type=range] { width: 100%; accent-color: var(--red); height: 6px; cursor: pointer; }
.range-ends { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.calc-out { background: var(--navy); color: #fff; padding: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-content: center; position: relative; }
.calc-out div span { display: block; font-size: 13.5px; color: #c4c3e0; margin-bottom: 4px; }
.calc-out div strong { font: 800 clamp(26px, 3vw, 34px)/1.1 var(--font-head); color: #fff; }
.calc-out div strong.hl { color: var(--sun); }
.calc-out p.note { grid-column: 1 / -1; font-size: 12.5px; color: #a9a8cc; border-top: 1px solid rgba(255,255,255,.15); padding-top: 16px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-text p { color: var(--muted); margin-bottom: 16px; font-size: 16.5px; }
.about-text blockquote { border-left: 4px solid var(--red); padding: 6px 0 6px 18px; font: 600 19px/1.45 var(--font-head); color: var(--navy-deep); margin: 26px 0; }
.vm { display: grid; gap: 18px; }
.vm-card { border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); background: #fff; }
.vm-card h3 { font-size: 20px; margin-bottom: 10px; display: flex; gap: 12px; align-items: center; }
.vm-card h3 .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.vm-card h3 .ic svg { width: 22px; height: 22px; }
.vm-card p, .vm-card li { color: var(--muted); font-size: 15px; }
.vm-card ul { padding-left: 20px; display: grid; gap: 8px; }
.vm-card.v .ic { background: var(--navy-soft); color: var(--navy); }
.vm-card.m .ic { background: var(--red-soft); color: var(--red); }

/* Founders */
.founders { background: linear-gradient(180deg, #fff 0%, var(--navy-soft) 100%); }
.founder-grid { display: grid; grid-template-columns: minmax(0, 940px); justify-content: center; }
.founder { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: #fff; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; box-shadow: 0 24px 60px rgba(34, 32, 92, .12); }
.founder .photo { position: relative; min-height: 460px; background: var(--navy-deep); overflow: hidden; }
.founder .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.founder .photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(34, 32, 92, 0) 60%, rgba(34, 32, 92, .35) 100%); }
.founder .photo::after { content: ""; position: absolute; inset: auto 0 0 0; z-index: 1; height: 6px; background: linear-gradient(90deg, var(--navy) 60%, var(--red) 60%); }
.founder .info { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 48px 52px; overflow: hidden; }
.founder .info::before { content: ""; position: absolute; right: -140px; top: -140px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, var(--sun-soft) 0%, rgba(255, 244, 214, 0) 70%); pointer-events: none; }
.founder .info > * { position: relative; }
.founder .role { display: inline-flex; align-items: center; gap: 10px; font: 700 12.5px/1 var(--font-body); color: var(--red); text-transform: uppercase; letter-spacing: .14em; }
.founder .role::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--red); }
.founder h3 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 700; letter-spacing: -.01em; margin: 16px 0 10px; }
.founder h3 small { font-size: .6em; font-weight: 600; color: var(--navy); opacity: .7; margin-right: 2px; }
.founder .loc { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; color: var(--navy); }
.founder .loc svg { width: 16px; height: 16px; color: var(--red); flex: none; }
.founder p { color: var(--muted); font-size: 16.5px; line-height: 1.7; max-width: 48ch; margin: 22px 0 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.founder .links { display: flex; gap: 12px; flex-wrap: wrap; }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why { display: flex; gap: 16px; padding: 24px; border-radius: var(--radius); background: var(--cream); }
.why .ic { width: 46px; height: 46px; border-radius: 12px; background: #fff; color: var(--red); display: grid; place-items: center; flex: none; box-shadow: 0 4px 12px rgba(34,32,92,.08); }
.why .ic svg { width: 24px; height: 24px; }
.why h4 { font-size: 17px; margin-bottom: 4px; }
.why p { font-size: 14.5px; color: var(--muted); }

/* FAQ */
.faq { background: var(--navy-soft); }
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 4px 14px rgba(34, 32, 92, .05); }
.faq-item summary { list-style: none; cursor: pointer; position: relative; padding: 20px 60px 20px 24px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 17px; line-height: 1.4; }
.faq-item summary::after { content: ""; position: absolute; right: 26px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-item summary:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; border-radius: 16px; }
.faq-item p { padding: 0 24px 22px; color: var(--muted); font-size: 15.5px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 32px; }
.contact-info { display: grid; gap: 16px; align-content: start; }
.ci { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.ci .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--navy-soft); color: var(--navy); }
.ci .ic svg { width: 22px; height: 22px; }
.ci h4 { font-size: 15px; margin-bottom: 3px; }
.ci p, .ci a { color: var(--muted); font-size: 15px; }
.ci a:hover { color: var(--red); }
.ci .dir-link { display: inline-block; margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--red); }
.map { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); height: 230px; }
.map iframe { width: 100%; height: 100%; border: 0; }
form.enquiry { background: var(--navy-deep); border-radius: 24px; padding: 36px; color: #fff; display: flex; flex-direction: column; justify-content: center; }
form.enquiry h3 { color: #fff; font-size: 26px; margin-bottom: 6px; }
form.enquiry > p { color: #b9b8d9; font-size: 15px; margin-bottom: 24px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fields .full { grid-column: 1 / -1; }
.fields label { display: block; font-size: 13px; font-weight: 600; color: #d4d3ec; margin-bottom: 6px; }
.fields input, .fields select, .fields textarea { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.07); color: #fff; font: 15px var(--font-body); }
.fields select option { color: var(--ink); }
.fields textarea { min-height: 96px; resize: vertical; }
.fields input::placeholder, .fields textarea::placeholder { color: #8e8db3; }
.fields input:focus, .fields select:focus, .fields textarea:focus { outline: 2px solid var(--sun); outline-offset: 1px; }
form.enquiry .btn { width: 100%; margin-top: 20px; padding: 16px; }
form.enquiry small { display: block; text-align: center; color: #9f9ec4; margin-top: 12px; font-size: 12.5px; }

/* Sub-page header: breadcrumb, title and intro */
.page-hero { background: var(--cream); position: relative; overflow: hidden; padding: 52px 0 60px; border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; right: -160px; top: -200px; width: 540px; height: 540px; border-radius: 50%; background: radial-gradient(circle, var(--sun-soft) 0%, rgba(255,244,214,0) 70%); }
.page-hero .wrap { position: relative; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #b9b7cf; }
.crumbs a { color: var(--navy); font-weight: 600; }
.crumbs a:hover { color: var(--red); }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; letter-spacing: -.02em; max-width: 820px; margin-bottom: 16px; }
.page-hero p { font-size: 18px; color: var(--muted); max-width: 640px; }
nav a[aria-current="page"] { color: var(--navy); font-weight: 600; }
nav a[aria-current="page"]::after { width: 100%; }

/* CTA band + footer */
.cta-band { background: var(--red); color: #fff; padding: 52px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 3.4vw, 34px); }
.cta-band p { color: #ffd9db; margin-top: 6px; }
.cta-band .btn-white { background: #fff; color: var(--red); }
.cta-band .btn-outline { border-color: #fff; color: #fff; }
footer { background: #17163f; color: #b1b0d1; padding: 64px 0 0; font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.foot-logo { background: #fff; display: inline-block; padding: 10px 16px; border-radius: 14px; margin-bottom: 18px; }
.foot-logo img { height: 50px; width: auto; }
footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
footer ul { list-style: none; display: grid; gap: 9px; }
footer a:hover { color: #fff; }
.gst { display: inline-block; margin-top: 14px; font-size: 13px; background: rgba(255,255,255,.07); padding: 6px 12px; border-radius: 8px; }
.star-band { margin-top: 52px; background: var(--navy); padding: 14px 0; }
.star-band ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 30px; color: #fff; font-weight: 600; font-size: 14px; }
.star-band li::before { content: "★"; color: var(--sun); margin-right: 8px; }
.copy .credits { font-size: 12.5px; color: #6c6b92; margin: 6px auto 0; max-width: 900px; padding-inline: 16px; letter-spacing: .02em; }
.copy .credits a { color: var(--sun); font-weight: 600; letter-spacing: .06em; transition: color .2s; }
.copy .credits a:hover { color: #fff; text-decoration: underline; }
.copy { background: #100f30; padding: 16px 0; text-align: center; font-size: 13px; color: #8584a8; }

.wa-float { position: fixed; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #1fa855; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(31,168,85,.4); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* Page loader: shown only when JS is running (html.is-loading), fades out on html.loaded */
.loader { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 24px; background: radial-gradient(circle at 50% 30%, var(--sun-soft) 0%, var(--cream) 55%); transition: opacity .6s ease, visibility .6s; }
.is-loading .loader { display: grid; }
.is-loading.loaded .loader { opacity: 0; visibility: hidden; }
.is-loading:not(.loaded) { overflow: hidden; }
.is-loading:not(.loaded) .hero * { animation-play-state: paused; }
.loader-inner { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 440px; animation: fadeUp .7s cubic-bezier(.2, .7, .2, 1); transition: transform .6s ease; }
.loaded .loader-inner { transform: translateY(-14px) scale(.98); }
.loader-logo { height: 46px; width: auto; margin-bottom: 18px; }
.loader-art { width: min(220px, 60vw); height: auto; }
.loader-rays { transform-origin: 110px 38px; animation: spin 6s linear infinite; }
.loader-glow { opacity: .18; transform-origin: 110px 38px; animation: glow 2s ease-in-out infinite; }
@keyframes glow { 50% { transform: scale(1.25); opacity: .08; } }
.loader-beams { animation: beam .8s linear infinite; }
@keyframes beam { to { stroke-dashoffset: -16; } }
.loader .cell { fill: var(--navy); animation: cellGlow 1.6s ease-in-out infinite; animation-delay: calc(var(--d) * .15s); }
@keyframes cellGlow { 40% { fill: #8c89f0; } }
.loader-bar { width: 180px; height: 6px; border-radius: 6px; background: rgba(54, 51, 130, .12); overflow: hidden; margin: 22px 0 26px; }
.loader-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--sun), var(--red)); transform-origin: left; animation: charge 1.8s ease-out both; }
@keyframes charge { from { transform: scaleX(0); } }
.loader-quote p { font: 600 clamp(17px, 4.5vw, 21px)/1.45 var(--font-head); color: var(--navy-deep); }
.loader-quote p::before { content: "\201C"; color: var(--red); }
.loader-quote p::after { content: "\201D"; color: var(--red); }
.loader-quote cite { display: block; margin-top: 12px; font: 600 12.5px/1 var(--font-body); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }

.js .reveal:not(.in) { transform: translateY(18px); }
.reveal { transition: transform .7s ease; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal:not(.in) { transform: none; }
}

/* Responsive */
@media (max-width: 1080px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .terms { grid-template-columns: repeat(2, 1fr); }
  .topbar .tb-mail { display: none; }
}
@media (max-width: 900px) {
  .topbar .tb-ph2 { display: none; }
  nav { position: fixed; inset: 76px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 20px; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .25s, transform .25s, visibility .25s; box-shadow: var(--shadow); }
  nav.open { opacity: 1; visibility: visible; transform: none; }
  nav ul { flex-direction: column; gap: 0; }
  nav a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .menu-btn { display: grid; place-items: center; }
  .header-cta .btn { display: none; }
  .hero .wrap, .pkg-grid, .about-grid, .contact-grid, .calc-box { grid-template-columns: minmax(0, 1fr); }
  .hero-art { max-width: 520px; margin-inline: auto; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .step { display: grid; grid-template-columns: 60px 1fr; gap: 18px; text-align: left; align-items: start; }
  .step:not(:last-child)::after { top: 66px; left: 29px; width: 2px; height: calc(100% - 46px); background: repeating-linear-gradient(180deg, rgba(54, 51, 130, .3) 0 8px, transparent 8px 14px); transform-origin: top; }
  .js .steps:not(.play) .step::after { transform: scaleY(0); }
  .steps.play .step::after { animation-name: drawY; }
  .step .num { margin: 0; }
  .why-grid, .products-grid { grid-template-columns: 1fr 1fr; }
  .founder-grid { grid-template-columns: minmax(0, 460px); }
  .founder { grid-template-columns: 1fr; border-radius: 24px; }
  .founder .photo { min-height: 0; aspect-ratio: 4 / 4.2; }
  .founder .info { padding: 30px 28px 32px; }
  .founder p { font-size: 15.5px; margin: 18px 0 24px; padding-top: 18px; }
  .founder .links .btn { flex: 1 1 auto; }
}
@media (max-width: 640px) {
  section { padding: 64px 0; }
  .page-hero { padding: 36px 0 40px; }
  .page-hero p { font-size: 16.5px; }
  .crumbs { margin-bottom: 18px; }
  .topbar .tb-hide { display: none; }
  .brand img { height: 44px; }
  .why-grid, .incl, .fields, .terms { grid-template-columns: 1fr; }
  /* Compact two-up product cards on phones */
  .products-grid { gap: 12px; }
  .product .pbody { padding: 0 12px 14px; }
  .product .ic { width: 42px; height: 42px; margin: -21px 0 10px; border-width: 3px; border-radius: 12px; }
  .product .ic svg { width: 20px; height: 20px; }
  .product h3 { font-size: 15.5px; margin-bottom: 6px; }
  .product p { font-size: 13px; line-height: 1.5; }
  .product .tag { top: 8px; right: 8px; font-size: 9.5px; padding: 3px 7px; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 20px; }
  .hero-stats div strong { font-size: 24px; }
  .hero-stats div span { font-size: 12.5px; }
  .calc-out div strong { font-size: 22px; }
  .section-head { margin-bottom: 32px; }
  .calc-in, .calc-out, .pkg-card, .price-card, form.enquiry { padding: 26px; }
  .calc-out { grid-template-columns: 1fr 1fr; }
  /* Compact footer: brand and contact full width, quick links and products side by side */
  footer { padding-top: 40px; font-size: 13.5px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .foot-grid > :first-child, .foot-grid > :last-child { grid-column: 1 / -1; }
  .foot-logo { padding: 7px 12px; border-radius: 12px; margin-bottom: 12px; }
  .foot-logo img { height: 38px; }
  .gst { margin-top: 10px; font-size: 12px; padding: 5px 10px; }
  footer h4 { font-size: 15px; margin-bottom: 10px; }
  footer ul { gap: 6px; }
  .star-band { margin-top: 30px; padding: 11px 0; }
  .star-band ul { font-size: 13px; }
  .copy { padding: 14px 0; font-size: 12px; }
  .copy .credits { font-size: 11.5px; }
  .hero-stats { gap: 24px; }
  .fc-1 { left: 0; } .fc-2 { right: 0; }
  .float-card { padding: 9px 12px; font-size: 12px; }
  .float-card b { font-size: 15px; }
  .float-card .ic { width: 32px; height: 32px; }
}
/* Mobile marquees: brand strip and product cards scroll in a loop on phones; js/script.js adds the duplicate items */
@media (min-width: 641px) {
  .marquee-track > [data-clone] { display: none; }
}
@media (max-width: 640px) {
  .marquee { overflow: hidden; margin-inline: -16px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
  .marquee .marquee-track { display: flex; flex-wrap: nowrap; gap: 0; width: max-content; animation: marquee var(--marquee-speed, 30s) linear infinite; }
  .marquee .marquee-track > * { flex: none; margin-right: var(--marquee-gap, 12px); }
  .marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
  .brands .wrap { flex-direction: column; flex-wrap: nowrap; gap: 14px; }
  .brands .marquee { align-self: stretch; padding-block: 4px; }
  .brands .marquee-track { --marquee-speed: 16s; --marquee-gap: 34px; }
  #products .marquee { padding: 8px 0 16px; }
  .products-grid.marquee-track { --marquee-speed: 40s; }
  .products-grid.marquee-track > .product { width: 230px; }
  .star-band .marquee-track { --marquee-speed: 22s; --marquee-gap: 26px; }
  .topbar .wrap { padding: 8px 0; }
  .topbar .marquee-track { --marquee-speed: 24s; --marquee-gap: 30px; }
  .topbar .marquee-track > .tb-hide { display: inline-flex; }
  .topbar .marquee-track > * { position: relative; white-space: nowrap; }
  .topbar .marquee-track > *::after { content: ""; position: absolute; top: 50%; right: -17px; width: 4px; height: 4px; border-radius: 50%; background: var(--sun); transform: translateY(-50%); }
  .js .marquee .reveal:not(.in) { transform: none; }
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) and (max-width: 640px) {
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee-track > [data-clone] { display: none; }
}
@media (max-width: 340px) {
  .products-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, auto); }
}
