:root {
  --bg: #080d16;
  --bg-soft: #0e1624;
  --card: rgba(16, 24, 37, 0.72);
  --card-strong: rgba(18, 29, 45, 0.92);
  --text: #f6f9fb;
  --muted: #a2acb8;
  --line: rgba(255, 255, 255, 0.11);
  --gold: #f3ba25;
  --gold-2: #ffd65a;
  --green: #25d366;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
  z-index: 0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: Sora, Inter, sans-serif; line-height: 1.08; letter-spacing: 0; margin: 0; }
p { margin: 0; color: var(--muted); }
button, input, select, textarea { font: inherit; }

.site-shell { position: relative; z-index: 1; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.narrow { max-width: 850px; }
.section { padding: 110px 0; position: relative; }

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  width: min(var(--max), calc(100% - 28px));
  min-height: 68px;
  padding: 10px 12px 10px 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 22px;
  background: rgba(8, 13, 22, .68);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .3);
  animation: headerIn .75s cubic-bezier(.22, 1, .36, 1) both;
}
.site-header.is-scrolled { background: rgba(8, 13, 22, .9); border-color: rgba(243, 186, 37, .24); }
.brand img { height: 44px; width: auto; object-fit: contain; }
.desktop-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.desktop-nav a {
  padding: 10px 9px;
  color: var(--muted);
  font-size: 13px;
  transition: color .2s ease, transform .2s ease;
}
.desktop-nav a:hover { color: var(--text); transform: translateY(-1px); }
.nav-cta, .button, .menu-button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 21px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 800;
  transition:
    transform .42s cubic-bezier(.22, 1, .36, 1),
    box-shadow .42s cubic-bezier(.22, 1, .36, 1),
    background .42s cubic-bezier(.22, 1, .36, 1),
    color .42s cubic-bezier(.22, 1, .36, 1),
    border-color .42s cubic-bezier(.22, 1, .36, 1);
}
.nav-cta::before, .button::before, .menu-button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  border-radius: inherit;
  background: linear-gradient(135deg, #D4AF37 0%, #FFD700 48%, #f2b100 100%);
  opacity: 0;
  transition: opacity .42s cubic-bezier(.22, 1, .36, 1);
}
.nav-cta::after, .button::after, .menu-button::after {
  content: "";
  position: absolute;
  top: -45%;
  bottom: -45%;
  left: -75%;
  z-index: -1;
  width: 48%;
  transform: skewX(-22deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .56), transparent);
  opacity: 0;
}
.button.primary, .nav-cta {
  color: #09101a;
  background: linear-gradient(135deg, var(--gold-2), #e69a00);
  box-shadow: 0 14px 38px rgba(243, 186, 37, .28);
}
.button.ghost {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, .05);
}
.button:hover, .nav-cta:hover, .menu-button:hover {
  color: #07101b;
  border-color: rgba(255, 215, 0, .72);
  background: linear-gradient(135deg, #D4AF37 0%, #FFD700 48%, #f2b100 100%);
  box-shadow: 0 18px 46px rgba(255, 215, 0, .34), 0 0 0 1px rgba(255, 215, 0, .2);
  transform: translateY(-3px) scale(1.03);
}
.button:hover::before, .nav-cta:hover::before, .menu-button:hover::before { opacity: 1; }
.button:hover::after, .nav-cta:hover::after, .menu-button:hover::after {
  opacity: .78;
  animation: buttonShine .95s cubic-bezier(.22, 1, .36, 1);
}
.menu-button { display: none; margin-left: auto; width: 46px; height: 46px; min-height: 46px; padding: 0; border-color: transparent; border-radius: 14px; background: rgba(255,255,255,.06); color: var(--text); }
.menu-button span { position: relative; z-index: 1; display: block; width: 20px; height: 2px; margin: 5px auto; background: currentColor; transition: transform .32s cubic-bezier(.22, 1, .36, 1), opacity .32s cubic-bezier(.22, 1, .36, 1); }
.menu-button.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-button.is-open span:nth-child(2) { opacity: 0; }
.menu-button.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav {
  position: fixed;
  top: 94px;
  left: 20px;
  right: 20px;
  z-index: 19;
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid rgba(243, 186, 37, .22);
  border-radius: 18px;
  background: rgba(8, 13, 22, .96);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  transform: translateY(-16px) scale(.98);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.mobile-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.mobile-nav a { padding: 12px 14px; color: var(--muted); border-radius: 12px; }
.mobile-nav a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.mobile-nav a.button:hover {
  color: #07101b;
  background: linear-gradient(135deg, #D4AF37 0%, #FFD700 48%, #f2b100 100%);
}

.hero {
  min-height: 100vh;
  padding-top: 155px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at top left, rgba(37, 67, 145, .55), transparent 58%),
    radial-gradient(ellipse at bottom right, rgba(243, 186, 37, .13), transparent 50%);
}
.grid-lines {
  position: absolute;
  inset: 0;
  opacity: .07;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, #000 42%, transparent 75%);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
  animation: float 9s ease-in-out infinite;
}
.orb-one { width: 440px; height: 440px; top: -120px; left: -130px; background: #294ec2; }
.orb-two { width: 520px; height: 520px; right: -170px; top: 26%; background: rgba(243, 186, 37, .42); animation-delay: -2s; }
.orb-three { width: 360px; height: 360px; left: 35%; bottom: -130px; background: #0e358d; animation-delay: -4s; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; gap: 70px; align-items: center; }
.eyebrow, .kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gold);
  border: 1px solid rgba(243, 186, 37, .2);
  background: rgba(243, 186, 37, .08);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px rgba(243,186,37,.12); }
.eyebrow.compact { text-transform: none; letter-spacing: 0; }
.hero h1 { margin-top: 24px; font-size: clamp(44px, 6vw, 82px); max-width: 780px; }
h1 span, h2 span, .stats-panel span, .grand b {
  color: transparent;
  background: linear-gradient(135deg, #fff0a8, var(--gold), #e28f00);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-text { margin-top: 24px; max-width: 640px; font-size: 18px; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.trust-pills { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.trust-pills span {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  color: #dce3ec;
  font-size: 12px;
}

.dashboard-card, .tax-invoice, .contact-form, .service-card, .why-card, .price-card, .testimonial-grid article, .faq-list details, .module-grid article, .team-card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}
.dashboard-card {
  position: relative;
  border-radius: 24px;
  padding: 20px;
  transform-style: preserve-3d;
  animation: dashboardIn .9s cubic-bezier(.22, 1, .36, 1) .15s both;
}
.window-bar { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.window-bar div { display: flex; gap: 7px; }
.window-bar span { width: 11px; height: 11px; border-radius: 50%; background: #f05c67; }
.window-bar span:nth-child(2) { background: var(--gold); }
.window-bar span:nth-child(3) { background: #54d894; }
.metric-row, .invoice-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.metric-row article, .invoice-mini article, .chart-card { border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.035); padding: 14px; }
.metric-row small, .chart-head small, .invoice-mini span, .tax-invoice small, .tax-invoice span { color: var(--muted); }
.metric-row strong { display: block; margin-top: 4px; font-size: 18px; }
.metric-row em { color: #54d894; font-style: normal; font-size: 12px; }
.chart-card { margin-top: 14px; }
.chart-head { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 13px; }
.chart-line { fill: none; stroke: var(--gold); stroke-width: 3; stroke-dasharray: 500; stroke-dashoffset: 500; animation: drawLine 1.8s ease .7s forwards; }
.chart-fill { fill: url(#chartFill); opacity: 0; animation: fadeIn .8s ease 1.4s forwards; }
.invoice-mini { grid-template-columns: 1fr 1fr; }
.invoice-mini p { display: flex; justify-content: space-between; margin-top: 7px; font-size: 12px; }
.qr-box {
  min-height: 94px;
  background:
    linear-gradient(90deg, #fff 48%, transparent 0) 0 0/18px 18px,
    linear-gradient(#fff 48%, transparent 0) 0 0/18px 18px,
    #0a0f19;
  border-radius: 12px;
  border: 8px solid #eef4fb;
  opacity: .92;
}
.floating-note {
  position: absolute;
  padding: 10px 13px;
  border: 1px solid rgba(243, 186, 37, .22);
  border-radius: 14px;
  background: rgba(13, 20, 31, .88);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  color: #edf4fb;
  font-size: 12px;
  animation: float 5s ease-in-out infinite;
}
.note-one { top: -22px; left: -18px; }
.note-two { right: -20px; bottom: -20px; animation-delay: -1.5s; }
.note-three { right: -44px; top: 50%; animation-delay: -3s; }

.stats-panel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 88px;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255,255,255,.045);
  backdrop-filter: blur(16px);
}
.stats-panel article { padding: 28px 18px; text-align: center; border-right: 1px solid var(--line); }
.stats-panel article:last-child { border-right: 0; }
.stats-panel span { display: block; font-family: Sora, sans-serif; font-size: clamp(34px, 4vw, 50px); font-weight: 800; }
.stats-panel small { display: block; margin-top: 4px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: 11px; }

.client-strip { padding: 44px 0; border-block: 1px solid var(--line); background: rgba(255,255,255,.035); overflow: hidden; }
.client-strip p { text-align: center; text-transform: uppercase; letter-spacing: .18em; font-size: 12px; }
.marquee { margin-top: 26px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee div { display: flex; gap: 14px; width: max-content; animation: marquee 26s linear infinite; }
.marquee span { white-space: nowrap; padding: 11px 22px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.045); color: #dce4ed; }

.section-heading { text-align: center; max-width: 780px; margin: 0 auto 56px; }
.section-heading h2, .two-column h2, .contact h2 { margin-top: 18px; font-size: clamp(36px, 5vw, 62px); }
.section-heading p:not(.kicker), .two-column > div > p, .contact-grid > div > p { margin: 18px auto 0; max-width: 690px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.services-grid { grid-template-columns: repeat(4, 1fr); }
.service-card, .why-card { border-radius: var(--radius); padding: 26px; min-height: 250px; transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.service-card:hover, .why-card:hover, .module-grid article:hover, .testimonial-grid article:hover { transform: translateY(-8px); border-color: rgba(243,186,37,.42); background: linear-gradient(145deg, rgba(243,186,37,.1), rgba(255,255,255,.035)); }
.service-card .icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: rgba(243,186,37,.11); border: 1px solid rgba(243,186,37,.22); color: var(--gold); font-weight: 900; }
.service-card h3, .why-card h3 { margin-top: 20px; font-size: 19px; }
.service-card p, .why-card p { margin-top: 12px; font-size: 14px; }
.service-card a { display: inline-flex; margin-top: 22px; color: var(--gold); font-weight: 800; font-size: 14px; }

.compliance, .modules, .contact { background: radial-gradient(ellipse at center, rgba(26, 57, 125, .36), transparent 70%); }
.two-column, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; }
.feature-list span { padding: 13px 14px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.045); font-size: 14px; }
.tax-invoice {
  max-width: 448px;
  margin-inline: auto;
  border-color: rgba(128, 151, 190, .22);
  border-radius: 22px;
  padding: 28px;
  background:
    radial-gradient(circle at 26% 22%, rgba(29, 58, 126, .28), transparent 38%),
    linear-gradient(145deg, rgba(18, 31, 58, .98), rgba(11, 20, 38, .98));
  box-shadow: 0 28px 70px rgba(0, 0, 0, .46), inset 0 1px 0 rgba(255,255,255,.04);
  animation: float 6s ease-in-out infinite;
}
.invoice-head, .invoice-foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.invoice-head small {
  display: block;
  color: #8f9db1;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.invoice-head strong {
  display: block;
  margin-top: 2px;
  color: #f4f7fb;
  font-family: Sora, Inter, sans-serif;
  font-size: 22px;
  line-height: 1.1;
}
.invoice-head span {
  display: block;
  margin-top: 5px;
  color: #9ba8bb;
  font-size: 12px;
  font-weight: 700;
}
.invoice-head em {
  display: block;
  margin-top: 16px;
  color: #a4afc0;
  font-size: 11px;
  font-style: italic;
  font-weight: 700;
}
.invoice-number {
  padding-top: 17px;
  text-align: right;
}
.invoice-number strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0;
}
.tax-invoice ul {
  list-style: none;
  padding: 24px 0 0;
  margin: 0;
}
.tax-invoice li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.tax-invoice li span {
  color: #d5dce7;
  font-size: 15px;
  font-weight: 800;
}
.tax-invoice li b, .total-lines b {
  color: #f7f9fc;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  letter-spacing: .01em;
  white-space: nowrap;
}
.total-lines {
  padding-top: 11px;
}
.total-lines p {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 2px 0;
  border-bottom: 0;
}
.total-lines span {
  color: #9ba8bb;
  font-size: 16px;
  font-weight: 700;
}
.total-lines .grand span {
  color: #b9c2cf;
  font-size: 17px;
  font-weight: 900;
}
.grand b {
  color: #ffb400;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  font-size: 15px;
  font-weight: 900;
}
.invoice-foot {
  align-items: end;
  margin-top: 23px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.invoice-foot span {
  color: #a3aebe;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.55;
}
.invoice-foot .qr-box {
  width: 80px;
  min-height: 80px;
  flex: 0 0 auto;
  border-width: 5px;
  border-radius: 5px;
  background-size: 13px 13px;
}

.module-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.module-grid article { min-height: 150px; border-radius: 17px; padding: 25px; font-family: Sora, sans-serif; font-weight: 800; transition: transform .25s ease, border-color .25s ease; }
.module-grid small { display: block; margin-top: 12px; color: var(--muted); font-family: Inter, sans-serif; font-weight: 600; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card { position: relative; border-radius: 22px; padding: 30px; display: flex; flex-direction: column; }
.price-card.featured { border-color: rgba(243,186,37,.5); background: linear-gradient(160deg, rgba(243,186,37,.14), rgba(255,255,255,.04)); }
.popular { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 7px 14px; border-radius: 999px; background: var(--gold); color: #09101a; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.price-card h3 { color: var(--muted); font-size: 15px; }
.price-card strong { margin-top: 16px; font-family: Sora, sans-serif; font-size: 42px; }
.price-card small { color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.price-card p { margin-top: 12px; }
.price-card ul { padding: 0; margin: 24px 0 28px; list-style: none; flex: 1; }
.price-card li { padding: 8px 0 8px 24px; position: relative; color: #dfe6ee; font-size: 14px; }
.price-card li::before { content: ""; position: absolute; left: 0; top: 15px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

.team-section {
  overflow: hidden;
  background:
    radial-gradient(ellipse at 40% 40%, rgba(255, 215, 0, .08), transparent 35%),
    radial-gradient(ellipse at 50% 15%, rgba(28, 61, 136, .42), transparent 62%);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  position: relative;
  min-height: 360px;
  padding: 28px 24px;
  border-radius: 20px;
  text-align: center;
  overflow: hidden;
  transition:
    transform .42s cubic-bezier(.22, 1, .36, 1),
    border-color .42s cubic-bezier(.22, 1, .36, 1),
    background .42s cubic-bezier(.22, 1, .36, 1),
    box-shadow .42s cubic-bezier(.22, 1, .36, 1);
}
.team-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 0%, rgba(255, 215, 0, .16), transparent 42%);
  opacity: 0;
  transition: opacity .42s cubic-bezier(.22, 1, .36, 1);
}
.team-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 215, 0, .38);
  background: linear-gradient(145deg, rgba(255, 215, 0, .095), rgba(255,255,255,.032));
  box-shadow: 0 24px 70px rgba(0,0,0,.42), 0 0 42px rgba(255, 215, 0, .12);
}
.team-card:hover::before { opacity: 1; }
.team-avatar {
  position: relative;
  z-index: 1;
  width: 114px;
  height: 114px;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  border-radius: 50%;
  color: #FFD700;
  font-family: Sora, Inter, sans-serif;
  font-size: 31px;
  font-weight: 800;
  background: linear-gradient(135deg, #f1a000 0%, #f0a000 48%, #7e8bb2 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 20px 45px rgba(0,0,0,.22);
}
.team-card h3, .team-card strong, .team-card p, .team-social { position: relative; z-index: 1; }
.team-card h3 {
  font-size: 20px;
  color: #f5f8fd;
}
.team-card strong {
  display: block;
  min-height: 42px;
  margin-top: 8px;
  color: #FFD700;
  font-size: 12px;
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.team-card p {
  max-width: 245px;
  margin: 14px auto 0;
  font-size: 15px;
}
.team-social {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-top: 24px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  color: #f6f9fb;
  font-size: 13px;
  font-weight: 900;
  transition:
    transform .42s cubic-bezier(.22, 1, .36, 1),
    box-shadow .42s cubic-bezier(.22, 1, .36, 1),
    background .42s cubic-bezier(.22, 1, .36, 1),
    color .42s cubic-bezier(.22, 1, .36, 1);
}
.team-social:hover {
  color: #07101b;
  background: linear-gradient(135deg, #D4AF37 0%, #FFD700 48%, #f2b100 100%);
  box-shadow: 0 14px 34px rgba(255, 215, 0, .3);
  transform: translateY(-3px) scale(1.03);
}

.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.testimonial-grid article { border-radius: 20px; padding: 28px; transition: transform .25s ease, border-color .25s ease; }
.testimonial-grid strong { color: var(--gold); letter-spacing: .1em; }
.testimonial-grid p { margin-top: 16px; color: #eef3f8; }
.testimonial-grid small { display: block; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); }
.faq-list { display: grid; gap: 13px; }
.faq-list details { border-radius: 16px; overflow: hidden; }
.faq-list summary { cursor: pointer; list-style: none; padding: 20px 24px; font-weight: 800; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list details[open] { border-color: rgba(243,186,37,.36); }
.faq-list p { padding: 0 24px 22px; }

.contact-grid { align-items: start; }
.contact-cards { display: grid; gap: 14px; margin-top: 30px; }
.contact-cards a, .contact-cards div {
  display: block;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255,255,255,.045);
  transition: border-color .2s ease, transform .2s ease;
}
.contact-cards a:hover { border-color: rgba(243,186,37,.36); transform: translateY(-2px); }
.contact-cards small { display: block; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: 10px; }
.contact-cards b { display: block; margin-top: 4px; font-size: 14px; }
iframe { width: 100%; height: 260px; margin-top: 22px; border: 1px solid var(--line); border-radius: 18px; filter: saturate(.9) contrast(1.02); }
.contact-form { border-radius: 24px; padding: 30px; display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 8px; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255,255,255,.05);
  color: var(--text);
  padding: 13px 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
select option { background: #101825; }
textarea { resize: vertical; min-height: 130px; }
input:focus, select:focus, textarea:focus { border-color: rgba(243,186,37,.62); box-shadow: 0 0 0 4px rgba(243,186,37,.1); }
.form-status { min-height: 22px; font-size: 14px; color: #77e0a1; }

.site-footer { padding: 70px 0 28px; border-top: 1px solid var(--line); background: rgba(255,255,255,.035); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-grid h3 { margin-bottom: 14px; color: var(--gold); font-size: 13px; text-transform: uppercase; letter-spacing: .16em; }
.footer-logo {
  width: 118px;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}
.footer-grid a, .footer-grid p { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; }
.footer-grid a:hover { color: var(--text); }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 18px; color: var(--muted); font-size: 12px; }
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 18;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(37,211,102,.45);
  animation: popIn .7s cubic-bezier(.22,1,.36,1) 1s both;
  transition:
    transform .42s cubic-bezier(.22, 1, .36, 1),
    box-shadow .42s cubic-bezier(.22, 1, .36, 1),
    background .42s cubic-bezier(.22, 1, .36, 1),
    color .42s cubic-bezier(.22, 1, .36, 1);
}
.whatsapp-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
  z-index: 1;
  transform: scale(1.52);
}
.whatsapp-float::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--green); opacity: .42; animation: ping 1.8s ease-out infinite; z-index: -1; }
.whatsapp-float:hover {
  color: #07101b;
  background: linear-gradient(135deg, #D4AF37 0%, #FFD700 48%, #f2b100 100%);
  box-shadow: 0 18px 46px rgba(255, 215, 0, .34), 0 0 0 1px rgba(255, 215, 0, .2);
  transform: translateY(-3px) scale(1.03);
}
.whatsapp-float:hover::after { background: #FFD700; }

.editor-panel {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 25;
  width: min(260px, calc(100vw - 44px));
  border: 1px solid rgba(255, 215, 0, .2);
  border-radius: 18px;
  background: rgba(8, 13, 22, .88);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 52px rgba(0, 0, 0, .42);
  overflow: hidden;
}
.editor-toggle {
  width: 100%;
  min-height: 44px;
  border: 0;
  background: linear-gradient(135deg, #D4AF37, #FFD700);
  color: #07101b;
  font-weight: 900;
  cursor: pointer;
}
.editor-tools {
  display: none;
  gap: 8px;
  padding: 12px;
}
.editor-panel.is-open .editor-tools {
  display: grid;
}
.editor-tools p {
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 12px;
}
.editor-tools button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform .35s cubic-bezier(.22, 1, .36, 1),
    box-shadow .35s cubic-bezier(.22, 1, .36, 1),
    background .35s cubic-bezier(.22, 1, .36, 1),
    color .35s cubic-bezier(.22, 1, .36, 1);
}
.editor-tools button:hover {
  color: #07101b;
  background: linear-gradient(135deg, #D4AF37 0%, #FFD700 48%, #f2b100 100%);
  box-shadow: 0 12px 30px rgba(255, 215, 0, .24);
  transform: translateY(-2px) scale(1.02);
}
.is-editing [data-editable="true"] {
  outline: 1px dashed rgba(255, 215, 0, .38);
  outline-offset: 4px;
  border-radius: 6px;
  cursor: text;
}
.is-editing [data-editable="true"]:focus {
  outline: 2px solid rgba(255, 215, 0, .8);
  background: rgba(255, 215, 0, .08);
}
.edit-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 30;
  transform: translateX(-50%) translateY(12px);
  padding: 10px 14px;
  border: 1px solid rgba(255, 215, 0, .24);
  border-radius: 999px;
  background: rgba(8, 13, 22, .94);
  color: #f6f9fb;
  box-shadow: 0 14px 34px rgba(0,0,0,.36);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.edit-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .72s ease, transform .72s cubic-bezier(.22,1,.36,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes headerIn { from { opacity: 0; transform: translate(-50%, -24px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes dashboardIn { from { opacity: 0; transform: translateY(30px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
@keyframes ping { 75%,100% { transform: scale(1.8); opacity: 0; } }
@keyframes buttonShine { from { left: -75%; } to { left: 128%; } }

@media (max-width: 1100px) {
  .desktop-nav, .nav-cta { display: none; }
  .menu-button { display: block; }
  .hero-grid, .two-column, .contact-grid { grid-template-columns: 1fr; }
  .dashboard-card { max-width: 680px; margin: 0 auto; }
  .services-grid, .card-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .note-three { display: none; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, var(--max)); }
  .section { padding: 78px 0; }
  .site-header { top: 10px; width: calc(100% - 20px); min-height: 62px; border-radius: 18px; }
  .brand img { height: 38px; }
  .hero { padding-top: 118px; }
  .hero h1 { font-size: clamp(39px, 12vw, 58px); }
  .hero-actions .button { width: 100%; }
  .metric-row, .stats-panel, .pricing-grid, .testimonial-grid, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .stats-panel article { border-right: 0; border-bottom: 1px solid var(--line); }
  .stats-panel article:last-child { border-bottom: 0; }
  .services-grid, .card-grid, .module-grid, .feature-list, .team-grid { grid-template-columns: 1fr; }
  .floating-note { position: static; display: inline-block; margin: 12px 8px 0 0; }
  .invoice-head, .invoice-foot, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .tax-invoice, .contact-form { padding: 22px; border-radius: 20px; }
  .client-strip { padding: 34px 0; }
  .editor-panel {
    left: 14px;
    bottom: 14px;
    width: min(230px, calc(100vw - 92px));
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
