/* Original website palette, typography and section layout. */
:root {
  --ink: #000;
  --paper: #fff;
  --pale: #eff4f7;
  --blue: #1f5bff;
  --green: #199c68;
  --orange: #ff7300;
  --footer: #111;
  --container: 1200px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 300 16px/1.55 "Roboto", Arial, sans-serif; }
h1, h2, h3, p, ol { margin: 0; }
a { color: inherit; }
a[href^="tel:"] { white-space: nowrap; }
img { max-width: 100%; }
strong { font-weight: 700; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 6px; }
.hero a:focus-visible, .contact a:focus-visible, .site-header a:focus-visible { outline-color: #fff; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
h2 { font-size: 42px; line-height: 1.23; font-weight: 600; text-align: center; }
.button { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; min-height: 60px; padding: 18px 60px; border: 0; border-radius: 30px; color: #fff; font: 600 16px/1.4 "Roboto", Arial, sans-serif; text-align: center; text-decoration: none; transition: background-color .2s, box-shadow .2s; }
.button:hover { box-shadow: inset 0 0 0 100px rgb(0 0 0 / 12%); }
.button-blue { background: var(--blue); }
.button-green { background: var(--green); }
.button-orange { background: var(--orange); }
.section-description { max-width: 560px; margin-inline: auto; font-size: 24px; line-height: 1.5; text-align: center; }
.section-description a { text-decoration: none; }
.section-description a:hover { text-decoration: underline; text-underline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; padding: 0; margin: -1px; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 20px; top: 10px; z-index: 200; padding: 10px 15px; background: #fff; color: #000; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.ukraine-flag { position: fixed; z-index: 100; left: 15px; top: 15px; width: 100px; height: 100px; pointer-events: none; }

/* Header is over the cover on desktop and above it on smaller screens. */
.site-header { position: absolute; inset: 0 0 auto; z-index: 10; color: #fff; }
.header-inner { display: flex; align-items: center; max-width: 1200px; min-height: 110px; margin-inline: auto; padding-inline: 20px; }
.brand { flex-shrink: 0; font-size: 24px; line-height: 1.2; font-weight: 700; text-decoration: none; }
.header-contact { display: flex; align-items: center; margin-left: auto; padding-inline: 40px; }
.phone-icon { flex: 0 0 45px; margin-right: 10px; }
.header-contact-details { font-size: 16px; line-height: 25px; font-weight: 500; }
.header-contact-details a { text-decoration: none; }
.header-contact-details a:hover { text-decoration: underline; text-underline-offset: 3px; }
.header-button { min-width: 171px; min-height: 45px; padding: 12.7px 30px; font-size: 14px; }

/* Full-width photo covers and the original angled section edges. */
.hero { position: relative; min-height: 95vh; color: #fff; background: linear-gradient(to bottom, rgb(0 0 0 / 70%), rgb(0 0 0 / 40%)), url("assets/hero.png") center / cover no-repeat; }
.hero-content { display: flex; align-items: center; justify-content: center; min-height: 95vh; text-align: center; }
.hero-copy { width: 100%; padding-block: 42px; }
.hero h1 { padding: 24px 0 38px; font-size: 58px; line-height: 1.17; letter-spacing: .5px; font-weight: 700; }
.hero-copy > p { max-width: 700px; margin-inline: auto; padding-bottom: 30px; font-size: 24px; line-height: 1.5; }
.hero-space { display: block; height: 18px; }
.scroll-arrow { position: absolute; z-index: 2; bottom: 40px; left: 50%; display: flex; align-items: center; justify-content: center; width: 60px; height: 40px; transform: translateX(-50%); animation: arrow-bob 1.7s ease-in-out infinite; }
.angle-divider { position: absolute; bottom: -1px; left: 0; display: block; width: 100%; height: 4vw; pointer-events: none; }
.hero-divider { fill: var(--pale); }
.experience { position: relative; padding: 75px 0 105px; background: var(--pale); }
.experience p { max-width: 960px; margin-inline: auto; font-size: 30px; line-height: 1.45; text-align: center; }
.experience-divider { fill: var(--paper); }

.advantages { padding: 120px 0 150px; }
.advantages h2 { margin-bottom: 105px; }
.advantages-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.advantage { text-align: center; }
.advantage > img { display: block; width: 100px; height: 100px; margin: 0 auto 41px; }
.advantage-copy { padding-inline: 20px; }
.advantage h3 { margin-bottom: 25px; font-size: 30px; line-height: 1.17; font-weight: 600; }
.advantage p { font-size: 16px; line-height: 1.55; }

.services { position: relative; padding: 150px 0; background: var(--pale); }
.services h2 { margin-bottom: 40px; }
.services .section-description { margin-bottom: 105px; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding: 0; list-style: none; }
.services-grid > li { display: flex; align-items: flex-start; gap: 20px; }
.service-number { display: block; flex: 0 0 60px; height: 60px; border-radius: 50%; background: #fff; font-size: 20px; line-height: 60px; font-weight: 600; text-align: center; }
.services-grid h3 { padding-bottom: 13px; font-size: 16px; line-height: 1.35; font-weight: 700; }
.services-grid p { font-size: 14px; line-height: 1.55; }
.services-action { margin-top: 105px; text-align: center; }
.zigzag { position: absolute; z-index: 1; left: 0; width: 100%; height: 1vw; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 10' preserveAspectRatio='none'%3E%3Cpath d='M0 0L10 8.2L20 0V10H0Z' fill='white'/%3E%3C/svg%3E"); background-size: 1.64vw 1vw; background-repeat: repeat-x; }
.zigzag-bottom { bottom: -1px; }
.zigzag-top { top: -1px; transform: rotate(180deg); }

/* The original pricing table is wider than its introductory text. */
.pricing-intro { padding-top: 75px; padding-bottom: 45px; }
.pricing-intro h2 { padding-top: 8px; padding-bottom: 3px; }
.pricing-intro .section-description { padding-top: 41px; }
.pricing-copy { width: 760px; max-width: calc(100% - 200px); margin-left: 200px; font-size: 20px; line-height: 1.35; }
.pricing-copy h3 { padding: 4px 0 14px; font-size: 28px; line-height: 1.17; font-weight: 600; }
.accounting-description { padding-top: 60px; padding-bottom: 15px; }
.detail-description { margin-top: -6px; padding-bottom: 3px; font-size: 20px; line-height: 1.55; }
.detail-description p + p { margin-top: 31px; }
.price-table-wrapper { margin-left: 200px; padding-bottom: 60px; }
.price-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 18px; line-height: 1.55; text-align: left; }
.price-table th, .price-table td { width: 50%; padding: 20px; vertical-align: top; border-bottom: 1px solid #d9d9d9; }
.price-table th { border-bottom-color: #000; font-weight: 600; }
.price-table td { color: #4d4c4c; }
.price-table tbody tr:nth-child(even) { background: #eee; }
.accounting-inclusions { padding-bottom: 30px; }
.included-list { padding: 0; list-style: none; counter-reset: included; }
.included-list li { counter-increment: included; }
.included-list li::before { content: counter(included) ". "; }
.personnel-description { padding-top: 60px; padding-bottom: 15px; }
.personnel-description .detail-description { padding-top: 31px; }
.pricing-notes { padding-top: 90px; padding-bottom: 90px; }
.pricing-notes p + p { margin-top: 27px; }

/* Direct contact replaces the original callback form. */
.contact { position: relative; display: flex; align-items: center; min-height: 100vh; color: #fff; background: linear-gradient(rgb(41 34 28 / 70%), rgb(41 34 28 / 70%)), url("assets/contact.jpg") center / cover no-repeat; text-align: center; }
.anchor-alias { position: absolute; top: 0; }
.contact-inner { padding-top: 100px; padding-bottom: 100px; }
.contact h2 { margin-bottom: 40px; }
.contact-description { margin-bottom: 50px; font-size: 20px; line-height: 1.55; }
.contact-phone { width: 560px; min-height: 70px; border-radius: 7px; font-size: 30px; font-weight: 700; }
.contact-whatsapp { margin-top: 30px; font-size: 18px; }
.contact-email { display: inline-block; margin-top: 15px; font-size: 16px; text-decoration: none; }
.contact-whatsapp a { text-underline-offset: 5px; }
.contact-email:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-bottom { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 10' preserveAspectRatio='none'%3E%3Cpath d='M0 0L10 8.2L20 0V10H0Z' fill='%23111111'/%3E%3C/svg%3E"); }
.site-footer { padding: 63px 0 36px; background: var(--footer); color: rgb(255 255 255 / 70%); text-align: center; }
.site-footer p { max-width: 960px; margin-inline: auto; font-size: 17px; line-height: 26px; letter-spacing: 1px; }

@keyframes arrow-bob { 0%, 100% { margin-bottom: 0; } 50% { margin-bottom: -8px; } }

@media (max-width: 1200px) {
  :root { --container: 960px; --gutter: 10px; }
  .header-inner { max-width: 960px; padding-inline: 10px; }
  .header-contact { padding-inline: 20px; }
  .advantages-grid, .services-grid { gap: 20px; }
  .experience p { max-width: 780px; font-size: 26px; }
  h2 { font-size: 38px; }
  .advantage h3 { font-size: 28px; }
  .advantage p { font-size: 14px; }
  .section-description { font-size: 22px; }
  .pricing-copy { width: 620px; max-width: calc(100% - 160px); margin-left: 160px; }
  .pricing-copy h3 { font-size: 26px; }
  .price-table-wrapper { margin-left: 160px; }
}

@media (max-width: 979px) {
  .site-header { position: relative; background: #000; }
  .header-inner { min-height: 0; padding: 35px 20px; flex-direction: column; }
  .header-contact { margin: 20px 0 0; padding: 0 0 8px; }
  .phone-icon { display: none; }
  .header-contact-details { text-align: center; }
  .header-button { min-width: 151px; min-height: 50px; margin-top: 18px; padding: 15.2px 20px; }
}

@media (max-width: 960px) {
  :root { --container: 640px; --gutter: 20px; }
  h2 { font-size: 30px; }
  .section-description { font-size: 20px; line-height: 1.4; }
  .experience p { font-size: 22px; }
  .advantages { padding-block: 90px; }
  .advantages h2 { margin-bottom: 45px; }
  .advantages-grid { display: block; }
  .advantage { margin-bottom: 45px; }
  .advantage h3 { font-size: 24px; }
  .advantage p { font-size: 12px; line-height: 1.45; }
  .services { padding-block: 90px; }
  .services h2 { margin-bottom: 20px; }
  .services .section-description { margin-bottom: 45px; }
  .services-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid h3 { padding-bottom: 10px; }
  .services-grid p { margin-bottom: 20px; line-height: 1.45; }
  .services-action { margin-top: 45px; }
  .pricing-copy { width: 100%; max-width: none; margin-left: 0; }
  .pricing-copy h3 { font-size: 24px; }
  .price-table-wrapper { margin-left: 0; }
  .price-table { font-size: 14px; line-height: 1.45; }
  .price-table th, .price-table td { padding: 20px 10px; }
  .detail-description { line-height: 1.45; }
  .detail-description p + p { margin-top: 29px; }
  .personnel-description .detail-description { padding-top: 29px; }
  .contact-description { font-size: 18px; }
}

@media (min-width: 980px) and (max-width: 1200px) {
  .brand { padding-left: 85px; }
  .header-contact-details { font-size: 14px; }
}

@media (max-width: 640px) {
  .ukraine-flag { top: auto; bottom: 30px; left: 30px; width: 80px; height: 80px; }
  .hero h1 { padding-inline: 10px; font-size: 30px; }
  .hero-copy > p { padding-inline: 10px; font-size: 14px; line-height: 20px; }
  .scroll-arrow { bottom: 10px; }
  .scroll-arrow svg { width: 26px; height: auto; }
  .service-number { flex-basis: 40px; height: 40px; font-size: 18px; line-height: 40px; }
  .services-action .button { padding-inline: 30px; }
  .contact-phone { width: 100%; padding-inline: 20px; font-size: 27px; }
  .contact-inner { padding-block: 90px; }
}

@media (max-width: 359px) {
  .brand { font-size: 22px; }
  h2 { font-size: 28px; }
  .services-action .button { padding-inline: 20px; font-size: 14px; }
  .contact-phone { font-size: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-arrow { animation: none; }
  .button { transition: none; }
}
