/* Tegak Jurutera Perunding — conversion-led layout. One goal per page: get a project enquiry or a booked call. */
:root {
  --navy: #13213a;
  --navy-2: #1d3050;
  --ink: #1b2330;
  --muted: #5b6676;
  --line: #dde2e8;
  --grey: #f2f4f6;
  --orange: #e0662a;
  --orange-dark: #b84b17;
  --green: #1f9d55;
  --white: #fff;
  --radius: 10px;
  --head: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 32px); margin: 0 auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--white); padding: 8px 12px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.kicker { font: 600 13px var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--orange-dark); margin-bottom: 10px; }
.sample-note { font-size: 13px; font-style: italic; color: var(--muted); }
.muted { color: var(--muted); }

/* Sample ribbon */
.sample-ribbon { background: #fff4c2; color: #4a3b00; font-size: 14px; text-align: center; padding: 7px 16px; border-bottom: 1px solid #ecd98a; }
.sample-ribbon a { color: inherit; font-weight: 600; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-name { font: 700 17px/1.1 var(--head); }
.brand-name small { display: block; font: 400 12px var(--body); color: var(--muted); }
.nav ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.nav a { display: block; padding: 8px 12px; color: var(--ink); text-decoration: none; font-weight: 600; border-radius: 6px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--grey); }
.nav .nav-cta a { background: var(--orange); color: var(--white); }
.nav .nav-cta a:hover { background: var(--orange-dark); }
.menu-btn { display: none; border: 1px solid var(--line); background: var(--white); padding: 8px 14px; border-radius: 6px; font: 600 15px var(--body); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border: 0; border-radius: 8px; font: 600 16px var(--body); text-decoration: none; cursor: pointer; }
.btn svg { width: 20px; height: 20px; }
.btn--accent { background: var(--orange); color: var(--white); }
.btn--accent:hover { background: var(--orange-dark); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-2); }
.btn--ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn--block { width: 100%; }

/* Sections */
.section { padding: 80px 0; }
.section--grey { background: var(--grey); }
.section--navy { background: var(--navy); color: #d6deea; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy .kicker { color: #f3a77c; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head p { font-size: 19px; color: var(--muted); }
.section--navy .section-head p { color: #b7c3d4; }

/* HERO: headline + video on the left, the enquiry form on the right */
.hero { padding: 48px 0 64px; background: linear-gradient(180deg, var(--grey), var(--white)); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.25fr .9fr; gap: 48px; align-items: start; }
.hero .lead { font-size: 20px; color: var(--muted); max-width: 40ch; }
.video { position: relative; display: block; width: 100%; margin-top: 24px; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: pointer; background: var(--navy); aspect-ratio: 16 / 9; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .88; transition: opacity .2s; }
.video:hover img { opacity: 1; }
.video__play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.video__play svg { width: 30px; height: 30px; margin-left: 4px; fill: var(--white); }
.video__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 18px 14px; text-align: left; color: var(--white); font: 600 15px var(--body); background: linear-gradient(transparent, rgba(10,18,32,.85)); }
.video__cap span { display: block; font-weight: 400; font-size: 13px; opacity: .85; }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 26px; box-shadow: 0 18px 40px rgba(19,33,58,.12); }
.form-card h2 { font-size: 1.5rem; margin-bottom: 4px; }
.form-card > p { color: var(--muted); font-size: 15px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 5px; }
.field input, .field select, .field textarea { width: 100%; padding: 11px 12px; border: 1px solid #c4ccd6; border-radius: 8px; font: 400 16px var(--body); background: var(--white); color: var(--ink); }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--orange); border-color: transparent; }
.form-hint { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.proof-line { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; }
.stars { color: #f2a900; letter-spacing: 1px; font-size: 17px; }
.proof-line strong { font-family: var(--head); }

/* "Book a call" card, used beside every piece of proof */
.call-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.call-card:hover { border-color: var(--orange); box-shadow: 0 6px 18px rgba(19,33,58,.1); }
.avatar { position: relative; flex: none; width: 52px; height: 52px; }
.avatar img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.avatar .dot { position: absolute; right: 0; bottom: 1px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--white); background: #9aa4b1; }
.is-open .avatar .dot { background: var(--green); }
.call-card__text { flex: 1; line-height: 1.3; }
.call-card__text strong { display: block; font-family: var(--head); color: var(--navy); }
.call-card__text span { font-size: 14px; color: var(--muted); }
.call-card__go { flex: none; font-weight: 700; color: var(--orange-dark); white-space: nowrap; }
.status { font-size: 13px; }
.cal.is-open .status::before { content: "● "; color: var(--green); }

/* FIT: get in touch if / please don't */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fit__col { padding: 28px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); }
.fit__col--yes { border-top: 5px solid var(--green); }
.fit__col--no { border-top: 5px solid #c0392b; }
.fit ul { list-style: none; padding: 0; margin: 0; }
.fit li { position: relative; padding: 10px 0 10px 34px; border-bottom: 1px solid var(--line); }
.fit li:last-child { border-bottom: 0; }
.fit li::before { position: absolute; left: 0; top: 10px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 700 13px/22px var(--body); text-align: center; color: var(--white); }
.fit__col--yes li::before { content: "✓"; background: var(--green); }
.fit__col--no li::before { content: "✕"; background: #c0392b; }
.not-ready { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; margin-top: 24px; padding: 22px 26px; border-radius: 14px; background: var(--navy); color: #d6deea; }
.not-ready h3 { color: var(--white); margin: 0 0 4px; }
.not-ready p { margin: 0; }
.not-ready svg { width: 54px; height: 54px; }

/* CASE STUDIES with a call card beside each */
.case { display: grid; grid-template-columns: 1fr 1.15fr; gap: 0; margin-bottom: 28px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--white); }
.case:nth-child(even) .case__img { order: 2; }
.case__img img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.case__body { padding: 28px 30px; }
.case__meta { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.case dl { display: grid; grid-template-columns: 112px 1fr; gap: 8px 14px; margin: 0 0 20px; }
.case dt { font: 600 13px var(--head); text-transform: uppercase; letter-spacing: .05em; color: var(--orange-dark); padding-top: 3px; }
.case dd { margin: 0; }
.result { font-weight: 600; color: var(--navy); }

/* WHAT YOU'RE BUYING */
.buy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.buy__item { padding: 24px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); }
.buy__item svg { width: 100%; height: 96px; margin-bottom: 14px; background: #f6f8fa; border-radius: 10px; }
.buy__item h3 { margin-bottom: 6px; }
.buy__item p { margin: 0; font-size: 16px; color: var(--muted); }
.buy__n { display: inline-block; font: 700 12px var(--head); color: var(--orange-dark); letter-spacing: .08em; margin-bottom: 4px; }
.addons { margin-top: 40px; padding: 28px; border-radius: 14px; border: 2px dashed #c4ccd6; }
.addons h3 { margin-bottom: 4px; }
.addons > p { color: var(--muted); }
.addons ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; }
.addons li { padding-left: 26px; position: relative; }
.addons li::before { content: "+"; position: absolute; left: 0; top: -2px; font: 700 20px var(--head); color: var(--orange); }
.addons li strong { color: var(--navy); }

/* PROCESS: three steps */
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; }
.three li { list-style: none; position: relative; padding: 0 28px 0 0; }
.three li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 50%; background: var(--orange); color: var(--white); font: 700 22px var(--head); position: relative; z-index: 1; }
.three li::after { content: ""; position: absolute; top: 26px; left: 52px; right: 0; height: 2px; background: rgba(255,255,255,.25); }
.three li:last-child::after { display: none; }
.three h3 { margin-bottom: 6px; }
.three .when { display: inline-block; margin-top: 4px; padding: 3px 10px; border-radius: 99px; background: rgba(255,255,255,.1); color: #f3a77c; font-size: 14px; font-weight: 600; }
.three-wrap { padding: 0; margin: 0; }

/* TRUST: the channel they came from */
.trust { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; }
.stats div { padding: 16px; border-radius: 10px; background: var(--grey); }
.stats strong { display: block; font: 700 1.9rem/1.1 var(--head); color: var(--navy); }
.stats span { font-size: 14px; color: var(--muted); }
.posts { display: grid; gap: 14px; }
.post { padding: 18px 20px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); box-shadow: 0 4px 14px rgba(19,33,58,.06); }
.post__head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 14px; color: var(--muted); }
.post__head img { width: 36px; height: 36px; border-radius: 50%; }
.post__head strong { display: block; color: var(--ink); }
.post p { margin: 0 0 8px; }
.post__foot { font-size: 13px; color: var(--muted); }

/* TESTIMONIALS + FAQ */
.story { display: grid; grid-template-columns: auto 1fr; gap: 28px; padding: 36px; border-radius: 16px; background: var(--navy); color: #e2e8f1; margin-bottom: 24px; }
.story blockquote { margin: 0; font-size: 21px; line-height: 1.5; }
.story blockquote p:first-child::before { content: "“"; font: 700 70px/0 var(--head); color: var(--orange); vertical-align: -26px; margin-right: 6px; }
.story cite { display: block; margin-top: 14px; font-style: normal; font-weight: 600; color: var(--white); }
.story cite span { font-weight: 400; color: #b7c3d4; }
.story__fig { width: 150px; text-align: center; }
.story__fig strong { display: block; font: 700 2.6rem/1 var(--head); color: var(--white); }
.story__fig span { font-size: 14px; color: #b7c3d4; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { padding: 22px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); }
.review p { margin: 8px 0 12px; }
.review footer { font-size: 14px; color: var(--muted); }
.review-total { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; font-size: 16px; }
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 36px 18px 0; position: relative; font: 600 18px var(--head); color: var(--navy); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 26px; color: var(--orange); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--muted); max-width: 70ch; }

/* PAGE HEAD (inner pages) */
.page-head { padding: 56px 0 40px; background: var(--grey); border-bottom: 1px solid var(--line); }
.page-head .wrap { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
.page-head p { font-size: 19px; color: var(--muted); max-width: 60ch; margin: 0; }
.page-head .call-card { min-width: 330px; }

/* Inner page bits */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: 14px; }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.person { padding: 26px; border-radius: 14px; border: 1px solid var(--line); background: var(--white); }
.person__top { display: flex; gap: 18px; align-items: center; margin-bottom: 14px; }
.person__top img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.person__top h3 { margin: 0; }
.role { color: var(--orange-dark); font-weight: 600; font-size: 15px; }
.reg { display: grid; grid-template-columns: 120px 1fr; gap: 10px 16px; margin: 0; }
.reg dt { font-weight: 600; color: var(--navy); }
.reg dd { margin: 0; }
.ticks { list-style: none; padding: 0; margin: 0 0 20px; }
.ticks li { position: relative; padding: 6px 0 6px 30px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 6px; color: var(--green); font-weight: 700; }
.service { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.service:first-child { padding-top: 0; }
.service .icon { width: 46px; height: 46px; color: var(--orange); margin-bottom: 12px; }
.service .for { color: var(--muted); }
.cases-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cases-grid .case { grid-template-columns: 1fr; margin: 0; }
.cases-grid .case:nth-child(even) .case__img { order: 0; }
.cases-grid .case__img img { min-height: 0; aspect-ratio: 3 / 2; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 16px; }
.contact-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-list strong { display: block; font-size: 14px; color: var(--muted); font-weight: 600; }
.map { width: 100%; height: 280px; border: 0; border-radius: 12px; margin-top: 12px; }

/* FOOTER with booking widget */
.book { padding: 72px 0; background: var(--navy); color: #d6deea; }
.book .wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.book h2 { color: var(--white); }
.book__who { display: flex; align-items: center; gap: 16px; margin: 20px 0; }
.book__who img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid var(--white); }
.book__who strong { display: block; color: var(--white); font-family: var(--head); font-size: 18px; }
.book .stars { font-size: 15px; }
.book__alt { font-size: 15px; }
.book__alt a { color: #f3a77c; }
.cal { background: var(--white); color: var(--ink); border-radius: 14px; padding: 22px; }
.cal h3 { margin-bottom: 2px; }
.cal > p { font-size: 14px; color: var(--muted); }
.cal__days { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 14px 0; }
.cal__slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px; }
.cal button.pick { padding: 10px 4px; border: 1px solid #c4ccd6; border-radius: 8px; background: var(--white); font: 600 14px/1.25 var(--body); color: var(--ink); cursor: pointer; }
.cal button.pick span { display: block; font-weight: 400; font-size: 12px; color: var(--muted); }
.cal button.pick:hover { border-color: var(--navy); }
.cal button.pick[aria-pressed="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.cal button.pick[aria-pressed="true"] span { color: #b7c3d4; }
.cal__label { font-weight: 600; font-size: 14px; margin: 0 0 6px; }
.site-footer { background: #0d182b; color: #8e9bad; font-size: 14px; padding: 22px 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.site-footer a { color: #c5cfdc; }
.site-footer nav a { margin-right: 14px; }

/* Video dialog */
dialog.vsl { width: min(720px, 100% - 32px); border: 0; border-radius: 14px; padding: 0; }
dialog.vsl::backdrop { background: rgba(10,18,32,.7); }
.vsl__body { padding: 26px 28px; }
.vsl__body ol { padding-left: 20px; }
.vsl__body li { margin-bottom: 6px; }
.vsl__close { float: right; border: 0; background: var(--grey); width: 36px; height: 36px; border-radius: 50%; font-size: 20px; cursor: pointer; }

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

/* Tablet */
@media (max-width: 960px) {
  .hero .wrap, .trust, .book .wrap, .split, .contact-grid, .page-head .wrap { grid-template-columns: 1fr; }
  .buy, .reviews { grid-template-columns: 1fr 1fr; }
  .case, .case:nth-child(even) { grid-template-columns: 1fr; }
  .case:nth-child(even) .case__img { order: 0; }
  .case__img img { min-height: 0; aspect-ratio: 16 / 9; }
  .page-head .call-card { min-width: 0; }
}
/* Phone */
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; }
  .section { padding: 56px 0; }
  .fit, .buy, .reviews, .three, .people, .cases-grid, .stats, .addons ul { grid-template-columns: 1fr; }
  .three li { padding: 0 0 28px; }
  .three li::after { display: none; }
  .not-ready { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; padding: 26px; }
  .story blockquote { font-size: 18px; }
  .story__fig { width: auto; text-align: left; }
  .service { grid-template-columns: 1fr; gap: 8px; }
  .cal__days { grid-template-columns: repeat(3, 1fr); }
  .cal__slots { grid-template-columns: repeat(2, 1fr); }
  .case__body { padding: 22px; }
  .case dl { grid-template-columns: 1fr; gap: 2px; }
  .case dd { margin-bottom: 8px; }
  .call-card { flex-wrap: wrap; }
  .call-card__go { flex-basis: 100%; padding-left: 66px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
dialog.vsl img { width: 100%; display: block; }
