/* Indtaxperts: shared design styles */
:root {
  --it-navy: #10365b;
  --it-green: #00856a;
  --it-green-dark: #006b55;
  --it-orange: #f58232;
  --it-text: #526176;
  --it-light: #eef6fc;
  --it-border: #e2e9ef;
  --it-white: #ffffff;
  --it-radius: 12px;
  --it-container: 1200px;
}

body.it-site {
  margin: 0;
  background: var(--it-white);
  color: var(--it-text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

.it-site *,
.it-site *::before,
.it-site *::after {
  box-sizing: border-box;
}

.it-site img {
  display: block;
  max-width: 100%;
  height: auto;
}

.it-container {
  width: min(var(--it-container), calc(100% - 48px));
  margin-inline: auto;
}

.it-section {
  padding-block: 72px;
}

.it-section--light {
  background: var(--it-light);
}

.it-site h1,
.it-site h2,
.it-site h3 {
  margin: 0 0 18px;
  color: var(--it-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.2;
}

.it-site h1 {
  font-size: clamp(36px, 4.5vw, 60px);
}

.it-site h2 {
  font-size: clamp(28px, 3.2vw, 42px);
}

.it-site h3 {
  font-size: clamp(21px, 2vw, 25px);
}

.it-site p {
  margin: 0 0 20px;
}

.it-site a {
  color: var(--it-green);
  text-underline-offset: 4px;
}

.it-site a:hover {
  color: var(--it-green-dark);
}

.it-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--it-navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.it-eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  flex-shrink: 0;
  background: var(--it-orange);
}

.it-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.it-site .it-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid var(--it-green);
  border-radius: 6px;
  background: var(--it-green);
  color: var(--it-white);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.it-site .it-button:hover {
  border-color: var(--it-green-dark);
  background: var(--it-green-dark);
  color: var(--it-white);
}

.it-site .it-button--outline {
  border-color: var(--it-navy);
  background: transparent;
  color: var(--it-navy);
}

.it-site .it-button--outline:hover {
  border-color: var(--it-navy);
  background: var(--it-navy);
  color: var(--it-white);
}

.it-site :focus-visible {
  outline: 3px solid var(--it-navy);
  outline-offset: 4px;
}

.it-skip-link {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 99999;
  padding: 12px 20px;
  background: white;
  color: var(--it-navy);
}

.it-skip-link:focus {
  top: 16px;
}

@media (max-width: 767px) {
  .it-container {
    width: calc(100% - 32px);
  }

  .it-section {
    padding-block: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .it-site .it-button {
    transition: none;
  }
}

/* Header */
.it-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--it-border);
  background: var(--it-white);
}

body.admin-bar .it-header {
  top: 32px;
}

.it-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 94px;
}

.it-logo {
  display: block;
  flex: 0 0 auto;
}

.it-logo img {
  width: 215px;
  height: 76px;
  object-fit: contain;
  object-position: left center;
}

.it-navigation {
  display: flex;
  align-items: center;
  gap: 44px;
}

.it-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.it-menu li {
  margin: 0;
}

.it-site .it-menu a {
  display: block;
  padding: 10px 0;
  color: var(--it-navy);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.it-site .it-menu a:hover {
  color: var(--it-green);
}

.it-site .it-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--it-border);
  border-radius: 6px;
  background: var(--it-white);
  color: var(--it-navy);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.it-site [hidden] {
  display: none !important;
}

.it-site main [id],
.it-site main[id] {
  scroll-margin-top: 140px;
}

@media (max-width: 921px) {
  .it-header-inner {
    flex-wrap: wrap;
    gap: 0;
    min-height: 82px;
  }

  .it-logo img {
    width: 180px;
    height: 68px;
  }

  .it-site .it-menu-toggle:not([hidden]) {
    display: inline-flex;
  }

  .it-navigation {
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 14px 0 24px;
  }

  .it-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .it-site .it-menu a {
    padding: 12px 0;
    border-bottom: 1px solid var(--it-border);
  }

  .it-header-cta {
    align-self: flex-start;
  }
}

@media (max-width: 782px) {
  body.admin-bar .it-header {
    top: 46px;
  }
}

@media (max-width: 600px) {
  body.admin-bar .it-header {
    top: 0;
  }
}

/* Shared footer */
.it-footer {
  padding-top: 44px;
  border-top: 1px solid var(--it-border);
  background: var(--it-white);
}

.it-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 0.9fr;
  gap: 32px;
  padding-bottom: 34px;
}

.it-footer-grid > div {
  min-width: 0;
}

.it-site .it-footer-brand img {
  width: 190px;
  height: auto;
  margin-bottom: 16px;
}

.it-site .it-footer p,
.it-footer address,
.it-footer-phones {
  font-size: 14px;
  line-height: 1.8;
}

.it-site .it-footer-brand p {
  margin: 0;
}

.it-footer-brand strong {
  color: var(--it-navy);
}

.it-site .it-footer h2 {
  margin-bottom: 16px;
  font-size: 19px;
  line-height: 1.3;
}

.it-footer address {
  margin: 0;
  font-style: normal;
}

.it-footer-phones {
  margin: 0;
  padding: 0;
  list-style: none;
}

.it-footer-phones li {
  margin: 0 0 6px;
}

.it-site .it-footer a {
  color: var(--it-navy);
  text-decoration: none;
}

.it-site .it-footer a:hover {
  color: var(--it-green);
  text-decoration: underline;
}

.it-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 20px;
  border-top: 1px solid var(--it-border);
}

.it-site .it-footer-bottom p {
  margin: 0;
  font-size: 12px;
}

.it-footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.it-footer-bottom nav a {
  padding-block: 8px;
  font-size: 13px;
}

@media (max-width: 921px) {
  .it-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .it-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 540px) {
  .it-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}



/* Floating WhatsApp button */
.it-site .it-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  right: calc(24px + env(safe-area-inset-right, 0px));
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #128c4a;
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: background-color 180ms ease, transform 180ms ease;
}

.it-whatsapp svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.it-site .it-whatsapp:hover {
  background: #0b713b;
  color: #ffffff;
  transform: translateY(-3px);
}

.it-site .it-whatsapp:focus-visible {
  outline: 3px solid var(--it-navy);
  outline-offset: 4px;
}

@media (max-width: 767px) {
  .it-site .it-whatsapp {
    right: calc(16px + env(safe-area-inset-right, 0px));
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: 54px;
    height: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .it-site .it-whatsapp {
    transition: none;
  }

  .it-site .it-whatsapp:hover {
    transform: none;
  }
}

/* Reading progress below the sticky header */
.it-scroll-progress {
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 3px;
  overflow: hidden;
  background: transparent;
  pointer-events: none;
}

.it-scroll-progress-fill {
  width: 100%;
  height: 100%;
  background: var(--it-green);
  transform: scaleX(0);
  transform-origin: left center;
}