/* ============================================================
   MTD – Melbourne Tax Depreciation
   Main Stylesheet
   ============================================================ */

/* ---------- Google Fonts ---------- */
/* Fonts loaded via <link rel="preload"> in HTML head for performance */

/* ---------- CSS Variables ---------- */
:root {
  --navy:        #0d2b4e;
  --navy-mid:    #163e6f;
  --blue:        #1a5fa8;
  --blue-light:  #2478cc;
  --sky:         #e8f2fb;
  --sky-mid:     #c7dff5;
  --gold:        #c89a2e;
  --gold-light:  #f0c440;
  --white:       #ffffff;
  --off-white:   #f7fafd;
  --text:        #1c2b3a;
  --text-mid:    #3d5166;
  --text-light:  #6b8499;
  --border:      #d3e4f5;
  --shadow-sm:   0 2px 8px rgba(13,43,78,0.08);
  --shadow-md:   0 6px 24px rgba(13,43,78,0.12);
  --shadow-lg:   0 16px 48px rgba(13,43,78,0.16);
  --radius:      8px;
  --radius-lg:   16px;
  --transition:  0.25s ease;
  --max-w:       1160px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:   'Source Sans 3', system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--navy); }
ul { list-style: none; }

/* ---------- Utility ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--alt { background: var(--off-white); }
.section--dark { background: var(--navy); color: var(--white); }
.visually-hidden { position: absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--navy);
  line-height: 1.22;
  margin-bottom: 16px;
}
.section-title--white { color: var(--white); }
.section-lead {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 600px;
  margin-bottom: 48px;
  font-weight: 300;
}
.section-lead--white { color: rgba(255,255,255,0.78); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  padding: 13px 28px;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  color: var(--white);
}
.btn-ghost {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-ghost:hover {
  background: var(--blue);
  color: var(--white);
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  font-weight: 700;
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200,154,46,0.35);
}

/* ---------- Top Bar ---------- */
.topbar { display: none; }

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--white);
  box-shadow: 0 1px 0 var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 8px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-svg { width: 72px; height: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text__main {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
  font-weight: 700;
}
.logo-text__sub {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-light);
  text-transform: uppercase;
}

/* Nav */
.site-nav { display: flex; align-items: center; gap: 0; }
.nav__item { position: relative; }
.nav__link {
  display: block;
  padding: 8px 10px;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav__link:hover, .nav__link[aria-current="page"] {
  color: var(--blue);
  background: var(--sky);
}
.nav__link--has-dropdown::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 5px;
  vertical-align: middle;
  transition: transform var(--transition);
}
.nav__item:hover .nav__link--has-dropdown::after { transform: rotate(180deg); }

.nav__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  min-width: 200px;
  padding: 8px;
  z-index: 200;
}
/* Invisible bridge fills the gap between nav item and dropdown
   so the mouse does not lose hover while travelling between them */
.nav__item::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 10px;
  display: none;
}
.nav__item:hover::after { display: block; }
.nav__item:hover .nav__dropdown,
.nav__item:focus-within .nav__dropdown { display: block; }
.nav__dropdown a {
  display: block;
  padding: 9px 14px;
  font-size: 0.86rem;
  color: var(--text-mid);
  border-radius: 5px;
  transition: all var(--transition);
}
.nav__dropdown a:hover { background: var(--sky); color: var(--blue); }

/* Contact bar — sits below header, above page content */
.contact-bar {
  background: var(--sky);
  border-bottom: 1px solid var(--sky-mid);
  padding: 7px 0;
}
.contact-bar__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}
.contact-bar__phone {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}
.contact-bar__phone svg { color: var(--blue); flex-shrink: 0; }
.contact-bar__phone:hover { color: var(--blue); }
.header__cta { margin-left: 4px; padding: 10px 16px; font-size: 0.85rem; white-space: nowrap; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--navy);
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  transition: all var(--transition);
  border-radius: 2px;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 16px 0 24px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 11px 24px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-mid);
  border-bottom: 1px solid var(--sky);
}
.mobile-nav a:hover { background: var(--sky); color: var(--blue); }
.mobile-nav__child { padding-left: 40px !important; font-size: 0.88rem !important; color: var(--text-light) !important; }
.mobile-nav__cta { padding: 16px 24px 0; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, #1a4e8a 100%);
  color: var(--white);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(26,95,168,0.35) 0%, transparent 70%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
.hero__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(240,196,64,0.4);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--white);
}
.hero__title em {
  font-style: normal;
  color: var(--gold-light);
}
.hero__lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 36px;
  font-weight: 300;
  line-height: 1.7;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats {
  display: flex;
  gap: 32px;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.stat__num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 4px;
}
.stat__label { font-size: 0.8rem; color: rgba(255,255,255,0.65); font-weight: 400; }

/* Hero right panel */
.hero__panel {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(8px);
}
.hero__panel-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--white);
}
.hero__checklist { display: flex; flex-direction: column; gap: 12px; }
.hero__check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.88);
}
.hero__check-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.hero__check-icon svg { width: 10px; height: 10px; }

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}
.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.03em;
}
.trust-item svg { color: var(--gold); flex-shrink: 0; }

/* ---------- Services / Feature Cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
  position: relative;
}
.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--sky-mid);
  transform: translateY(-3px);
}
.card__icon {
  width: 48px; height: 48px;
  background: var(--sky);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue);
}
.card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 10px;
  font-weight: 600;
}
.card__text { font-size: 0.9rem; color: var(--text-mid); line-height: 1.65; }
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 16px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--blue);
}
.card__link:hover { color: var(--navy); }
.card__link svg { transition: transform var(--transition); }
.card__link:hover svg { transform: translateX(3px); }

/* ---------- Process Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; position: relative; }
.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sky-mid), var(--blue-light), var(--sky-mid), transparent);
}
.step {
  text-align: center;
  padding: 0 20px 32px;
  position: relative;
}
.step__num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--sky);
}
.step__title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.step__text { font-size: 0.86rem; color: var(--text-mid); }

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
}
.testimonial::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--sky-mid);
  line-height: 1;
  position: absolute;
  top: 12px;
  left: 24px;
}
.testimonial__stars { color: var(--gold); font-size: 1rem; margin-bottom: 16px; padding-top: 20px; }
.testimonial__text { font-size: 0.92rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial__author { font-weight: 600; font-size: 0.86rem; color: var(--navy); }

/* ---------- Articles Slider ---------- */
.articles-slider {
  position: relative;
  overflow: hidden;
  margin: 0 28px;
}
.articles-slider__track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  align-items: stretch;
}
.articles-slider__slide {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 0;
}
.articles-slider__btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: all var(--transition);
  z-index: 10;
}
.articles-slider__btn:hover { background: var(--navy); border-color: var(--navy); color: white; }
.articles-slider__btn--prev { left: -28px; }
.articles-slider__btn--next { right: -28px; }
.articles-slider__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.articles-slider__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sky-mid);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.articles-slider__dot.is-active { background: var(--blue); transform: scale(1.3); }
@media (max-width: 960px) {
  .articles-slider__slide { flex: 0 0 calc(50% - 12px); }
}
@media (max-width: 600px) {
  .articles-slider { margin: 0 36px; }
  .articles-slider__slide { flex: 0 0 100%; }
}

/* ---------- Articles ---------- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.article-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.article-card__img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--sky);
}
.article-card__img-placeholder {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, var(--sky) 0%, var(--sky-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}
.article-card__body { padding: 24px; }
.article-card__date { font-size: 0.76rem; color: var(--text-light); font-weight: 500; margin-bottom: 8px; }
.article-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}
.article-card__title a { color: inherit; }
.article-card__title a:hover { color: var(--blue); }
.article-card__excerpt { font-size: 0.86rem; color: var(--text-mid); line-height: 1.65; margin-bottom: 16px; }
.article-card__more { font-size: 0.84rem; font-weight: 600; color: var(--blue); display: inline-flex; align-items: center; gap: 4px; }
.article-card__more:hover { color: var(--navy); }

/* ---------- Accreditation Logos ---------- */
.accred-bar {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  background: var(--off-white);
}
.accred-bar__label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 24px;
}
.accred-bar__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.accred-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.accred-logo__img {
  height: 60px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.accred-logo__img--wide {
  max-width: 160px;
}
.accred-logo__img--knockout {
  mix-blend-mode: multiply;
}
.accred-logo__img:hover { opacity: 1; }
.accred-logo svg {
  width: 52px; height: 52px;
  color: var(--navy-mid);
  opacity: 0.75;
}
.accred-logo span { font-size: 0.68rem; color: var(--text-light); font-weight: 500; max-width: 90px; line-height: 1.3; }

/* ---------- CTA Band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--white);
  margin-bottom: 14px;
}
.cta-band p { color: rgba(255,255,255,0.8); max-width: 520px; margin: 0 auto 32px; font-size: 1rem; }
.cta-band__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 24px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 28px;
}
.footer__logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer__logo img { width: 56px; height: auto; }
.footer__tagline { font-size: 0.88rem; max-width: 260px; line-height: 1.65; }
.footer__h { font-family: var(--font-display); font-size: 1rem; color: var(--white); margin-bottom: 16px; }
.footer__links { display: flex; flex-direction: column; gap: 8px; }
.footer__links a { font-size: 0.86rem; color: rgba(255,255,255,0.65); transition: color var(--transition); }
.footer__links a:hover { color: var(--white); }
.footer__contact { display: flex; flex-direction: column; gap: 10px; }
.footer__contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 0.86rem; }
.footer__contact-item svg { flex-shrink: 0; color: var(--gold); margin-top: 2px; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.78rem;
}
.footer__bottom a { color: rgba(255,255,255,0.5); }
.footer__bottom a:hover { color: var(--white); }
.footer__abn { color: rgba(255,255,255,0.4); }

/* ---------- Inner Page Hero ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 52px 0;
  color: var(--white);
}
.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 12px;
}
.page-hero__breadcrumb a { color: rgba(255,255,255,0.55); }
.page-hero__breadcrumb a:hover { color: var(--white); }
.page-hero__breadcrumb span { color: rgba(255,255,255,0.3); }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--white);
  line-height: 1.2;
}
.page-hero p { color: rgba(255,255,255,0.75); max-width: 580px; margin-top: 12px; font-size: 1.02rem; }

/* ---------- Content Prose ---------- */
.prose {
  max-width: 780px;
}
.prose h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--navy);
  margin: 40px 0 14px;
  padding-top: 16px;
  border-top: 2px solid var(--sky-mid);
}
.prose h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.prose h3 { font-family: var(--font-display); font-size: 1.15rem; color: var(--navy-mid); margin: 28px 0 10px; }
.prose p { color: var(--text-mid); margin-bottom: 16px; font-size: 0.96rem; line-height: 1.75; }
.prose ul { margin: 12px 0 20px 0; }
.prose ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.65;
}
.prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px; height: 7px;
  background: var(--blue);
  border-radius: 50%;
}
.prose a { color: var(--blue); text-decoration: underline; text-decoration-color: rgba(26,95,168,0.3); }
.prose a:hover { text-decoration-color: var(--blue); }

/* Callout box */
.callout {
  background: var(--sky);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 28px 0;
}
.callout p { margin: 0; font-size: 0.93rem; }
.callout strong { color: var(--navy); }

/* 10 Questions list */
.questions-list {
  counter-reset: q;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}
.questions-list li {
  counter-increment: q;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px 14px 56px;
  position: relative;
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.5;
}
.questions-list li::before {
  content: counter(q);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
}

/* ---------- FAQ Accordion ---------- */
.faq-group { margin-bottom: 40px; }
.faq-group__heading {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--sky-mid);
  display: flex;
  align-items: center;
  gap: 10px;
}
.faq-group__heading svg { flex-shrink: 0; color: var(--blue); }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  background: var(--white);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq-item:hover { box-shadow: 0 2px 12px rgba(13,43,78,0.08); }
.faq-item.is-open { box-shadow: 0 2px 16px rgba(13,43,78,0.10); border-color: var(--blue-light); }

.faq-item__q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 52px 18px 20px;
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  position: relative;
  line-height: 1.4;
  transition: color 0.15s;
}
.faq-item__q:hover { color: var(--blue); }
.faq-item.is-open .faq-item__q { color: var(--blue); }

.faq-item__icon {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--sky);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.25s;
}
.faq-item__icon svg { transition: transform 0.25s; }
.faq-item.is-open .faq-item__icon { background: var(--blue); }
.faq-item.is-open .faq-item__icon svg { transform: rotate(45deg); stroke: white; }

.faq-item__a {
  display: none;
  padding: 0 20px 18px 20px;
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.65;
  border-top: 1px solid var(--border);
  margin-top: 0;
}
.faq-item__a p { margin: 12px 0 0; }
.faq-item__a p:first-child { margin-top: 12px; }
.faq-item__a ul { margin: 10px 0 0 0; padding-left: 20px; }
.faq-item__a li { margin-bottom: 4px; }
.faq-item__a a { color: var(--blue); }
.faq-item.is-open .faq-item__a { display: block; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group--full { grid-column: 1 / -1; }
.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.03em;
}
.form-label .req { color: var(--blue); }
.form-control {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text);
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 14px;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,95,168,0.12);
  background: var(--white);
}
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b8499' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
textarea.form-control { resize: vertical; min-height: 100px; }
.checkbox-group { display: flex; flex-direction: column; gap: 8px; }
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-mid);
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--blue);
  cursor: pointer;
}
.form-note { font-size: 0.78rem; color: var(--text-light); margin-top: 4px; }
#form-success {
  display: none;
  background: #e8f7ef;
  border: 1px solid #4caf7d;
  border-radius: var(--radius);
  padding: 16px 20px;
  color: #1a5c37;
  font-size: 0.92rem;
  margin-top: 16px;
}

/* ---------- Order Form ---------- */
.order-section {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 28px;
  overflow: hidden;
}
.order-section__header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  background: var(--navy);
  color: white;
}
.order-section__num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem; font-weight: 700;
  flex-shrink: 0;
}
.order-section__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}
.order-section__body {
  padding: 28px 24px;
  background: var(--white);
}
.radio-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.radio-card {
  position: relative;
}
.radio-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.radio-card__label {
  display: block;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  background: var(--off-white);
}
.radio-card__label strong {
  display: block;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 3px;
}
.radio-card__label span {
  font-size: 0.78rem;
  color: var(--text-light);
}
.radio-card input[type="radio"]:checked + .radio-card__label {
  border-color: var(--blue);
  background: var(--sky);
}
.prop-type-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.prop-type-chip {
  position: relative;
}
.prop-type-chip input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.prop-type-chip__label {
  display: block;
  padding: 8px 16px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  font-size: 0.84rem;
  color: var(--text-mid);
  cursor: pointer;
  background: var(--off-white);
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  font-weight: 500;
}
.prop-type-chip input[type="radio"]:checked + .prop-type-chip__label {
  border-color: var(--blue);
  background: var(--blue);
  color: white;
}
.conditional-panel {
  display: none;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.conditional-panel.is-visible { display: block; }
.yes-no-group {
  display: flex;
  gap: 16px;
}
.yes-no-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-mid);
  cursor: pointer;
}
.yes-no-group input[type="radio"] { accent-color: var(--blue); width:16px; height:16px; }
.dynamic-rows { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.dynamic-row {
  display: grid;
  grid-template-columns: 1fr 160px 140px 36px;
  gap: 8px;
  align-items: center;
}
.dynamic-row .form-control { font-size: 0.84rem; }
.remove-row-btn {
  width: 32px; height: 32px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text-light);
  cursor: pointer;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.15s, color 0.15s;
  flex-shrink: 0;
}
.remove-row-btn:hover { border-color: #c0392b; color: #c0392b; }
.add-row-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
}
.add-row-btn:hover { color: var(--navy); }
.order-success {
  display: none;
  background: #e8f7ef;
  border: 1.5px solid #4caf7d;
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  color: #1a5c37;
}
.order-success__icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.order-success h3 { color: #1a5c37; margin: 0 0 8px; }
.order-success p { margin: 6px 0 0; font-size: 0.92rem; }
@media (max-width: 600px) {
  .radio-cards { grid-template-columns: 1fr; }
  .dynamic-row { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .dynamic-row .remove-row-btn { grid-column: 2; justify-self: end; }
  .order-section__body { padding: 20px 16px; }
}

/* ---------- Two-col layout ---------- */
.two-col {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 56px;
  align-items: start;
}
.two-col--reverse { grid-template-columns: 1fr 2fr; }

/* Side info card */
.info-card {
  background: var(--sky);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--sky-mid);
}
.info-card__h {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 16px;
}
.info-card__item {
  display: flex;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-mid);
  padding: 10px 0;
  border-bottom: 1px solid var(--sky-mid);
}
.info-card__item:last-child { border-bottom: none; }
.info-card__item svg { color: var(--blue); flex-shrink: 0; margin-top: 2px; }

/* ---------- Article / Blog Page ---------- */
.article-header { max-width: 760px; }
.article-header .tag { margin-bottom: 8px; }
.article-header h1 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--navy); line-height: 1.2; margin-bottom: 12px; }
.article-header .meta { font-size: 0.82rem; color: var(--text-light); display: flex; gap: 16px; align-items: center; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__panel { max-width: 480px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .two-col--reverse { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 52px 0; }
  .site-nav, .header__cta { display: none; }
  .nav-toggle { display: block; }

  .hero { padding: 52px 0 48px; }
  .hero__stats { gap: 20px; flex-wrap: wrap; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group--full { grid-column: 1; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { display: none; }
  .steps { grid-template-columns: 1fr; }
  .step { padding: 0 0 28px; text-align: left; display: flex; gap: 20px; align-items: flex-start; }
  .step__num { margin: 0; flex-shrink: 0; }
  .accred-bar__logos { gap: 24px; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .cta-band__actions { flex-direction: column; align-items: center; }
  .trust-bar__inner { gap: 20px; }
  .form-card { padding: 24px 20px; }
}
