:root {
  --accounting-deep: #3c096c;
  --accounting-purple: #5a189a;
  --accounting-lilac: #c77dff;
  --accounting-cyan: #00a6fb;
  --accounting-ink: #30455c;
  --accounting-copy: #5f6269;
  --accounting-surface: #f7f9fc;
}

.accounting-page { overflow: hidden; background: var(--accounting-surface); color: var(--accounting-copy); font-family: 'Poppins', sans-serif; }
.accounting-shell { width: min(1140px, calc(100% - 48px)); margin-inline: auto; }
.accounting-page h1, .accounting-page h2, .accounting-page h3, .accounting-page p { margin-top: 0; }
.accounting-page p { color: var(--accounting-copy); font-family: 'Work Sans', sans-serif; }

.accounting-hero { display: grid; grid-template-columns: 54.8% 45.2%; min-height: 364px; background: var(--accounting-deep); }
.accounting-hero-copy { display: grid; align-content: center; padding: 48px 60px 48px max(52px, calc((100vw - 1140px) / 2)); }
.accounting-hero h1 { margin-bottom: 18px; color: #fff; font-size: 30px; font-weight: 600; line-height: 1; }
.accounting-hero p { max-width: 540px; margin-bottom: 26px; color: #fff; font-size: 16px; font-weight: 300; line-height: 1.35; }
.accounting-hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.accounting-button, .accounting-small-button { display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; font-family: 'Poppins', sans-serif; text-decoration: none; transition: transform 250ms ease, background-color 250ms ease, color 250ms ease; }
.accounting-button { min-width: 220px; min-height: 42px; padding: 0 18px; border: 1px solid #fff; font-size: 13px; }
.accounting-button-outline { background: rgba(60, 9, 108, .88); box-shadow: 2px 2px 10px rgba(0, 0, 0, .5); color: #fff; }
.accounting-button-light { background: #fff; box-shadow: 2px 2px 10px rgba(0, 0, 0, .3); color: rgba(60, 9, 108, .87); }
.accounting-button:hover, .accounting-button:focus-visible, .accounting-small-button:hover, .accounting-small-button:focus-visible { background: var(--accounting-lilac); color: var(--accounting-deep); transform: translateY(-3px); }
.accounting-hero-image { margin: 10px 0; overflow: hidden; }
.accounting-hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.accounting-intro { padding: 68px 0 52px; text-align: center; }
.accounting-intro h2, .accounting-importance > h2, .accounting-consulting h2, .accounting-transactions h2, .accounting-solutions h2, .accounting-reports h2 { margin-bottom: 18px; color: #545454; font-size: 30px; font-weight: 500; line-height: 1.1; }
.accounting-intro h2 span, .accounting-transactions h2 span { position: relative; display: inline-block; color: var(--accounting-deep); }
.accounting-underline { position: absolute; right: -3px; bottom: -15px; left: -5px; width: calc(100% + 8px); height: 16px; overflow: visible; }
.accounting-underline path { fill: none; stroke: var(--accounting-lilac); stroke-linecap: round; stroke-width: 3.5; stroke-dasharray: 112; stroke-dashoffset: 112; animation: accounting-underline-loop 9.2s ease-in-out infinite; }
@keyframes accounting-underline-loop { 0% { stroke-dashoffset: 112; } 13% { stroke-dashoffset: 0; } 78% { stroke-dashoffset: 0; } 91%, 100% { stroke-dashoffset: -112; } }
.accounting-intro p { max-width: 1000px; margin: 0 auto; font-size: 16px; font-weight: 300; line-height: 1.5; }

.accounting-uncomplicate { position: relative; padding: 56px 0; background: #fff; }
.accounting-uncomplicate::before, .accounting-uncomplicate::after { position: absolute; right: -5%; left: -5%; height: 34px; background: var(--accounting-surface); content: ''; }
.accounting-uncomplicate::before { top: -1px; clip-path: polygon(0 0, 15% 86%, 31% 34%, 49% 95%, 64% 44%, 81% 89%, 100% 21%, 100% 0); }
.accounting-uncomplicate::after { bottom: -1px; clip-path: polygon(0 72%, 17% 13%, 34% 74%, 50% 11%, 67% 75%, 83% 20%, 100% 72%, 100% 100%, 0 100%); }
.accounting-uncomplicate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 92px; align-items: center; }
.accounting-uncomplicate figure { margin: 0; overflow: hidden; border-radius: 20px; }
.accounting-uncomplicate img { width: 100%; aspect-ratio: 1.48; object-fit: cover; }
.accounting-uncomplicate h2, .accounting-integration h2, .accounting-question h2 { margin-bottom: 20px; color: var(--accounting-ink); font-size: 30px; font-weight: 500; line-height: 1.12; }
.accounting-uncomplicate p, .accounting-consulting p, .accounting-integration p, .accounting-question p { max-width: 500px; margin-bottom: 26px; font-size: 16px; font-weight: 300; line-height: 1.45; }
.accounting-small-button { min-width: 205px; min-height: 42px; padding: 0 18px; background: rgba(60, 9, 108, .9); box-shadow: 2px 2px 9px rgba(0, 0, 0, .34); color: #fff; font-size: 13px; }
.accounting-grow { overflow: hidden; }
.accounting-grow img { transition: transform 450ms ease; }
.accounting-grow:hover img { transform: scale(1.04); }

.accounting-importance { padding: 82px 0 74px; text-align: center; }
.accounting-importance > p { max-width: 940px; margin: 0 auto 42px; font-size: 16px; font-weight: 300; }
.accounting-importance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.accounting-importance-grid article { min-height: 252px; padding: 28px 30px; border-radius: 10px; background: #fff; box-shadow: 0 0 15px rgba(0, 0, 0, .1); }
.accounting-importance-grid b { display: grid; width: 42px; height: 42px; place-items: center; margin: 0 auto 24px; border-radius: 50%; background: rgba(60, 9, 108, .87); color: #fff; font-size: 17px; font-weight: 600; }
.accounting-importance-grid h3 { margin-bottom: 15px; color: #393a3e; font-size: 18px; font-weight: 500; line-height: 1.1; }
.accounting-importance-grid p { margin: 0; color: #494949; font-size: 13px; line-height: 1.35; }

.accounting-consulting, .accounting-integration-grid, .accounting-question-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.accounting-consulting { padding: 46px 0 70px; }
.accounting-consulting > div { text-align: center; }
.accounting-consulting p { margin-inline: auto; }
.accounting-consulting figure { margin: 0; overflow: hidden; border-radius: 20px; }
.accounting-consulting img { width: 100%; aspect-ratio: 1.48; object-fit: cover; }

.accounting-transactions { padding: 58px 0 66px; background: #fff; text-align: center; }
.accounting-transactions h2 { color: #545454; }
.accounting-transactions > .accounting-shell > p { margin: 0 auto 28px; font-size: 16px; font-weight: 300; }
.accounting-transactions ul, .accounting-reports ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; margin: 0; padding: 0; list-style: none; }
.accounting-transactions li, .accounting-reports li { color: #65666b; font-family: 'Poppins', sans-serif; font-size: 17px; font-weight: 300; }
.accounting-transactions li::before, .accounting-reports li::before { margin-right: 10px; color: var(--accounting-deep); content: '\f00c'; font-family: 'FontAwesome'; font-size: 14px; }

.accounting-solutions { padding: 70px 0; background: var(--accounting-surface); text-align: center; }
.accounting-solutions h2 { color: var(--accounting-ink); }
.accounting-solution-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.accounting-solution-card { overflow: hidden; border: 2px solid var(--accounting-cyan); border-radius: 8px; background: #fff; }
.accounting-solution-card-image { position: relative; display: grid; min-height: 138px; place-items: center; padding: 20px; overflow: hidden; background: center / cover var(--solution-image); }
.accounting-solution-card-image::before { position: absolute; inset: 0; background: rgba(60, 9, 108, .94); content: ''; transition: background-color 600ms ease; }
.accounting-solution-card h3 { position: relative; z-index: 1; margin: 0; color: #fff; font-size: 20px; font-weight: 500; }
.accounting-solution-card > p { min-height: 142px; margin: 0; padding: 26px 30px; color: #4a4a4a; font-size: 14px; line-height: 1.4; }
.accounting-solution-card:hover .accounting-solution-card-image::before { background: rgba(0, 0, 0, .66); }

.accounting-reports { padding: 70px 0; background: #fff; text-align: center; }
.accounting-reports h2 { color: var(--accounting-ink); }
.accounting-reports figure { margin: 0; overflow: hidden; border-radius: 20px; }
.accounting-reports img { width: 100%; height: 355px; object-fit: cover; }
.accounting-reports-copy { display: grid; grid-template-columns: 1.2fr .8fr; gap: 46px; align-items: center; margin-top: 32px; text-align: left; }
.accounting-reports-copy p { margin: 0; font-size: 16px; font-weight: 300; line-height: 1.45; }
.accounting-reports ul { display: grid; justify-content: start; gap: 12px; }

.accounting-integration { padding: 70px 0; background: var(--accounting-surface); }
.accounting-integration figure { margin: 0; overflow: hidden; border-radius: 20px; }
.accounting-integration img { width: 100%; aspect-ratio: 1.48; object-fit: cover; }
.accounting-question { padding: 70px 0; background: var(--accounting-surface); }
.accounting-question figure { width: min(100%, 340px); margin: 0; justify-self: end; overflow: hidden; border-radius: 36px; }
.accounting-question img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: center top; }

@media (max-width: 800px) {
  .accounting-shell { width: min(100% - 40px, 680px); }
  .accounting-hero { grid-template-columns: 1fr; }
  .accounting-hero-copy { padding: 52px 32px 30px; text-align: center; }
  .accounting-hero h1 { font-size: 28px; }
  .accounting-hero p { margin-inline: auto; font-size: 16px; }
  .accounting-hero-actions { justify-content: center; }
  .accounting-hero-image { width: min(92%, 600px); height: 290px; margin: 10px auto 0; border-radius: 10px 10px 0 0; }
  .accounting-uncomplicate-grid, .accounting-consulting, .accounting-integration-grid, .accounting-question-grid { grid-template-columns: 1fr; gap: 38px; }
  .accounting-uncomplicate > .accounting-shell > div, .accounting-consulting > div, .accounting-integration-grid > div, .accounting-question-grid > div { text-align: center; }
  .accounting-uncomplicate p, .accounting-consulting p, .accounting-integration p, .accounting-question p { margin-inline: auto; }
  .accounting-uncomplicate figure, .accounting-consulting figure, .accounting-integration figure { max-width: 560px; justify-self: center; }
  .accounting-consulting figure { order: -1; }
  .accounting-question figure { justify-self: center; }
  .accounting-importance-grid { gap: 20px; }
  .accounting-reports-copy { grid-template-columns: 1fr; text-align: center; }
  .accounting-reports ul { justify-content: center; }
}

@media (max-width: 560px) {
  .accounting-shell { width: min(100% - 32px, 420px); }
  .accounting-hero-copy { padding: 42px 22px 30px; }
  .accounting-hero h1 { font-size: 26px; }
  .accounting-hero-actions { display: grid; }
  .accounting-button { width: 100%; }
  .accounting-hero-image { height: 245px; }
  .accounting-intro { padding: 54px 0 40px; }
  .accounting-intro h2, .accounting-importance > h2, .accounting-consulting h2, .accounting-transactions h2, .accounting-solutions h2, .accounting-reports h2 { font-size: 27px; }
  .accounting-intro p { font-size: 15px; }
  .accounting-uncomplicate, .accounting-importance, .accounting-consulting, .accounting-transactions, .accounting-solutions, .accounting-reports, .accounting-integration, .accounting-question { padding-block: 56px; }
  .accounting-uncomplicate h2, .accounting-integration h2, .accounting-question h2 { font-size: 25px; }
  .accounting-importance-grid, .accounting-solution-grid { grid-template-columns: 1fr; }
  .accounting-importance-grid article { min-height: 0; }
  .accounting-transactions ul { display: grid; justify-content: center; gap: 14px; text-align: left; }
  .accounting-reports img { height: 240px; }
  .accounting-question figure { max-width: 280px; }
}

@media (prefers-reduced-motion: reduce) {
  .accounting-page *, .accounting-page *::before, .accounting-page *::after { scroll-behavior: auto; transition: none; }
  .accounting-underline path { animation: none; stroke-dashoffset: 0; }
}
