﻿:root {
  --bg: #ffffff;
  --muted: #f5f7f8;
  --text: #102a2a;
  --sub: #2f4a4a;
  --brand: #0f6f6b;
  /* main teal */
  --brand-dark: #0a4a47;
  /* dark teal hover */
  --brand2: #48b7ad;
  /* light teal */
  --card: #ffffff;
  --border: rgba(16, 42, 42, .12);
  --shadow: 0 10px 30px rgba(16, 42, 42, .08);
  --radius: 18px;
  --max: 1160px;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

/* Global Typography & Vertical Rhythm */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.25;
  color: var(--text);
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child {
  margin-top: 0;
}

p {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

.text-link {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
}

.text-link:hover {
  color: var(--brand-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 1.5rem);
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-weight: 700;
}

.btn.primary {
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: white;
  border: none;
  box-shadow: var(--shadow);
}

.btn.primary:hover {
  filter: brightness(.98)
}

.btn.ghost:hover {
  background: var(--muted)
}

/* Right-aligned bullet points for terms and privacy pages */
.card ul {
  list-style-position: inside;
  padding-left: 0;
  text-align: left;
}

.card ul li {
  padding-left: 20px;
  text-indent: -20px;
}

.card ul li::marker {
  color: var(--brand);
  font-size: 1.2em;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(5, 40, 38, .92), rgba(5, 40, 38, .82)),
    url("../img/hero-banner.jpg") left center/cover no-repeat;
}

.hero .content {
  position: relative;
  color: white;
  padding-top: clamp(9rem, 16vh, 11.5rem);
  padding-bottom: clamp(4rem, 7vh, 5.5rem);
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(2rem, 5vw, 3.75rem);
  align-items: stretch;
}

.hero-grid>div:first-child {
  display: flex;
  flex-direction: column;
}

.hero-grid>div:first-child .badges {
  margin-top: auto;
  margin-bottom: 0;
}

.hero h1 {
  margin: 0 0 0.6em 0;
  font-size: clamp(28px, 3.8vw, 48px);
  line-height: 1.15;
  letter-spacing: -.6px;
  color: #fff;
}

.hero p {
  margin: 0 0 1em 0;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(17px, 1.8vw, 22px);
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin: 1.125rem 0 1.625rem 0;
}

.badge {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  padding: 0.5em 0.85em;
  border-radius: 999px;
  font-weight: 650;
  font-size: clamp(12px, 1vw, 14px);
}

/* ── Scroll reveal ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ── Rotating hero word ──────────────────────────────────────── */
.hero-rotate {
  display: inline-block;
  color: var(--brand2);
  font-weight: 900;
  text-shadow: 0 0 20px rgba(72, 183, 173, 0.3);
  transition: opacity 0.3s ease, transform 0.3s ease;
  min-width: 18ch;
}

/* ── KPI reveal stamp ────────────────────────────────────────── */
@keyframes kpiStamp {
  0% {
    opacity: 0;
    transform: scale(0.7) translateY(10px);
  }

  70% {
    transform: scale(1.06) translateY(-2px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.kpi.visible {
  animation: kpiStamp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.kpi.visible:nth-child(1) {
  animation-delay: 0s;
}

.kpi.visible:nth-child(2) {
  animation-delay: 0.1s;
}

.kpi.visible:nth-child(3) {
  animation-delay: 0.2s;
}

.kpi.visible:nth-child(4) {
  animation-delay: 0.3s;
}

@keyframes bounceDown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

.scroll-down-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  transition: all 0.3s;
  animation: bounceDown 1.6s infinite ease-in-out;
}

.scroll-down-square {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.625rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.scroll-down-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: clamp(1rem, 2vw, 1.5rem);
}

.scroll-down-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.scroll-down-btn img {
  filter: brightness(0) invert(1);
}

.hero-card {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 1.375rem;
  padding: clamp(1.25rem, 2.2vw, 1.75rem);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-card-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 14px;
}

.hero-card-brand {
  background: var(--brand);
  color: #fff;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
}

.hero-card h3 {
  margin: 0 0 1rem 0;
  font-size: clamp(15px, 1.3vw, 18px);
  color: #fff;
}

.hero-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-card ul li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .92);
  font-size: clamp(13px, 1.05vw, 15px);
}

.hero-card ul li:last-child {
  border-bottom: none;
}

.hero-card ul li::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  min-width: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%230f6f6b'%3E%3Ccircle cx='10' cy='10' r='10' fill='rgba(255,255,255,0.9)'/%3E%3Cpath d='M6 10l3 3 5-5' stroke='%230f6f6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.hero-card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-top: 1.125rem;
  padding: 0.75em 1.125em;
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 0.625rem;
  color: #fff;
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s, border-color 0.2s;
}

.hero-card-cta .cta-arrow {
  display: block;
  transform: rotate(-90deg);
  animation: bounceRight 1.4s infinite ease-in-out;
}

.hero-card-cta:hover .cta-arrow {
  animation-duration: 0.9s;
}

@keyframes bounceRight {
  0%, 100% {
    transform: rotate(-90deg) translateY(0);
  }
  50% {
    transform: rotate(-90deg) translateY(-8px);
  }
}

.hero-card-cta:hover {
  background: rgba(255, 255, 255, .25);
  border-color: rgba(255, 255, 255, .5);
  color: #fff;
}

.section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

/* Global Content Card (Used for Privacy, Terms, Forms) */
.card {
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card--doc {
  padding: 40px;
}

@media (max-width: 768px) {
  .card--doc {
    padding: 24px;
  }
}

.section.alt {
  background: var(--muted)
}

.section h2 {
  margin-bottom: 14px;
  font-size: clamp(24px, 2.8vw, 36px);
  letter-spacing: -.4px;
}

.section p.lead {
  margin: 0 0 26px 0;
  color: var(--sub);
}

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

.forms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 20px;
}

.form-card {
  position: relative;
  display: flex !important;
  flex-direction: column;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
  box-shadow: 0 4px 12px rgba(16, 42, 42, 0.04);
}

.form-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand);
  background: #fdfdfd;
  box-shadow: 0 12px 30px rgba(15, 111, 107, 0.12);
}

.form-card .icon-box {
  display: none;
}

.form-card .icon-box-OLD {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(15, 111, 107, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--brand);
  transition: all 0.3s ease;
}

.form-card:hover .icon-box {
  background: var(--brand);
  color: #fff;
}

.form-card h3 {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.form-card p {
  margin: 0;
  font-size: 14px;
  color: var(--sub);
  line-height: 1.5;
  flex-grow: 1;
}

.form-card .action-tag {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.7;
}

.form-card:hover .action-tag {
  opacity: 1;
}

/* Resource Page Structure */
.resource-category {
  margin-bottom: 64px;
}

.resource-category h3 {
  margin-bottom: 28px;
  font-size: 20px;
  color: var(--brand);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}


.resource-card {
  position: relative;
  display: flex !important;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
  box-shadow: 0 4px 10px rgba(16, 42, 42, 0.03);
}

.resource-card:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 111, 107, 0.4);
  background: #f7fcfc;
  /* Lighter mint tint instead of solid white */
  box-shadow: 0 8px 24px rgba(15, 111, 107, 0.08);
}

.resource-card .icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(15, 111, 107, 0.08);
  /* Matches form icons base */
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.resource-card:hover .icon-box {
  background: rgba(15, 111, 107, 0.15);
  /* Subtler than the solid teal used for forms */
  color: var(--brand-dark);
}

.resource-card span {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  transition: color 0.3s ease;
}

.resource-card:hover span {
  color: var(--brand-dark);
}

.external-arrow {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 14px;
  height: 14px;
  opacity: 0.25;
  transition: all 0.3s ease;
  color: var(--brand);
}

.resource-card:hover .external-arrow,
.form-card:hover .external-arrow {
  opacity: 1;
  transform: translate(2px, -2px);
  color: var(--brand-dark);
}


/* 3D Flip Card Container */
.card-container {
  perspective: 1200px;
  height: 380px;
  /* Reduced to eliminate excessive white space */
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.card-container.is-flipped .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius);
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(16, 42, 42, .06);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  /* Clips the watermark */
}

/* Ensure only the active face is clickable */
.card-container .card-front {
  pointer-events: auto;
  z-index: 2;
}

.card-container .card-back {
  pointer-events: none;
  z-index: 1;
}

.card-container.is-flipped .card-front {
  pointer-events: none;
  z-index: 1;
}

.card-container.is-flipped .card-back {
  pointer-events: auto;
  z-index: 2;
}

.card-watermark {
  position: absolute;
  bottom: -45px;
  right: -45px;
  width: 200px;
  height: 200px;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

/* Apply filter only to non-teal watermarks.
   brightness(0) flattens any internal colours (e.g. multi-fill SVGs) to black
   before the hue-rotate maps them to brand teal. */
.card-watermark:not([src*="Bookkeeping_new"]) {
  filter: brightness(0) invert(34%) sepia(21%) saturate(1478%) hue-rotate(128deg) brightness(93%) contrast(93%);
}

.card-header,
.service-desc,
.more-info-wrap {
  position: relative;
  z-index: 1;
}

.card-back {
  transform: rotateY(180deg);
  background: #fcfdfe;
  /* subtle tint for the back */
  overflow-y: auto;
  scrollbar-width: none;
  /* Firefox: hide scrollbar */
}

.card-back::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari: hide scrollbar */
}

/* New Header for flipped cards */
.card-back-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  border-bottom: 2px solid rgba(15, 111, 107, 0.1);
  padding-bottom: 10px;
  position: relative;
  z-index: 2;
  /* Ensure it stays above everything */
}

/* Close (×) button for the flipped card — needed on touch devices where
   there's no hover-leave to flip the card back. Hidden on hover-capable
   desktops; the existing mouseleave behaviour handles unflipping there. */
.card-back-close {
  display: none;
  background: transparent;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  color: var(--sub);
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  padding: 0;
}

.card-back-close:hover {
  background: rgba(15, 111, 107, 0.1);
  color: var(--brand);
}

@media (hover: none),
(max-width: 920px) {
  .card-back-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

.card-back h4 {
  margin: 0;
  color: var(--brand);
  font-size: 17px;
  font-weight: 700;
}

.card-back ul {
  padding-left: 18px;
  margin: 0;
  flex-grow: 1;
}

.card-back li {
  font-size: 14px;
  margin-bottom: 7px;
  color: var(--sub);
}

.card-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.card-header .icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(72, 183, 173, .12);
  border: 1px solid rgba(15, 111, 107, .12);
  flex-shrink: 0;
}

.card-header .icon img:not([src*="Bookkeeping_new"]):not([src*="New Icons"]) {
  width: 44px;
  height: 44px;
  display: block;
  filter: invert(34%) sepia(21%) saturate(1478%) hue-rotate(128deg) brightness(93%) contrast(93%);
}

.card-header .icon img[src*="Bookkeeping_new"],
.card-header .icon img[src*="New Icons"] {
  width: 44px;
  height: 44px;
  display: block;
}

.service-desc {
  font-size: 15px;
  color: var(--sub);
  margin-top: 16px;
  line-height: 1.6;
}

.more-info-wrap {
  display: flex;
  margin-top: auto;
  /* Pushes button to the bottom */
  padding-top: 15px;
}

.more-info-btn {
  background: var(--muted);
  border: 1px solid var(--border);
  color: var(--brand);
  font-weight: 600;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  transition: all 0.2s ease;
}

.more-info-btn:hover {
  background: #eee;
  gap: 12px;
}

.more-info-btn::after {
  content: '→';
}

.back-btn {
  background: var(--muted);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  align-self: flex-start;
  transition: all 0.2s;
}

.back-btn:hover {
  background: #eee;
}

.kpis {
  margin-top: clamp(1.25rem, 3vw, 2rem);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 0;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.kpis-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: ticker 18s linear infinite;
}

.kpis-track:hover {
  animation-play-state: paused;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-25%);
  }
}

.kpi {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 28px;
  white-space: nowrap;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.kpi:last-child {
  border-right: none;
}

.kpi .num {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.2px;
}

.kpi .lbl {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.kpi-icon {
  width: 32px;
  height: 32px;
  color: var(--brand2);
  margin-bottom: 2px;
  opacity: 0.95;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

img.kpi-icon {
  filter: brightness(0) saturate(100%) invert(67%) sepia(45%) saturate(380%) hue-rotate(131deg) brightness(96%) contrast(85%);
}

/* Reusable icon container matching services cards */
.contact-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(72, 183, 173, .12);
  border: 1px solid rgba(15, 111, 107, .12);
  flex-shrink: 0;
}

.contact-icon-box svg {
  width: 24px !important;
  height: 24px !important;
  filter: brightness(0) invert(34%) sepia(21%) saturate(1478%) hue-rotate(128deg) brightness(93%) contrast(93%) !important;
  display: block;
}

.contact-icon-box img {
  width: 24px !important;
  height: 24px !important;
  display: block;
  /* No filter needed as these assets are pre-colored teal with white detail */
}

/* Unified Contact Info Frame */
.contact-info-frame {
  display: flex !important;
  flex-direction: column;
  gap: 18px;
  height: 100%;
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  padding: 18px;
}

.contact-bar-item {
  display: flex;
  align-items: center;
  gap: 18px !important;
  padding: 22px 24px !important;
  transition: background 0.2s ease;
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  flex: 1;
  min-height: 0;
}

.contact-bar-item img {
  width: 36px !important;
  height: 36px !important;
}

.card ul.engagement-list {
  list-style-position: outside;
  padding-left: 24px;
}

.card ul.engagement-list li {
  padding-left: 0;
  text-indent: 0;
  margin-bottom: 14px;
  line-height: 1.65;
}

.card ul.engagement-list li::marker {
  color: var(--brand);
}

.engagement-list li:last-child {
  margin-bottom: 0;
}


.contact-bar-item:hover {
  background: rgba(72, 183, 173, 0.04);
}

.contact-bar-item h3 {
  margin: 0;
  font-size: 16px;
  color: var(--brand);
}

.contact-bar-item p {
  margin: 0;
  color: var(--sub);
  font-size: 15px;
  font-weight: 600;
}

/* Matching Form Card Layout */
.contact-form-card {
  display: flex !important;
  flex-direction: column;
  height: 100%;
}

.contact-form-card form {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-form-card .btn.primary {
  margin-top: auto;
  /* Pushes button to baseline match with the info card */
}

.contact-attach {
  margin-top: 4px;
  padding: 14px 16px;
  border: 1px dashed var(--border);
  border-radius: 12px;
  background: rgba(15, 111, 107, 0.03);
}

.contact-attach-label {
  display: block;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.contact-attach-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.contact-attach-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 14px;
  cursor: pointer;
  box-sizing: border-box;
  margin: 0;
}

.contact-attach-summary {
  font-size: 13px;
  color: var(--sub);
}

.contact-attach-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-attach-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text);
}

.contact-attach-item .contact-attach-name {
  font-size: 13px;
  color: var(--text);
}

.contact-attach-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #dc3545;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
}

.contact-attach-clear:hover {
  background: #dc3545;
  color: #fff;
}

.contact-attach-name {
  font-size: 13px;
  color: var(--sub);
}

.contact-attach-help {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--sub);
  line-height: 1.6;
}

.contact-map {
  position: relative;
  margin-top: 4px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  line-height: 0;
}

.contact-map iframe {
  display: block;
  /* Lock the map — disables click/drag/scroll-zoom on the embed.
     The pin overlay sits above and re-enables its own pointer events. */
  pointer-events: none;
}

.contact-map-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 36px;
  height: 50px;
  display: block;
  /* Anchor so the pin tip (bottom-centre) lands on the map's centre. */
  transform: translate(-50%, -100%);
  transform-origin: 50% 100%;
  cursor: pointer;
  pointer-events: auto;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.35));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.contact-map-pin:hover,
.contact-map-pin:focus-visible {
  transform: translate(-50%, -100%) scale(1.08);
  filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.4));
  outline: none;
}

.contact-map-pin-shape {
  display: block;
  width: 100%;
  height: 100%;
}


/*specifically for the contact info items on the right */
.contact-info-card {
  display: flex !important;
  align-items: center;
  gap: 20px;
  padding: 24px !important;
}

/* Removed watermarks */

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(15, 111, 107, .09), rgba(72, 183, 173, .12));
  border: 1px solid rgba(15, 111, 107, .18);
}

.cta h3 {
  margin: 0;
  font-size: 20px
}

.cta p {
  margin: 6px 0 0 0;
  color: var(--sub)
}

.footer {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  color: var(--sub);
}

.footer .cols {
  display: grid;
  grid-template-columns: auto auto auto;
  grid-template-rows: repeat(4, 25px);
  align-items: start;
  justify-content: space-between;
  width: 100%;
  column-gap: 40px;
  row-gap: 3px;
}

.footer .cols>div {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
}

.footer .cols>div>*,
.footer .cols>div>p {
  line-height: 1.6;
  margin: 0;
  align-self: center;
}

.footer .cols img[alt="Tax Cottage"] {
  height: 32px !important;
  width: auto !important;
}


.small {
  font-size: 13px;
  color: var(--text);
}

.why {
  font-size: 15px;
  color: var(--text);
}

.line {
  font-size: 13px;
  color: #ffffff;
  font-weight: 500;
  padding-left: 17px
}

.form {
  display: grid;
  gap: 12px;
}

.input,
textarea,
select {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  font: inherit;
  background: white;
  color: var(--text);
}

select.input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232f4a4a' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

select.input:focus {
  outline: none;
  border-color: var(--brand);
}

select.input option {
  padding: 10px;
}

textarea {
  min-height: 120px;
  resize: vertical
}

hr.sep {
  border: none;
  border-top: 1px solid var(--border);
  margin: 18px 0
}

.note {
  padding: 14px;
  border-radius: 16px;
  border: 1px dashed rgba(15, 111, 107, .35);
  background: rgba(72, 183, 173, .08);
  color: var(--sub);
}

.contact-grid {
  grid-template-columns: 1fr 1fr;
}

.about-map {
  float: right;
  width: 280px;
  max-width: 36%;
  margin: 0 0 1rem 2.5rem;
  shape-outside: margin-box;
}

.about-map img {
  width: 100%;
  height: auto;
  display: block;
}

.about-sep+p {
  clear: right;
}

.about-map-mobile {
  display: none;
}

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr
  }

  .grid {
    grid-template-columns: 1fr
  }

  .contact-grid {
    grid-template-columns: 1fr !important
  }

  .about-map:not(.about-map-mobile) {
    display: none;
  }

  .about-map.about-map-mobile {
    display: block;
    float: none;
    width: 100%;
    max-width: 280px;
    margin: 1rem auto 1.5rem auto;
  }

  .about-sep {
    display: none;
  }

  .kpis {
    margin-top: 16px;
    padding: 8px 0;
  }

  .kpi {
    padding: 0 18px;
  }

  /* Service cards: tighter sizing on phones. The 380px desktop height looks
     awkwardly tall when each card spans the full viewport width. */
  .card-container {
    height: 360px;
  }

  .card-front,
  .card-back {
    padding: 22px 20px;
  }

  .card-header {
    gap: 12px;
  }

  .card-header .icon {
    width: 50px;
    height: 50px;
  }

  .card-header .icon img:not([src*="Bookkeeping_new"]):not([src*="New Icons"]),
  .card-header .icon img[src*="Bookkeeping_new"],
  .card-header .icon img[src*="New Icons"] {
    width: 36px;
    height: 36px;
  }

  .card-header h3 {
    font-size: 16px;
  }

  .service-desc {
    font-size: 13px;
  }

  .card-back li {
    font-size: 13px;
    margin-bottom: 6px;
  }

  .footer .cols {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    row-gap: 28px;
    justify-content: flex-start;
    text-align: left;
  }

  .footer .cols>div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    grid-row: auto;
    row-gap: 8px;
    text-align: left;
  }

  /* The desktop rule sets align-self: center (so items vertically centre in
     their subgrid row). In mobile flex-column that translates to horizontal
     centring — explicitly reset here. */
  .footer .cols>div>*,
  .footer .cols>div>p {
    align-self: flex-start;
  }

}

/* Mobile spacing for hero content */
@media (max-width: 768px) {
  .hero-card {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero .content {
    padding-top: 110px;
    padding-bottom: 40px;
  }

  /* Allow the rotating word + heading to wrap inside the viewport.
     Without this, min-width: 18ch + the longest phrase ("Accounting and Taxation")
     pushes the heading wider than the screen on narrow phones. */
  .hero-rotate {
    min-width: 0;
    display: inline;
  }

  .hero h1,
  .hero p {
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .scroll-down-btn {
    width: 40px;
    height: 40px;
  }

  .scroll-down-btn img {
    width: 20px;
    height: 20px;
  }

  .badge {
    font-size: 11px;
    padding: 6px 10px;
  }

  .badges {
    gap: 7px;
  }

  .hero .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .cta>div:last-child {
    width: 100%;
    justify-content: flex-start !important;
  }

  .cta>div:last-child .btn {
    width: 100%;
    justify-content: center;
  }

  .note {
    font-size: 14px;
    padding: 12px;
  }

  .card {
    padding: 18px;
  }
}

.freepik-link {
  color: #1a73e8;
  /* أزرق */
  font-weight: 500;
  text-decoration: none;
}

.freepik-link:hover {
  text-decoration: underline;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.card-header .icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.btn.primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-icon {
  width: 25px;
  height: 25px;
  display: inline-block;
  flex: 0 0 auto;
  color: #fff;
  /* لأن الزر primary غالباً خلفيته غامقة */
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: #fff;
  width: 100%;
  max-width: 420px;
  border-radius: 18px;
  padding: 24px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
}

.modal h3 {
  margin: 0 0 6px;
  font-size: 22px;
}

.modal-sub {
  margin: 0 0 18px;
  color: #666;
  font-size: 14px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

.modal-form .field {
  margin-bottom: 14px;
}

.modal-form label {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
  color: #444;
}

.modal-form input,
.modal-form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.modal-form input:focus,
.modal-form textarea:focus {
  outline: none;
  border-color: #2aa89d;
}

.btn.full {
  width: 100%;
}

.small-bold {
  font-weight: 400;
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

/* Fix sticky header covering anchor targets when scrolling */
[id] {
  scroll-margin-top: 120px;
}

/* Mobile uses a much shorter header, so the desktop scroll-margin
   leaves the previous section's tail visible. Tighten it on small
   screens so anchor jumps (e.g. hero "scroll down" → #about) land
   flush at the top of the target section. */
@media (max-width: 900px) {
  [id] { scroll-margin-top: 70px; }
}

.explore-animate {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 26px;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  border-radius: 999px;
  font-weight: 500;
  transition: all 0.25s ease;
}

/* ===============================
   Explore Button (Hero Section)
   =============================== */

.explore-animate {
  display: inline-flex;
  align-items: center;
  gap: 14px;

  /* نص Explore */
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.2px;

  /* نحافظ على ستايل الزر الأصلي */
  text-decoration: none;
}

/* دائرة الأيقونة */
.explore-animate .icon {
  width: 38px;
  /* حجم الدائرة */
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);

  display: flex;
  align-items: center;
  justify-content: center;

  transition: transform 0.25s ease, background 0.25s ease;
}

/* SVG داخل الدائرة */
.explore-animate .icon svg {
  width: 18px;
  /* حجم الأيقونة */
  height: 18px;
  fill: #ffffff;
}

/* Hover effect */
.explore-animate:hover .icon {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.35);
}

/* تحسين لموبايل */
@media (max-width: 768px) {
  .explore-animate {
    font-size: 17px;
  }

  .explore-animate .icon {
    width: 34px;
    height: 34px;
  }

  .explore-animate .icon svg {
    width: 16px;
    height: 16px;
  }
}

/* Fix Explore hover override */
.explore-animate:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
}


/* Hover effect */
.explore-animate:hover {
  background: rgba(255, 255, 255, .28);
}

/* Arrow slide animation */
.explore-animate:hover::after {
  transform: translateX(4px);
}

/* Header layout */
.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

/* Transparent Header Integration */
.site-header.transparent-header {
  position: fixed;
  width: 100%;
}

.site-header.transparent-header:not(.is-scrolled) {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}

.site-header.transparent-header:not(.is-scrolled) .site-brand img {
  filter: brightness(0) invert(1);
}

.site-header.transparent-header:not(.is-scrolled) .mobile-toggle:not(.is-open) {
  background: rgba(255, 255, 255, .15);
  color: #fff;
  border-color: rgba(255, 255, 255, .25);
}

@media (min-width: 901px) {
  .site-header.transparent-header:not(.is-scrolled) .main-nav a {
    color: #ffffff;
  }

  .site-header.transparent-header:not(.is-scrolled) .main-nav a:hover {
    color: rgba(255, 255, 255, .8);
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
}

/* Logo */
.site-brand {
  padding: 15px 0;
}

.site-brand img {
  height: 90px;
  width: auto;
  transition: height 0.3s ease;
}

/* Right side */
.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Navigation */
.main-nav {
  display: flex;
  gap: 40px;
  align-items: center;
}

.main-nav a {
  color: var(--sub);
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--brand);
}

@media (min-width: 901px) {
  .main-nav a:not(.nav-phone-link) {
    position: relative;
    /* Balanced top/bottom padding so the underline sits below the text
       without pushing the link up relative to the other header items. */
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .main-nav a:not(.nav-phone-link)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background: currentColor;
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.3s cubic-bezier(0.65, 0, 0.35, 1);
  }

  .main-nav a:not(.nav-phone-link):hover::after,
  .main-nav a:not(.nav-phone-link).active::after {
    transform: scaleX(1);
  }

  .main-nav a:not(.nav-phone-link).active::after {
    transform-origin: left center;
  }
}



/* New Header Buttons */
.header-contact {
  display: flex;
  gap: 12px;
  align-items: center;

}

.new-header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  border: 1px solid var(--brand);
  transition: all 0.25s ease;
  text-decoration: none;
}

.new-header-btn.circle {
  width: 44px;
  height: 44px;
  margin-left: 12px;
  border-radius: 50%;
}

.new-header-btn.calendar-btn {
  height: 44px;
  padding: 0 18px;
  margin-left: 12px;
  border-radius: 999px;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.calendar-btn-text {
  color: #fff;
  font-weight: 700;
}

.new-header-btn.phone {
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.2px;
}


/* Normal State */
.new-header-btn {
  color: #fff !important;
}

.new-header-btn span {
  color: #fff !important;
}

.new-header-btn img,
.new-header-btn svg {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
}

.new-header-btn.phone img {
  width: 24px;
  height: 24px;
}

.new-header-btn img {
  filter: brightness(0) invert(1);
}

.nav-phone-link img {
  filter: brightness(0) invert(1);
}

.cal-icon {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 22px;
  height: 24px;
  border: 1.5px solid #fff;
  border-radius: 4px;
  box-sizing: border-box;
  background: transparent;
}

.cal-icon::before,
.cal-icon::after {
  content: "";
  position: absolute;
  top: -5px;
  width: 3px;
  height: 14px;
  background: #fff;
  border-radius: 1.5px;
  z-index: 1;
}

.cal-icon::before {
  left: 4px;
}

.cal-icon::after {
  right: 4px;
}

.new-header-btn .cal-icon-month,
.new-header-btn:hover .cal-icon-month,
.nav-book-link .cal-icon-month {
  flex: 0 0 9px;
  background: #fff;
  color: var(--brand) !important;
  font-size: 7px;
  font-weight: 900;
  text-align: center;
  line-height: 9px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-family: system-ui, -apple-system, sans-serif;
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
  position: relative;
  z-index: 2;
}

.cal-icon-day {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 650;
  line-height: 1;
  color: #fff;
  font-family: system-ui, -apple-system, sans-serif;
}

/* Hover State */
.new-header-btn:hover {
  background: var(--brand-dark);
  /* Darker teal for better contrast with white icons */
  border-color: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10, 74, 71, 0.3);
}

.new-header-btn:hover span {
  color: #fff !important;
}

.new-header-btn:hover img,
.new-header-btn:hover svg {
  /* Icons stay white on hover */
  filter: brightness(0) invert(1);
}

/* Mobile Toggle - Desktop Hidden */
.mobile-toggle {
  display: none;
}

.nav-phone-link {
  display: none;
}

.nav-book-link {
  display: none;
}

/* Mobile Menu Backdrop */
.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}

.menu-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile responsive redesign */
@media (max-width: 900px) {

  .site-brand {
    padding: 8px 0;
  }

  .site-brand img {
    height: 62px;
  }

  .header-right {
    gap: 8px;
  }

  .header-contact {
    display: flex !important;
  }

  .header-contact .new-header-btn.phone {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
  }

  .header-contact .new-header-btn.phone span {
    display: none;
  }

  .new-header-btn.circle {
    width: 40px;
    height: 40px;
  }

  .new-header-btn.calendar-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    gap: 0;
  }

  .new-header-btn.calendar-btn .calendar-btn-text {
    display: none;
  }

  /* Beautiful modern hamburger toggle */
  .mobile-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--muted);
    color: var(--brand);
    font-size: 0;
    /* Hide the native text */
    border: 1px solid var(--border);
    cursor: pointer;
    z-index: 100000;
    position: relative;
    transition: transform 0.2s ease, background 0.2s ease;
  }

  /* Animated Hamburger Lines */
  .mobile-toggle::before,
  .mobile-toggle::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 2px;
    background-color: currentColor;
    transition: transform 0.3s ease-in-out, top 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    left: 50%;
    transform: translateX(-50%);
  }

  .mobile-toggle::before {
    top: calc(50% - 6px);
    box-shadow: 0 6px 0 currentColor;
    /* Middle line */
  }

  .mobile-toggle::after {
    top: calc(50% + 6px);
  }

  /* Active state (Menu Open) -> Transforms to 'X' */
  .mobile-toggle.is-open::before {
    top: 50%;
    box-shadow: 0 0 0 transparent;
    /* Hide middle line */
    transform: translateX(-50%) rotate(45deg);
  }

  .mobile-toggle.is-open::after {
    top: 50%;
    transform: translateX(-50%) rotate(-45deg);
  }

  .mobile-toggle:active {
    transform: scale(0.92);
    background: rgba(72, 183, 173, .12);
  }

  /* Flawless Side Drawer */
  .main-nav {
    display: grid !important;
    grid-auto-flow: row;
    grid-auto-rows: max-content;
    grid-template-columns: max-content;
    justify-content: start;
    row-gap: 8px;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100dvh;
    width: 280px;
    max-width: 85vw;
    background: #fff;
    padding: 95px 24px 30px 24px;
    box-shadow: -15px 0 50px rgba(0, 0, 0, .15);
    z-index: 99999;

    transform: translateX(100%);
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    visibility: hidden;
  }

  .main-nav.is-open {
    transform: translateX(0);
    pointer-events: auto;
    visibility: visible;
  }

  /* Mobile menu links styling */
  .main-nav a {
    padding: 16px 20px;
    border-radius: 999px;
    color: var(--text);
    font-weight: 600;
    font-size: 17px;
    transition: all 0.2s ease;
    text-align: left;
    display: block;
    background: transparent;
  }

  .nav-phone-link,
  .nav-book-link {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding: 12px 18px !important;
    border-radius: 999px !important;
    background: var(--brand) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
  }

  .nav-phone-link svg,
  .nav-phone-link img,
  .nav-book-link .cal-icon {
    flex-shrink: 0;
  }

  .nav-phone-link img {
    width: 22px;
    height: 22px;
  }

  .nav-phone-link:hover,
  .nav-book-link:hover {
    background: var(--brand-dark) !important;
    transform: none !important;
  }

  .main-nav a:hover,
  .main-nav a:active {
    background: rgba(72, 183, 173, .12);
    color: var(--brand);
    transform: translateX(6px);
  }
}

/* Scroll padding for anchor links - keeps heading visible */
#services {
  scroll-margin-top: 150px;
}




/* Prevent orphaned words in list items */
.card ul li {
  text-wrap: pretty;
  orphans: 2;
  widows: 2;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .kpis-track {
    animation: none !important;
  }
}