:root {
  --navy: #123a5a;
  --blue: #1f5f8b;
  --sky: #eaf4fa;
  --ink: #334155;
  --muted: #64748b;
  --line: #dbe7ef;
  --soft: #f8fafc;
  --white: #ffffff;
  --gold: #c9a24a;
  --shadow: 0 18px 42px rgba(15, 23, 42, 0.11);
  --radius: 8px;
  font-family: Inter, "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  background: var(--navy);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 6px;
}

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

.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
}

.topbar-inner,
.topbar-group,
.topbar a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-inner {
  min-height: 42px;
  justify-content: space-between;
}

.topbar-right {
  gap: 18px;
}

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.topbar .icon {
  width: 16px;
  height: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 231, 239, 0.9);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: 0 10px 24px rgba(18, 58, 90, 0.22);
}

.brand-copy {
  display: grid;
  line-height: 1.15;
}

.brand-copy strong {
  color: var(--navy);
  font-size: 1rem;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.83rem;
}

.brand-image {
  max-height: 54px;
  width: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.primary-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 6px;
  color: #26384d;
  font-weight: 650;
  font-size: 0.94rem;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--blue);
  background: var(--sky);
}

.primary-nav .nav-cta {
  margin-left: 8px;
  color: var(--white);
  background: var(--blue);
}

.primary-nav .nav-cta:hover {
  color: var(--white);
  background: var(--navy);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--navy);
  background: var(--white);
}

.hero {
  position: relative;
  min-height: clamp(560px, 72vh, 760px);
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(18, 58, 90, 0.94) 0%, rgba(18, 58, 90, 0.78) 42%, rgba(31, 95, 139, 0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding: 72px 0 96px;
}

.hero h1,
.internal-hero h1 {
  max-width: 780px;
  margin: 12px 0 18px;
  color: inherit;
  font-size: clamp(2.35rem, 5vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: 0.79rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero .eyebrow,
.cta-section .eyebrow {
  color: #bfe4f8;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  color: var(--white);
  background: var(--blue);
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: 0 14px 26px rgba(18, 58, 90, 0.18);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.55);
}

.button-secondary:hover,
.button-light:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.button-outline {
  color: var(--blue);
  background: var(--white);
}

.button-light {
  color: var(--navy);
  background: var(--white);
  border-color: var(--white);
}

.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.trust-item {
  min-height: 118px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 22px 24px;
  border-left: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 1px solid var(--line);
}

.trust-item strong {
  color: var(--navy);
  font-size: 1.05rem;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  padding: 92px 0;
}

.soft-section {
  background: var(--soft);
}

.section-header {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-header h2,
.split-copy h2,
.value-copy h2,
.cta-section h2,
.contact-panel h2 {
  margin: 10px 0 12px;
  color: var(--navy);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-header p,
.split-copy p,
.value-copy p,
.cta-section p,
.lead {
  color: var(--muted);
  font-size: 1.05rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card,
.detail-card,
.statement-card,
.contact-card,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.service-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 26px;
}

.service-icon,
.contact-card > div {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--blue);
  background: var(--sky);
}

.service-card h3,
.detail-card h3,
.statement-card h3,
.contact-card h3 {
  margin: 20px 0 10px;
  color: var(--navy);
  font-size: 1.18rem;
  line-height: 1.25;
}

.service-card p,
.detail-card p,
.statement-card p,
.contact-card p {
  margin: 0;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
  color: var(--blue);
  font-weight: 800;
}

.text-link .icon {
  width: 18px;
  height: 18px;
}

.split-section {
  background: linear-gradient(180deg, var(--soft), var(--white));
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.media-panel {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split-copy {
  max-width: 560px;
}

.value-band {
  background: var(--navy);
  color: var(--white);
}

.value-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.value-copy h2,
.cta-section h2 {
  color: var(--white);
}

.value-copy p,
.cta-section p {
  color: rgba(255, 255, 255, 0.78);
}

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

.value-item,
.value-pill {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 8px;
  font-weight: 800;
}

.value-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.value-item .icon,
.value-pill .icon {
  color: var(--gold);
}

.cta-section {
  padding: 68px 0;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: var(--white);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-inner p {
  max-width: 680px;
  margin-bottom: 0;
}

.internal-hero {
  padding: 86px 0;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(18, 58, 90, 0.98), rgba(31, 95, 139, 0.88)),
    url("/assets/images/hero-accounting-office.png") center / cover;
}

.internal-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: center;
}

.internal-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
}

.internal-visual {
  min-height: 220px;
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.internal-visual span {
  display: block;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.22);
}

.internal-visual span:nth-child(2) {
  width: 72%;
}

.internal-visual span:nth-child(3) {
  width: 88%;
}

.narrow {
  max-width: 900px;
}

.lead {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  line-height: 1.65;
}

.statement-card {
  padding: 34px;
  border-top: 4px solid var(--gold);
}

.value-pill-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.value-pill {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--navy);
}

.detail-grid {
  counter-reset: detail;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.detail-card {
  min-height: 230px;
  padding: 28px;
  counter-increment: detail;
}

.detail-number::before {
  content: counter(detail, decimal-leading-zero);
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 900;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 30px;
  align-items: start;
}

.contact-panel {
  padding: 32px;
}

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

.field {
  display: grid;
  gap: 7px;
}

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

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
  outline: none;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(31, 95, 139, 0.14);
}

.was-validated input:invalid,
.was-validated textarea:invalid {
  border-color: #b42318;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--blue);
  font-weight: 700;
}

.contact-cards {
  display: grid;
  gap: 14px;
}

.contact-card {
  padding: 22px;
}

.contact-card h3 {
  margin-top: 14px;
}

.map-placeholder {
  min-height: 220px;
  display: grid;
  align-content: center;
  margin-top: 14px;
  padding: 24px;
  border-radius: var(--radius);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(18, 58, 90, 0.94), rgba(31, 95, 139, 0.84)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 18px);
}

.map-placeholder p {
  margin: 8px 0 0;
  font-size: 1.35rem;
  font-weight: 800;
}

.footer {
  padding: 62px 0 24px;
  background: #0d2b43;
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1fr;
  gap: 42px;
}

.footer .brand-copy strong,
.footer h2 {
  color: var(--white);
}

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

.footer p {
  max-width: 460px;
  margin: 0;
}

.footer h2 {
  margin: 0 0 16px;
  font-size: 1rem;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 10px;
  font-style: normal;
}

.footer-contact span {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-contact .icon {
  width: 17px;
  height: 17px;
}

.footer-bottom {
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

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

@media (max-width: 980px) {
  .topbar-right span,
  .topbar-mobile {
    display: none;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .primary-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 10px);
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
  }

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

  .primary-nav a {
    width: 100%;
    justify-content: flex-start;
  }

  .primary-nav .nav-cta {
    margin-left: 0;
    justify-content: center;
  }

  .trust-grid,
  .card-grid,
  .detail-grid,
  .value-pill-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-grid,
  .value-grid,
  .internal-hero-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .internal-visual {
    display: none;
  }

  .contact-grid {
    gap: 22px;
  }
}

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

  .topbar {
    font-size: 0.82rem;
  }

  .topbar-inner {
    justify-content: center;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-copy strong {
    font-size: 0.95rem;
  }

  .brand-copy span {
    font-size: 0.78rem;
  }

  .hero {
    min-height: 620px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(18, 58, 90, 0.96), rgba(18, 58, 90, 0.78));
  }

  .hero-content {
    padding: 58px 0 72px;
  }

  .hero-actions,
  .cta-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .trust-grid,
  .card-grid,
  .detail-grid,
  .value-list,
  .value-pill-grid {
    grid-template-columns: 1fr;
  }

  .trust-item,
  .trust-item:last-child {
    border-right: 1px solid var(--line);
  }

  .section {
    padding: 68px 0;
  }

  .service-card {
    min-height: auto;
  }

  .internal-hero {
    padding: 64px 0;
  }

  .contact-panel {
    padding: 22px;
  }
}
