:root {
  --orange: #f57c22;
  --orange-dark: #d95f0d;
  --sky: #67c7f0;
  --navy: #102a43;
  --navy-soft: #1f4b6e;
  --white: #ffffff;
  --grey: #f7f9fb;
  --grey-2: #e8eef3;
  --text: #273444;
  --muted: #68788a;
  --shadow: 0 22px 60px rgba(7, 29, 54, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  z-index: 999;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--orange);
  color: var(--navy);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(16, 42, 67, 0.08);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 38px rgba(7, 29, 54, 0.22);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--orange), var(--sky));
  color: var(--navy);
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-size: 1.16rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-menu a {
  color: var(--navy);
  font-weight: 400;
  font-size: 0.94rem;
  transition: color 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--sky);
}

.nav-menu .nav-cta {
  color: var(--navy);
  background: var(--orange);
  padding: 11px 16px;
  border-radius: var(--radius);
}

.nav-menu .nav-cta:hover {
  color: var(--navy);
  background: var(--sky);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(16, 42, 67, 0.18);
  border-radius: var(--radius);
  background: transparent;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  padding: 126px 0 64px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(16, 42, 67, 0.94), rgba(16, 42, 67, 0.74) 50%, rgba(245, 124, 34, 0.42)),
    url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 24%;
  background: linear-gradient(180deg, transparent, rgba(16, 42, 67, 0.82));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.45fr);
  gap: 40px;
  align-items: center;
  justify-items: stretch;
  text-align: left;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.78rem;
}

.hero h1,
.section-heading h2,
.split-section h2 {
  margin: 0;
  color: inherit;
  line-height: 1.06;
  font-weight: 300;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(2.55rem, 8vw, 5.8rem);
  letter-spacing: 0.01em;
}

.hero-text {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.83);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
  justify-content: flex-start;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--orange);
  color: var(--navy);
  box-shadow: 0 16px 34px rgba(245, 124, 34, 0.25);
}

.btn-primary:hover {
  background: var(--sky);
  box-shadow: 0 16px 34px rgba(103, 199, 240, 0.28);
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.hero-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
}

.metric {
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.metric strong {
  display: block;
  color: var(--sky);
  font-size: 2.1rem;
  line-height: 1;
  font-weight: 900;
}

.metric span:last-child {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 8px;
  font-weight: 700;
}

.section {
  padding: 94px 0;
}

.section:nth-of-type(even) {
  background: var(--grey);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading.compact {
  margin-top: 72px;
  margin-bottom: 28px;
}

.section-heading h2,
.split-section h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.section-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.about-grid,
.mission-grid,
.contact-grid {
  display: grid;
  gap: 24px;
}

.about-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-card,
.mission-box,
.mini-card,
.feature-card,
.team-card,
.service-card,
.insight-card,
.contact-card,
.contact-form {
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--grey-2);
  box-shadow: 0 14px 36px rgba(7, 29, 54, 0.06);
}

.content-card,
.mission-box,
.mini-card,
.feature-card,
.team-card,
.service-card,
.contact-card,
.contact-form {
  padding: 26px;
}

.content-card {
  padding: 32px;
}

h3 {
  color: var(--navy);
  line-height: 1.22;
  font-weight: 400;
}

.content-card h3,
.mission-box h3,
.mini-card h3,
.feature-card h3,
.team-card h3,
.service-card h3,
.insight-card h3,
.contact-card h3,
.footer h3 {
  margin: 0 0 10px;
}

.content-card p,
.mission-box p,
.mini-card p,
.feature-card p,
.team-card p,
.service-card p,
.insight-card p,
.contact-card p {
  margin: 0 0 12px;
  color: var(--muted);
}

.highlight-card {
  background: linear-gradient(135deg, #fff7f0, #eef9fe);
  color: var(--text);
  border-color: rgba(245, 124, 34, 0.22);
}

.highlight-card h3,
.highlight-card p {
  color: var(--navy);
}

.highlight-card p {
  color: var(--muted);
}

.mission-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.icon,
.line-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  margin-bottom: 18px;
  background: rgba(103, 199, 240, 0.18);
  color: var(--navy);
  font-weight: 900;
}

.check-list,
.service-card ul,
#modal-list {
  margin: 0;
  padding-left: 19px;
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 34px;
  margin-top: 82px;
  align-items: start;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mini-card,
.feature-card,
.team-card,
.service-card,
.insight-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.mini-card:hover,
.feature-card:hover,
.team-card:hover,
.service-card:hover,
.insight-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(103, 199, 240, 0.55);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  border-left: 4px solid var(--orange);
}

.team-grid,
.services-grid,
.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.services-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.avatar {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(245, 124, 34, 0.95), rgba(103, 199, 240, 0.95));
  color: var(--navy);
  font-weight: 900;
  font-size: 1.35rem;
}

.role {
  color: var(--orange-dark) !important;
  font-weight: 800;
}

.services {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%) !important;
  color: var(--text);
}

.services .section-heading h2 {
  color: var(--navy);
}

.services .section-heading p:not(.eyebrow) {
  color: var(--muted);
}

.service-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
  padding: 0;
  background: var(--white);
  border-color: var(--grey-2);
}

.service-card h3,
.service-card p {
  color: var(--navy);
}

.service-card p {
  color: var(--muted);
}

.service-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-image {
  min-height: 260px;
  background-size: cover;
  background-position: center;
}

.service-image.audit {
  background-image: linear-gradient(rgba(16, 42, 67, 0.1), rgba(16, 42, 67, 0.1)), url("https://images.unsplash.com/photo-1554224154-26032ffc0d07?auto=format&fit=crop&w=900&q=80");
}

.service-image.tax {
  background-image: linear-gradient(rgba(16, 42, 67, 0.1), rgba(16, 42, 67, 0.1)), url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=900&q=80");
}

.service-image.accounting {
  background-image: linear-gradient(rgba(16, 42, 67, 0.1), rgba(16, 42, 67, 0.1)), url("https://images.unsplash.com/photo-1554224155-8d04cb21cd6c?auto=format&fit=crop&w=900&q=80");
}

.service-image.advisory {
  background-image: linear-gradient(rgba(16, 42, 67, 0.1), rgba(16, 42, 67, 0.1)), url("https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=900&q=80");
}

.text-btn,
.read-more {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: 16px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--sky);
  font-weight: 900;
}

.text-btn:hover,
.read-more:hover {
  color: var(--orange);
}

.industry-tabs {
  display: grid;
  gap: 26px;
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.tab-button {
  border: 1px solid var(--grey-2);
  border-radius: 30px;
  padding: 18px 30px;
  background: var(--white);
  color: var(--navy);
  font-weight: 400;
  box-shadow: 0 10px 24px rgba(7, 29, 54, 0.05);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tab-button:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 124, 34, 0.4);
}

.tab-button.active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.tab-panels {
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--grey-2);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.tab-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 0;
  align-items: stretch;
}

.tab-panel[hidden] {
  display: none;
}

.tab-panel > div:last-child {
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tab-panel h3 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 300;
}

.tab-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.industry-logo {
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 34px;
  background:
    radial-gradient(circle at 24% 22%, rgba(103, 199, 240, 0.24), transparent 28%),
    linear-gradient(135deg, #f7fbfd, #eef5f8);
}

.industry-logo span {
  width: min(78%, 340px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  border: 14px solid rgba(245, 124, 34, 0.16);
  box-shadow: 0 22px 60px rgba(16, 42, 67, 0.12);
  color: var(--navy);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  letter-spacing: 0.04em;
}

.industry-logo.ngos span {
  border-color: rgba(103, 199, 240, 0.28);
}

.industry-logo.corporates span {
  border-color: rgba(16, 42, 67, 0.16);
}

.industry-logo.real-estate span {
  border-color: rgba(245, 124, 34, 0.22);
}

.industry-logo.financial span {
  border-color: rgba(103, 199, 240, 0.34);
}

.insight-card {
  overflow: hidden;
}

.insight-image {
  min-height: 190px;
  background-size: cover;
  background-position: center;
}

.insight-image.tax {
  background-image: linear-gradient(rgba(7, 29, 54, 0.15), rgba(7, 29, 54, 0.15)), url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=900&q=80");
}

.insight-image.audit {
  background-image: linear-gradient(rgba(7, 29, 54, 0.15), rgba(7, 29, 54, 0.15)), url("https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=900&q=80");
}

.insight-image.sme {
  background-image: linear-gradient(rgba(7, 29, 54, 0.15), rgba(7, 29, 54, 0.15)), url("https://images.unsplash.com/photo-1556745757-8d76bdb6984b?auto=format&fit=crop&w=900&q=80");
}

.insight-body {
  padding: 24px;
}

.tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(245, 124, 34, 0.12);
  color: var(--orange-dark);
  font-weight: 900;
  font-size: 0.78rem;
  margin-bottom: 14px;
}

.contact-grid {
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 18px;
}

.contact-card a {
  color: var(--navy);
  font-weight: 800;
}

.contact-card a:hover {
  color: var(--orange-dark);
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
  text-transform: uppercase;
}

.socials a:hover {
  background: var(--orange);
  color: var(--navy);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  gap: 7px;
}

label {
  color: var(--navy);
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--grey-2);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(103, 199, 240, 0.18);
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--navy);
  font-weight: 800;
}

.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  padding: 62px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  gap: 34px;
}

.footer-brand {
  margin-bottom: 18px;
}

.footer h3 {
  color: var(--white);
}

.footer a {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.78);
}

.footer a:hover {
  color: var(--sky);
}

.footer-socials a {
  margin: 0;
  background: rgba(255, 255, 255, 0.08);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(7, 29, 54, 0.72);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.modal.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  width: min(100%, 620px);
  max-height: 88vh;
  overflow: auto;
  border-radius: var(--radius);
  background: var(--white);
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow);
  transform: translateY(16px);
  transition: transform 0.2s ease;
}

.modal.open .modal-card {
  transform: translateY(0);
}

.modal-card h2 {
  margin: 0 44px 12px 0;
  color: var(--navy);
}

.modal-card p {
  color: var(--muted);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: var(--radius);
  background: var(--grey);
  color: var(--navy);
  font-size: 1.8rem;
  line-height: 1;
}

.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: var(--radius);
  background: var(--orange);
  color: var(--navy);
  font-weight: 900;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 90;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid,
  .team-grid,
  .insight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    inset: 76px 0 auto 0;
    display: grid;
    gap: 0;
    padding: 12px 16px 20px;
    background: var(--white);
    border-top: 1px solid rgba(16, 42, 67, 0.08);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.24s ease, opacity 0.24s ease;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu a {
    padding: 14px 4px;
    border-bottom: 1px solid rgba(16, 42, 67, 0.08);
  }

  .nav-menu .nav-cta {
    margin-top: 12px;
    justify-content: center;
    text-align: center;
    border-bottom: 0;
  }

  .hero {
    min-height: auto;
    padding-top: 118px;
  }

  .hero-grid,
  .about-grid,
  .mission-grid,
  .split-section,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tab-panel {
    grid-template-columns: 1fr;
  }

  .industry-logo {
    min-height: 330px;
  }

  .metric {
    padding: 16px;
  }

  .metric strong {
    font-size: 1.6rem;
  }

  .section {
    padding: 72px 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, var(--max));
  }

  .hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.6rem);
  }

  .hero-actions,
  .footer-bottom {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-panel,
  .services-grid,
  .feature-grid,
  .team-grid,
  .insight-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    grid-template-columns: 1fr;
  }

  .service-image {
    min-height: 220px;
  }

  .tab-button {
    width: 100%;
    padding: 16px 24px;
  }

  .content-card,
  .mission-box,
  .mini-card,
  .feature-card,
  .team-card,
  .contact-card,
  .contact-form,
  .modal-card {
    padding: 22px;
  }

  .section-heading.compact {
    margin-top: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
