/* ==========================================================================
   Bell Partners — implemented from Figma (Bell Partners | Mobile Page Redesign)
   ========================================================================== */

:root {
  --navy: #0c1928;
  --navy-alt: #292e36;
  --navy-darker: #09131f;
  --lime: #abd037;
  --light-bg: #eff4fa;
  --white: #ffffff;
  --text-dark: #3c3c3c;
  --text-body: #313131;
  --gray-500: #6b7280;
  --tag-bg: #e8f6ed;
  --tag-text: #16a34a;

  --font-heading: 'Montserrat', sans-serif;
  --font-alt: 'Inter', sans-serif;

  --container-max: 1290px;
  --container-pad: 24px;

  --radius-card: 12px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, li, figure, blockquote { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; background: none; border: none; cursor: pointer; padding: 0; }

body {
  font-family: var(--font-heading);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--lime);
  color: var(--navy);
  padding: 12px 20px;
  z-index: 999;
}
.skip-link:focus { left: 0; }

.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ---------- Type helpers ---------- */
.section-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.25;
  letter-spacing: -0.84px;
  color: var(--navy);
}
.section-title--accent { color: var(--lime); }
.section-title--dark { color: var(--navy); }
.section-title--upper { text-transform: uppercase; }
.section-title.center { text-align: center; }

.section-lead {
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.6;
  letter-spacing: -0.44px;
  color: var(--text-body);
  margin-top: 20px;
  max-width: 68ch;
}
.section-lead.light { color: var(--white); }
.section-lead.center { margin-inline: auto; text-align: center; }

.section-subhead {
  font-weight: 500;
  text-transform: uppercase;
  font-size: clamp(18px, 2.2vw, 28px);
  letter-spacing: -0.28px;
  color: var(--white);
  margin-top: 28px;
}
.section-subhead.center { text-align: center; }

.section-footer-note {
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.6;
  letter-spacing: -0.44px;
  color: var(--text-body);
  max-width: 62ch;
  margin: 56px auto 0;
}
.section-footer-note.light { color: var(--white); }
.section-footer-note.center { text-align: center; }

.text-link {
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.text-link--lime { color: var(--lime); font-weight: 700; }

/* ---------- Buttons ---------- */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.34px;
  white-space: nowrap;
  transition: opacity .15s ease, transform .15s ease;
}
.btn:hover { opacity: .88; }

.btn--outline {
  border: 1px solid var(--white);
  color: var(--white);
  background: transparent;
}
.btn--lime {
  background: var(--lime);
  color: var(--navy);
}
.btn--dark {
  background: var(--navy);
  color: var(--white);
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: -0.32px;
}
.btn--lime-sm {
  background: var(--lime);
  color: var(--text-body);
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: -0.28px;
  min-height: 42px;
  padding: 10px 24px;
  align-self: flex-start;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: relative; z-index: 100; }

.topbar {
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
}
.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  align-items: center;
  justify-content: space-between;
  padding-block: 12px;
}
.topbar__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.topbar__contact li,
.topbar__contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.3px;
}
.topbar__contact img { width: 15px; height: auto; filter: brightness(0) invert(1); }

.navbar { background: var(--white); }
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 18px;
}
.navbar__logo img { height: 36px; width: auto; }

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
}
.navbar__toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 32px;
}
.navbar__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.navbar__links a {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.3px;
  text-transform: uppercase;
  color: var(--text-dark);
}
.navbar__links a:hover { color: var(--lime); }

.navbar__cta {
  min-height: 44px;
  padding: 10px 24px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: -0.32px;
}
.navbar__search img { width: 20px; height: 20px; }

.navbar__accent { height: 9px; background: var(--lime); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: var(--navy-alt);
  overflow: hidden;
  padding-block: 120px 90px;
  min-height: 560px;
  display: flex;
  align-items: center;
}
.hero__media {
  position: absolute;
  inset: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(1,8,16,.95) 10%, rgba(1,8,16,.75) 38%, rgba(1,8,16,.25) 68%, rgba(1,8,16,0) 95%);
}
.hero__inner { position: relative; z-index: 1; max-width: 900px; }
.hero__title {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--white);
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.28;
  letter-spacing: -0.96px;
  max-width: 18ch;
}
.hero__lead {
  color: var(--white);
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.6;
  letter-spacing: -0.44px;
  margin-top: 24px;
  max-width: 46ch;
}

/* ==========================================================================
   Why Choose Bell Partners
   ========================================================================== */
.why-us {
  background: var(--navy);
  padding-block: 100px;
}
.why-us__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 56px;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 42px 36px;
  display: flex;
  align-items: center;
}
.why-card p {
  font-size: 18px;
  line-height: 1.95;
  letter-spacing: -0.36px;
  color: var(--navy);
}
.why-card strong { color: var(--lime); font-weight: 600; }

/* ==========================================================================
   Our Services
   ========================================================================== */
.services { background: var(--light-bg); padding-block: 100px; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 56px;
}
.service-card {
  background: var(--white);
  border-radius: 25px 25px 0 0;
  border-bottom: 8px solid var(--lime);
  box-shadow: 0 22px 55px rgba(0,0,0,.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.service-card__media { height: 240px; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; }
.service-card__body { padding: 32px 29px 8px; flex: 1; }
.service-card__body h3 {
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.56px;
  text-transform: uppercase;
  color: var(--navy);
}
.service-card__body p {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: -0.36px;
  color: var(--navy);
}
.service-card .btn--lime-sm { margin: 24px 29px 29px; }

/* ==========================================================================
   Australia's Leading Accounting and Consulting Firm
   ========================================================================== */
.leading-firm {
  position: relative;
  background: var(--navy);
  padding-block: 110px;
  overflow: hidden;
}
.leading-firm__media { position: absolute; inset: 0; opacity: .4; mix-blend-mode: overlay; }
.leading-firm__media img { width: 100%; height: 100%; object-fit: cover; }
.leading-firm__inner { position: relative; z-index: 1; max-width: 900px; }
.leading-firm__strong {
  color: var(--white);
  font-weight: 500;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.4;
  letter-spacing: -0.32px;
  margin-top: 28px;
}
.leading-firm__body {
  color: var(--white);
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.6;
  letter-spacing: -0.44px;
  margin-top: 24px;
  max-width: 68ch;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials {
  position: relative;
  background: var(--navy-darker);
  padding-block: 90px 70px;
  overflow: hidden;
}
.testimonials__media { position: absolute; inset: 0; opacity: .4; mix-blend-mode: overlay; }
.testimonials__media img { width: 100%; height: 100%; object-fit: cover; object-position: bottom; }
.testimonials .section-title { position: relative; z-index: 1; }

.testimonial-slider {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: var(--container-max);
  margin: 56px auto 0;
  padding-inline: var(--container-pad);
}
.testimonial-slider__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  flex: 1;
  scrollbar-width: none;
}
.testimonial-slider__track::-webkit-scrollbar { display: none; }
.testimonial-card {
  background: rgba(23,40,59,.45);
  border-radius: 15px;
  padding: 48px 40px;
  color: var(--white);
  text-align: center;
  flex: 0 0 100%;
  scroll-snap-align: start;
}
.testimonial-card p {
  font-weight: 300;
  font-size: 18px;
  line-height: 1.9;
  letter-spacing: -0.36px;
}
.testimonial-card footer { margin-top: 28px; }
.testimonial-card cite {
  display: block;
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.36px;
}
.testimonial-card footer span {
  display: block;
  font-size: 15px;
  letter-spacing: -0.3px;
  margin-top: 4px;
  opacity: .85;
}

.slider-arrow {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-arrow img { width: 100%; height: 100%; }
[data-testimonial-prev] img,
[data-leadership-prev] img { transform: scaleX(-1); }

/* ==========================================================================
   Anthony Bell OAM
   ========================================================================== */
.anthony-bell { background: var(--light-bg); padding-block: 90px; }
.anthony-card {
  position: relative;
  background: var(--navy);
  border-radius: 32px;
  padding: 40px;
  display: grid;
  grid-template-columns: 320px auto 1fr;
  gap: 48px;
  align-items: center;
  overflow: hidden;
}
.anthony-card__media { position: relative; grid-column: 1; }
.anthony-card__media img {
  border-radius: 20px;
  width: 100%;
  height: 320px;
  object-fit: cover;
}
.anthony-card__caption { text-align: center; margin-top: 20px; }
.anthony-card__name {
  color: var(--lime);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.6px;
  text-transform: uppercase;
}
.anthony-card__role {
  color: var(--white);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.36px;
  margin-top: 8px;
}
.anthony-card__medal { display: flex; justify-content: center; }
.anthony-card__medal img { max-height: 240px; width: auto; object-fit: contain; }
.anthony-card__content h3 {
  color: var(--white);
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.3;
  letter-spacing: -0.6px;
}
.anthony-card__content p {
  color: var(--white);
  font-size: 19px;
  line-height: 1.55;
  letter-spacing: -0.4px;
  margin-top: 20px;
}
.anthony-card__content .text-link { display: inline-block; margin-top: 16px; font-size: 19px; }

/* ==========================================================================
   We Are Bell Partners (leadership)
   ========================================================================== */
.leadership { background: var(--light-bg); padding-block: 100px; }
.leadership__slider {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 56px;
}
.leadership__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  flex: 1;
}
.leader-card {
  background: var(--white);
  border-radius: 25px 25px 0 0;
  border-bottom: 8px solid var(--lime);
  box-shadow: 0 22px 55px rgba(0,0,0,.08);
  overflow: hidden;
}
.leader-card__media { height: 280px; }
.leader-card__media img { width: 100%; height: 100%; object-fit: cover; }
.leader-card__body { padding: 28px 29px 34px; }
.leader-card__body h3 {
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.52px;
  color: var(--navy);
}
.leader-card__body p {
  margin-top: 12px;
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.36px;
  color: var(--navy);
}
.leadership .slider-arrow { background: var(--navy); }
.leadership .slider-arrow:nth-of-type(2) { background: var(--lime); }

/* ==========================================================================
   Insights & Resources
   ========================================================================== */
.insights { background: #f9fafb; padding-block: 100px; }
.insights__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.insights__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.insight-card {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 22px 55px rgba(0,0,0,.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.insight-card__media { height: 200px; }
.insight-card__media img { width: 100%; height: 100%; object-fit: cover; }
.insight-card__body { padding: 26px 28px 30px; font-family: var(--font-alt); }
.insight-card__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.insight-card__tags span {
  background: var(--tag-bg);
  color: var(--tag-text);
  font-size: 13px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 3px;
}
.insight-card__body h3 {
  margin-top: 16px;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.6px;
  color: #111827;
}
.insight-card__date {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-500);
}
.insight-card__excerpt {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.48px;
  color: #111827;
}
.insight-card .text-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

/* ==========================================================================
   High Performance Centre CTA
   ========================================================================== */
.cta {
  position: relative;
  background: var(--lime);
  padding-block: 74px;
  overflow: hidden;
}
.cta__media { position: absolute; inset: 0; opacity: .5; pointer-events: none; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; object-position: right; }
.cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta__text {
  color: var(--navy);
  font-weight: 500;
  font-size: clamp(20px, 2.4vw, 32px);
  line-height: 1.45;
  letter-spacing: -0.64px;
  max-width: 700px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  position: relative;
  background: var(--navy);
  color: var(--white);
  padding-block: 90px 0;
  overflow: hidden;
}
.footer__media { position: absolute; inset: 0; opacity: .18; pointer-events: none; }
.footer__media img { width: 100%; height: 100%; object-fit: cover; }
.footer__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: 64px;
}
.footer__logo { height: 29px; width: auto; margin-bottom: 24px; }
.footer__brand > p { font-size: 15px; line-height: 1.85; letter-spacing: -0.15px; max-width: 40ch; }
.footer__contact { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.footer__contact li, .footer__contact a {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  letter-spacing: -0.3px;
}
.footer__contact img { width: 16px; filter: brightness(0) invert(1); }
.footer__social { margin-top: 28px; display: flex; align-items: center; gap: 16px; }
.footer__social span { font-weight: 600; font-size: 15px; letter-spacing: -0.15px; text-transform: uppercase; }
.footer__social img { height: 21px; width: auto; }
.footer__disclaimer { margin-top: 28px; font-size: 15px; line-height: 1.85; max-width: 40ch; opacity: .85; }

.footer__linklist {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  margin-bottom: 40px;
}
.footer__linklist a {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: -0.28px;
}
.footer__linklist a:hover { color: var(--lime); }

.footer__offices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 64px;
}
.office-card h4 {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.15px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.office-card p {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  letter-spacing: -0.3px;
  margin-top: 10px;
}
.office-card img { width: 15px; margin-top: 3px; filter: brightness(0) invert(1); }

.footer__bottom {
  position: relative;
  z-index: 1;
  margin-top: 64px;
  background: var(--navy-darker);
  padding-block: 26px;
}
.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 15px;
  letter-spacing: -0.15px;
}
.footer__bottom-inner a:hover { color: var(--lime); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .why-us__grid,
  .services__grid,
  .leadership__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
  .anthony-card { grid-template-columns: 240px auto 1fr; padding: 32px; gap: 28px; }
}

@media (max-width: 900px) {
  .navbar__toggle { display: flex; }

  .navbar__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 20px;
    box-shadow: 0 12px 24px rgba(0,0,0,.08);
    display: none;
  }
  .navbar__menu.is-open { display: flex; }
  .navbar__links { flex-direction: column; align-items: flex-start; gap: 16px; }
  .navbar__cta { width: 100%; }
  .navbar__search { align-self: flex-start; }

  .topbar__inner { justify-content: center; text-align: center; }

  .insights__grid,
  .why-us__grid,
  .services__grid,
  .leadership__grid { grid-template-columns: 1fr; }

  .leadership__slider { flex-direction: column; }
  .leadership .slider-arrow { display: none; }

  .anthony-card {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .anthony-card__media { max-width: 320px; }

  .insights__head { align-items: flex-start; }
}

@media (max-width: 640px) {
  :root { --container-pad: 20px; }
  .hero { padding-block: 100px 64px; text-align: left; }
  .why-us, .services, .leading-firm, .testimonials, .anthony-bell, .leadership, .insights, .cta, .site-footer {
    padding-block: 64px;
  }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .testimonial-slider { flex-wrap: wrap; }
  .footer__offices { grid-template-columns: 1fr; }
  .footer__bottom-inner { flex-direction: column; text-align: center; justify-content: center; }
}
