/* Sydney Visa — Skilled Migration landing. Brand: blue #0067da, navy #1a2d39 / #2d3845, Roboto */
:root {
  --blue: #0067da;
  --blue-dark: #0052ad;
  --navy: #1a2d39;
  --ink: #2d3845;
  --muted: #5d6b78;
  --line: #e3e8ee;
  --light: #f5f8fb;
  --white: #fff;
  --error: #c62828;
  --ok: #2e7d32;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(26, 45, 57, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Roboto", -apple-system, "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; color: var(--ink); }
h1 { font-size: clamp(30px, 4.2vw, 46px); }
h2 { font-size: clamp(26px, 3vw, 36px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }

.container { width: min(1160px, 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 40px); }
.center { text-align: center; margin-top: 32px; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  font-size: 17px;
  padding: 15px 28px;
  border: 0;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--blue-dark); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .65; cursor: wait; }
.btn--small { padding: 10px 18px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 2px var(--blue); }
.btn--ghost:hover { background: var(--blue); color: var(--white); }

/* Topbar */
.topbar { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; }
.topbar__logo img { width: 130px; }
.topbar__meta { display: flex; align-items: center; gap: 18px; }
.topbar__marn { font-size: 14px; color: var(--muted); }

/* Eyebrow */
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-weight: 700; color: var(--blue); margin-bottom: 12px; }
.eyebrow--center { text-align: center; }
.eyebrow--light { color: #8fc1ff; }

/* Hero */
.hero {
  background:
    radial-gradient(1200px 500px at 90% -10%, rgba(0, 103, 218, .18), transparent 60%),
    linear-gradient(180deg, var(--light), var(--white));
  padding: 64px 0 72px;
  scroll-margin-top: 80px;
}
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero__lead { font-size: 19px; color: var(--muted); max-width: 620px; }
.hero__lead strong { color: var(--ink); }

.ticks { list-style: none; padding: 0; margin: 24px 0 0; }
.ticks li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  font-size: 13px; font-weight: 700; line-height: 22px; text-align: center;
}
.ticks--light li { color: var(--white); }
.ticks--light li::before { background: var(--white); color: var(--blue); }

/* Form card */
.formcard { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; border: 1px solid var(--line); }
.formcard__title { font-size: 23px; margin-bottom: 6px; }
.formcard__sub { font-size: 15px; color: var(--muted); }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.field input {
  width: 100%;
  font: inherit;
  font-size: 16px;
  padding: 13px 14px;
  border: 1px solid #c9d2dc;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 103, 218, .15); }
.field.is-invalid input { border-color: var(--error); }
.field__error { color: var(--error); font-size: 13px; margin: 5px 0 0; min-height: 0; }
.field__error:empty { display: none; }
.iti { width: 100%; }
.form__status { font-size: 14px; margin: 12px 0 0; }
.form__status:empty { display: none; }
.form__status.is-error { color: var(--error); }
.form__legal { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; line-height: 1.5; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Trust strip */
.strip { background: var(--navy); color: var(--white); padding: 26px 0; }
.strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.strip__item { display: flex; flex-direction: column; }
.strip__num { font-size: 24px; font-weight: 700; }
.strip__label { font-size: 14px; color: #c3cfda; }

/* Sections */
.section { padding: 80px 0; scroll-margin-top: 70px; }
.section--light { background: var(--light); }
.section--dark { background: var(--navy); color: #dbe4ec; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section__title { text-align: center; }
.section__lead { text-align: center; max-width: 760px; margin: 0 auto 40px; color: var(--muted); font-size: 18px; }
.note { text-align: center; margin: 32px auto 0; max-width: 720px; font-weight: 500; }

/* Cards */
.cards { display: grid; gap: 22px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p { color: var(--muted); font-size: 16px; margin: 0; }
.card__icon { width: 52px; height: 52px; border-radius: 12px; background: rgba(0, 103, 218, .1); color: var(--blue); display: grid; place-items: center; margin-bottom: 16px; }
.done-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--blue); color: var(--white); display: grid; place-items: center; margin: 0 auto 20px; }
.card--visa { display: flex; flex-direction: column; }
.card--visa h3 small { font-size: 15px; color: var(--muted); font-weight: 500; }
.card--visa p { flex: 1; margin-bottom: 16px; }
.card__link { font-weight: 500; text-decoration: none; }
.badge { align-self: flex-start; background: rgba(0, 103, 218, .1); color: var(--blue); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 4px 10px; border-radius: 99px; margin-bottom: 14px; }
.badge--alt { background: #fff3df; color: #a8650a; }

.points { margin-top: 40px; background: var(--light); border-left: 4px solid var(--blue); border-radius: 8px; padding: 22px 26px; }
.points p { margin: 0; color: var(--muted); }

/* Occupation chips */
.chips { list-style: none; padding: 0; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 980px; }
.chips li { background: var(--white); border: 1px solid var(--line); border-radius: 99px; padding: 9px 18px; font-size: 15.5px; font-weight: 500; }
.chips__more { background: transparent !important; border-style: dashed !important; color: var(--muted); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 40px auto 0; max-width: 860px; counter-reset: none; }
.step { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.step:last-child { border-bottom: 0; }
.step__num { flex: 0 0 44px; height: 44px; border-radius: 50%; background: var(--blue); color: var(--white); font-weight: 700; font-size: 19px; display: grid; place-items: center; }
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; }
.paybox { max-width: 860px; margin: 28px auto 0; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .15); border-radius: var(--radius); padding: 20px 24px; }
.paybox strong { color: var(--white); }

/* Why + team */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 32px; }
.ticks--dark li { margin-bottom: 16px; }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.person { margin: 0; text-align: center; }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; border-radius: 50%; margin-bottom: 12px; border: 4px solid var(--light); }
.person strong { display: block; font-size: 16px; }
.person span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.4; }

/* Reviews */
.review { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.review p { flex: 1; font-size: 16px; }
.review footer { font-weight: 700; font-size: 15px; }
.stars { color: #e7a11b; letter-spacing: 2px; margin-bottom: 10px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 500; font-size: 18px; padding: 16px 36px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 26px; color: var(--blue); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-right: 36px; }

/* Final CTA */
.section--cta { background: linear-gradient(135deg, var(--blue), #004a9e); color: var(--white); scroll-margin-top: 80px; }
.section--cta h2 { color: var(--white); }
.cta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cta__grid > div:first-child p { font-size: 19px; color: #e3eeff; }
.section--cta .formcard { color: var(--ink); }

/* Footer */
.footer { background: var(--navy); color: #b5c3cf; padding: 44px 0 90px; font-size: 14px; }
.footer a { color: #dbe4ec; }
.footer__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer img { margin-bottom: 14px; }
.footer__disclaimer { font-size: 12.5px; color: #8b9ba8; }

/* ---------- Photo hero ---------- */
.hero--photo {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(12, 27, 37, .92) 0%, rgba(12, 27, 37, .78) 42%, rgba(12, 27, 37, .30) 100%),
    url("../img/photos/hero-sydney-1536.webp") center 40% / cover no-repeat;
  padding: 84px 0 96px;
}
.hero--photo h1 { color: var(--white); text-shadow: 0 2px 24px rgba(0, 0, 0, .25); font-size: clamp(38px, 5.4vw, 62px); line-height: 1.08; margin-bottom: .45em; }
.hero--photo .eyebrow { color: #8fc1ff; }
.hero--photo .hero__lead { color: #dbe6f0; }
.hero--photo .hero__lead strong { color: var(--white); }
.hero--photo .ticks li { color: #eef3f8; }
.hero--photo .formcard { border: 0; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); color: var(--ink); }

/* ---------- Occupation photo tiles ---------- */
.jobs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0 0 32px; }
.job { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: #dfe7ef; }
.job img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.job:hover img { transform: scale(1.05); }
.job figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(12, 27, 37, .82));
  color: var(--white); font-weight: 700; font-size: 17px;
}

/* ---------- Videos ---------- */
.videos { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; gap: 18px 22px; align-items: start; }
.video--main { grid-row: span 2; }
.video h3 { font-size: 17px; margin: 12px 0 0; }
.video--main h3 { font-size: 20px; }
.video__btn {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer;
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: #0c1b25;
}
.video__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s; }
.video__btn:hover img { transform: scale(1.03); opacity: .9; }
.video__play {
  position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px;
  border-radius: 50%; background: var(--blue); box-shadow: 0 8px 30px rgba(0, 0, 0, .35); transition: transform .2s;
}
.video__play::after {
  content: ""; position: absolute; left: 27px; top: 21px;
  border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent var(--white);
}
.video--main .video__play { width: 84px; height: 84px; margin: -42px 0 0 -42px; }
.video--main .video__play::after { left: 33px; top: 26px; border-width: 16px 0 16px 26px; }
.video__btn:hover .video__play { transform: scale(1.08); }
.video__len { position: absolute; right: 10px; bottom: 10px; background: rgba(0, 0, 0, .75); color: var(--white); font-size: 13px; font-weight: 500; padding: 2px 8px; border-radius: 4px; }
.video__frame { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); display: block; background: #000; }
.videos__note { text-align: center; color: var(--muted); font-size: 14px; margin: 26px auto 0; max-width: 720px; }

/* ---------- Life in Australia ---------- */
.life__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.life__photos { position: relative; padding-bottom: 70px; }
.life__img { border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }
.life__img--a { width: 88%; aspect-ratio: 3 / 2; }
.life__img--b { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 3 / 2; border: 6px solid var(--white); }
.life__copy h2 { margin-bottom: 14px; }
.life__copy p { color: var(--muted); }
.life__copy .btn { margin-top: 12px; }

/* ---------- Scroll reveal (only with JS, respects reduced motion) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .job img, .video__btn img { transition: none; }
}

@media (max-width: 1000px) {
  .jobs { grid-template-columns: repeat(2, 1fr); }
  .videos { grid-template-columns: 1fr 1fr; }
  .video--main { grid-column: span 2; grid-row: auto; }
  .life__grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .hero--photo {
    padding: 40px 0 52px;
    background:
      linear-gradient(180deg, rgba(12, 27, 37, .78) 0%, rgba(12, 27, 37, .90) 60%, rgba(12, 27, 37, .96) 100%),
      url("../img/photos/hero-sydney-960.webp") 70% center / cover no-repeat;
  }
  .jobs { gap: 10px; }
  .job figcaption { font-size: 15px; padding: 30px 12px 10px; }
  .videos { grid-template-columns: 1fr; }
  .video--main { grid-column: auto; }
  .life__photos { padding-bottom: 50px; }
}

/* Mobile sticky CTA */
.sticky-cta { display: none; }

@media (max-width: 1000px) {
  .hero__grid, .cta__grid, .why { grid-template-columns: 1fr; gap: 36px; }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .cards--3 { grid-template-columns: 1fr; }
  .strip__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar__marn { display: none; }
  .hero { padding: 36px 0 48px; }
  .hero__lead { font-size: 17px; }
  .hero__copy .ticks { display: none; }
  .section { padding: 56px 0; }
  .cards--4 { grid-template-columns: 1fr; }
  .formcard { padding: 22px; }
  .team { gap: 10px; }
  .sticky-cta {
    display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
    background: var(--blue); color: var(--white); text-align: center; font-weight: 700;
    padding: 15px; border-radius: 10px; text-decoration: none; box-shadow: var(--shadow);
    transition: opacity .2s, transform .2s;
  }
  .sticky-cta.is-hidden { opacity: 0; transform: translateY(120%); pointer-events: none; }
}
