/* ==========================================================================
   MB "Dianega" — Premium light fintech-style accounting site
   Color system derived from the brand logo (primary blue #0082C9).
   ========================================================================== */

:root {
  /* palette — derived from the MB "Dianega" logo blue (#0082C9) */
  --primary: #0082c9;
  --primary-light: #3fa9e0;
  --primary-dark: #045d93;
  --accent: #0a2a43;        /* deep navy — footer, premium dark elements only */
  --background: #ffffff;
  --surface: #f5f9fc;
  --surface-alt: #eef5fb;
  --text: #10202f;
  --muted: #5b6b7f;
  --border: #e1e9f1;

  --primary-tint: #eaf5fc;
  --white: #ffffff;

  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-bg-strong: rgba(255, 255, 255, 0.88);
  --glass-border: rgba(16, 32, 47, 0.08);
  --shadow-soft: 0 20px 55px -24px rgba(16, 32, 47, 0.16);
  --shadow-lift: 0 26px 60px -22px rgba(0, 130, 201, 0.28);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: 'Space Grotesk', 'Manrope', sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  --container-w: 1240px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; color: var(--muted); }
input, textarea, select { font: inherit; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
  z-index: 999;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- background decor ---------- */
.bg-decor { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(10,40,70,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,40,70,0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}
.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
}
.bg-orb--1 {
  width: 560px; height: 560px;
  top: -200px; right: -180px;
  background: radial-gradient(circle, rgba(0,130,201,0.16), transparent 70%);
}
.bg-orb--2 {
  width: 480px; height: 480px;
  bottom: 10%; left: -220px;
  background: radial-gradient(circle, rgba(63,169,224,0.14), transparent 70%);
}

/* ---------- soft 3D floating clouds ----------
   Purely decorative, white/soft/blurred "cloud" blobs layered into the
   existing fixed .bg-decor background. Two-part structure per cloud:
   - .cloud (outer): positioned, receives the JS mouse-parallax transform
   - .cloud-inner: the actual blurred shape, runs the slow CSS float
   Splitting the two avoids the JS parallax transform and the CSS keyframe
   animation from overwriting each other. Never intercepts clicks
   (pointer-events: none is inherited from .bg-decor, set explicitly here
   too for safety), and sits behind all real content (.bg-decor z-index: 0,
   content z-index: 1). */
.cloud-field { position: absolute; inset: 0; pointer-events: none; }
.cloud {
  position: absolute;
  pointer-events: none;
  will-change: transform;
  transition: transform 0.6s linear;
}
.cloud-inner {
  width: 100%; height: 100%;
  border-radius: 48% 52% 55% 45% / 50% 45% 55% 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255,255,255,0.95), rgba(255,255,255,0.55) 55%, rgba(255,255,255,0) 78%);
  filter: blur(38px);
}

.cloud--1 { width: 460px; height: 320px; top: 4%; left: 6%; }
.cloud--1 .cloud-inner { animation: cloudFloatA 34s ease-in-out infinite; opacity: 0.8; }

.cloud--2 { width: 360px; height: 260px; top: 12%; right: 4%; }
.cloud--2 .cloud-inner { animation: cloudFloatB 40s ease-in-out infinite; opacity: 0.65; filter: blur(46px); }

.cloud--3 { width: 240px; height: 180px; top: 46%; left: 46%; }
.cloud--3 .cloud-inner { animation: cloudFloatC 28s ease-in-out infinite; opacity: 0.5; filter: blur(30px); }

.cloud--4 { width: 420px; height: 300px; top: 62%; right: 8%; }
.cloud--4 .cloud-inner { animation: cloudFloatD 38s ease-in-out infinite; opacity: 0.7; }

.cloud--5 { width: 300px; height: 220px; top: 82%; left: 10%; }
.cloud--5 .cloud-inner { animation: cloudFloatA 32s ease-in-out infinite reverse; opacity: 0.55; filter: blur(34px); }

.cloud--6 { width: 200px; height: 150px; top: 30%; left: 20%; }
.cloud--6 .cloud-inner { animation: cloudFloatC 26s ease-in-out infinite reverse; opacity: 0.4; filter: blur(26px); }

@keyframes cloudFloatA {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(18px, -14px, 0) scale(1.03); }
  100% { transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes cloudFloatB {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-20px, 12px, 0) scale(0.98); }
  100% { transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes cloudFloatC {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(10px, 16px, 0) scale(1.04); }
  100% { transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes cloudFloatD {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-14px, -18px, 0) scale(0.97); }
  100% { transform: translate3d(0, 0, 0) scale(1); }
}

/* Mobile: fewer, cheaper clouds — no mouse parallax (JS skips attaching it
   on touch devices), keep only the slow float. */
@media (max-width: 780px) {
  .cloud--3, .cloud--6 { display: none; }
  .cloud-inner { filter: blur(24px); }
}

/* Respect the OS-level reduced-motion preference: clouds stay put. */
@media (prefers-reduced-motion: reduce) {
  .cloud-inner { animation: none !important; }
  .cloud { transition: none !important; }
}

main, header, footer, section { position: relative; z-index: 1; }

/* ---------- typography helpers ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 12px;
}
.section-title {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  max-width: 720px;
}
.section-lead {
  font-size: 1.05rem;
  max-width: 620px;
  margin-bottom: 8px;
}

section { padding: 96px 0; }
@media (max-width: 768px) { section { padding: 64px 0; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s, border-color 0.3s, color 0.3s;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(0, 130, 201, 0.45);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(0, 130, 201, 0.55); }
.btn--ghost {
  background: rgba(255,255,255,0.6);
  border-color: var(--border);
  color: var(--text);
  backdrop-filter: blur(12px);
}
.btn--ghost:hover { background: var(--surface); border-color: rgba(0,130,201,0.35); transform: translateY(-2px); }
.btn--lg { padding: 16px 34px; font-size: 1rem; }
.btn--sm { padding: 10px 20px; font-size: 0.85rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none !important; }

/* ghost buttons placed on dark sections (final CTA band) need a light-on-dark variant */
.on-dark .btn--ghost, .final-cta .btn--ghost {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.28);
  color: #fff;
}
.on-dark .btn--ghost:hover, .final-cta .btn--ghost:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.4);
}

/* ---------- glass panel ---------- */
.glass-panel {
  background: linear-gradient(180deg, var(--glass-bg-strong), var(--glass-bg));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-soft);
}

/* ---------- tilt cards (3D hover) ---------- */
.tilt-card { transform-style: preserve-3d; will-change: transform; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }

/* ---------- scroll-reveal ---------- */
[data-animate] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-animate="fade-in"] { transform: none; }
[data-animate].in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-animate] { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  padding: 16px 0;
  background: rgba(255,255,255,0.7);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}
.site-header.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 10px 40px -24px rgba(16, 32, 47, 0.35);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); }
.logo img { height: 40px; width: auto; display: block; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; font-weight: 700; font-size: 1.1rem;
  box-shadow: 0 8px 20px -6px rgba(0,130,201,0.5), inset 0 0 0 1px rgba(255,255,255,0.15);
}
.logo-text { color: var(--text); font-size: 1.05rem; letter-spacing: -0.01em; }
.logo-text strong { color: var(--primary); font-weight: 700; }

.main-nav ul { display: flex; gap: 30px; }
.main-nav a {
  font-size: 0.92rem; font-weight: 500; color: var(--muted);
  position: relative; padding: 4px 0; transition: color 0.25s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--primary); transition: width 0.3s var(--ease);
}
.main-nav a:hover { color: var(--text); }
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 16px; }

.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px;
  position: relative; z-index: 95;
}
.hamburger span { display: block; width: 18px; height: 2px; background: var(--text); margin: 0 auto; transition: transform 0.3s var(--ease), opacity 0.3s; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0 0 0 auto; top: 0; height: 100dvh; width: min(340px, 86vw);
  background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(20px);
  border-left: 1px solid var(--border);
  box-shadow: -20px 0 60px -30px rgba(16,32,47,0.35);
  padding: 100px 28px 40px; display: flex; flex-direction: column; gap: 32px;
  transform: translateX(100%); transition: transform 0.45s var(--ease);
  z-index: 90;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu ul { display: flex; flex-direction: column; gap: 22px; }
.mobile-menu a { font-size: 1.15rem; font-weight: 600; color: var(--text); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { padding-top: 60px; padding-bottom: 56px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero-content h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); max-width: 640px; }
.hero-lead { font-size: 1.2rem; color: var(--text); max-width: 560px; }
.hero-sub { max-width: 520px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin: 28px 0 40px; }
.hero-meta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero-meta-item { display: flex; flex-direction: column; }
.hero-meta-item strong { font-family: var(--font-display); font-size: 1.4rem; color: var(--text); }
.hero-meta-item span { font-size: 0.82rem; color: var(--muted); }
.hero-meta-divider { width: 1px; height: 32px; background: var(--border); }

/* hero 3D dashboard */
.hero-visual { position: relative; height: 480px; perspective: 1400px; }
.dash {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;
}
.dash-card {
  position: absolute;
  background: linear-gradient(160deg, rgba(255,255,255,0.95), rgba(245,249,252,0.85));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}
.dash-card--main {
  width: 78%; height: 62%;
  top: 10%; left: 10%;
  padding: 24px;
  transform: translateZ(40px) rotateY(-6deg) rotateX(4deg);
  animation: floatMain 7s ease-in-out infinite;
}
.dash-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.dash-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 12px 2px rgba(0,130,201,0.5); }
.dash-label { font-size: 0.85rem; color: var(--muted); font-weight: 500; }
.dash-chart { width: 100%; height: 120px; }
.chart-line { stroke-dasharray: 500; stroke-dashoffset: 500; animation: drawLine 2.4s var(--ease) 0.4s forwards; }
.chart-fill { opacity: 0; animation: fadeIn 1.5s ease 1.6s forwards; }
.dash-stats-row { display: flex; justify-content: space-between; margin-top: 18px; }
.dash-stat { display: flex; flex-direction: column; gap: 4px; }
.dash-stat-label { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.dash-stat-value { font-family: var(--font-display); font-weight: 600; color: var(--text); }
.dash-stat-value--up { color: #1c9a63; }

.dash-card--float { display: flex; align-items: center; gap: 12px; padding: 14px 18px; }
.dash-float-1 { top: 4%; right: 2%; transform: translateZ(70px); animation: floatA 6s ease-in-out infinite; }
.dash-float-2 { bottom: 16%; right: -4%; transform: translateZ(90px); animation: floatB 8s ease-in-out infinite; }
.dash-float-3 { bottom: -2%; left: 6%; transform: translateZ(55px); animation: floatC 7.5s ease-in-out infinite; }
.dash-icon {
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; font-weight: 700; font-size: 0.95rem;
}
.dash-float-title { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text); }
.dash-float-sub { display: block; font-size: 0.74rem; color: var(--muted); }
.dash-mini-bars { display: flex; align-items: flex-end; gap: 3px; height: 24px; }
.dash-mini-bars span { width: 4px; border-radius: 2px; background: var(--primary); }
.dash-mini-bars span:nth-child(1){height:40%;} .dash-mini-bars span:nth-child(2){height:70%;}
.dash-mini-bars span:nth-child(3){height:55%;} .dash-mini-bars span:nth-child(4){height:90%;}
.dash-mini-bars span:nth-child(5){height:65%;}

.dash-ring {
  position: absolute; width: 340px; height: 340px; border-radius: 50%;
  border: 1px dashed rgba(0,130,201,0.18);
  top: 50%; left: 50%; transform: translate(-50%,-50%) translateZ(-40px);
  animation: spin 40s linear infinite;
}

@keyframes floatMain { 0%,100%{ transform: translateZ(40px) rotateY(-6deg) rotateX(4deg) translateY(0);} 50%{ transform: translateZ(40px) rotateY(-6deg) rotateX(4deg) translateY(-10px);} }
@keyframes floatA { 0%,100%{ transform: translateZ(70px) translateY(0);} 50%{ transform: translateZ(70px) translateY(-14px);} }
@keyframes floatB { 0%,100%{ transform: translateZ(90px) translateY(0);} 50%{ transform: translateZ(90px) translateY(12px);} }
@keyframes floatC { 0%,100%{ transform: translateZ(55px) translateY(0);} 50%{ transform: translateZ(55px) translateY(-9px);} }
@keyframes spin { to { transform: translate(-50%,-50%) translateZ(-40px) rotate(360deg); } }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }

.scroll-cue { display: flex; justify-content: center; margin-top: 40px; }
.scroll-cue span {
  width: 26px; height: 42px; border: 2px solid var(--border); border-radius: 20px;
  position: relative;
}
.scroll-cue span::before {
  content: ""; position: absolute; top: 8px; left: 50%; width: 4px; height: 8px;
  background: var(--primary); border-radius: 2px; transform: translateX(-50%);
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot { 0%{opacity:1; transform: translate(-50%,0);} 70%{opacity:0; transform: translate(-50%,14px);} 100%{opacity:0;} }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 360px; order: -1; }
}

/* ==========================================================================
   STATS
   ========================================================================== */
.stats { padding-top: 40px; padding-bottom: 40px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.stat-card {
  padding: 32px 24px; text-align: left;
  background: linear-gradient(160deg, #ffffff, var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: 0 12px 30px -22px rgba(16,32,47,0.18);
}
.stat-card:hover { box-shadow: var(--shadow-lift); border-color: rgba(0,130,201,0.25); }
.stat-number { display: block; font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--primary); }
.stat-label { display: block; margin-top: 6px; font-size: 0.9rem; color: var(--muted); }

@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .stats-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services { background: var(--surface); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.service-card {
  padding: 30px 26px; border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 14px 34px -26px rgba(16,32,47,0.22);
  display: flex; flex-direction: column;
}
.service-card:hover { box-shadow: var(--shadow-lift); border-color: rgba(0,130,201,0.3); }
.service-card--secondary { background: linear-gradient(160deg, var(--primary-tint), #ffffff); }
.service-icon {
  width: 48px; height: 48px; border-radius: 14px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-tint); color: var(--primary);
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { font-size: 0.95rem; flex: 1; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--primary); font-weight: 600; font-size: 0.9rem; transition: gap 0.25s; }
.card-link:hover { gap: 10px; }

@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   CALCULATOR
   ========================================================================== */
.calc-wrap { max-width: 780px; margin: 44px auto 0; padding: 40px; background: #fff; }
.calc-progress { height: 6px; border-radius: 4px; background: var(--surface-alt); overflow: hidden; margin-bottom: 12px; }
.calc-progress-bar { height: 100%; width: 14.28%; background: linear-gradient(90deg, var(--primary), var(--primary-light)); transition: width 0.5s var(--ease); }
.calc-step-indicator { font-size: 0.82rem; color: var(--muted); margin-bottom: 24px; font-weight: 600; }

.calc-step { display: none; border: none; padding: 0; margin: 0; }
.calc-step.is-active { display: block; animation: stepIn 0.45s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(16px);} to { opacity: 1; transform: translateX(0);} }
.calc-step legend { font-family: var(--font-display); font-size: 1.3rem; color: var(--text); margin-bottom: 20px; padding: 0; }

.option-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.option-grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 400px; }
.option-pill {
  position: relative; display: block;
  padding: 14px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--surface);
  text-align: center; font-size: 0.92rem; font-weight: 500; color: var(--text);
  cursor: pointer; transition: all 0.25s var(--ease);
}
.option-pill input { position: absolute; opacity: 0; pointer-events: none; }
.option-pill:hover { border-color: rgba(0,130,201,0.45); background: var(--primary-tint); }
.option-pill:has(input:checked),
.option-pill.is-checked {
  border-color: var(--primary); background: var(--primary); color: #fff;
  box-shadow: 0 10px 24px -10px rgba(0,130,201,0.5);
}
.option-pill:has(input:focus-visible) { outline: 2px solid var(--primary); outline-offset: 2px; }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}
.calc-step.shake { animation: shake 0.4s ease; }

.calc-nav { display: flex; justify-content: space-between; margin-top: 32px; }

/* ---- calculator result: price outcome ---- */
.calc-result-label { font-size: 0.9rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
.calc-price-display {
  display: flex; align-items: baseline; gap: 8px; justify-content: center;
  padding: 34px 20px; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--primary-tint), #ffffff);
  border: 1px solid rgba(0,130,201,0.18);
  margin-bottom: 18px;
}
.calc-price-display #calc-price-value {
  font-family: var(--font-display); font-weight: 700; color: var(--primary);
  font-size: clamp(2.6rem, 7vw, 4rem); line-height: 1;
}
.calc-price-tilde {
  font-family: var(--font-display); font-weight: 700; color: var(--primary);
  font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: 1; align-self: flex-start; margin-top: 6px;
}
.calc-price-suffix { font-family: var(--font-display); font-weight: 600; color: var(--text); font-size: 1.3rem; }
.calc-result-vat-note { text-align: center; font-size: 0.88rem; font-weight: 600; color: var(--primary-dark); margin-bottom: 14px; }
.calc-result-note { text-align: center; color: var(--text); font-weight: 600; margin-bottom: 4px; }
.calc-result-disclaimer { text-align: center; font-size: 0.82rem; color: var(--muted); max-width: 460px; margin: 0 auto 28px; }

/* ---- calculator result: one-time "apleista buhalterija" note ---- */
.calc-neglected-note {
  text-align: center; max-width: 520px; margin: 0 auto 28px;
  padding: 16px 20px; border-radius: var(--radius-md);
  background: var(--surface); border: 1px solid var(--border);
}
.calc-neglected-note-title { font-size: 0.92rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.calc-neglected-note-sub { font-size: 0.8rem; color: var(--muted); }

.calc-breakdown { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); overflow: hidden; margin-bottom: 32px; }
.calc-breakdown .accordion-trigger { padding: 16px 20px; font-size: 0.95rem; }
.calc-breakdown-list { display: grid; gap: 8px; padding: 0 20px 18px; margin: 0; }
.calc-breakdown-list li { display: flex; justify-content: space-between; gap: 12px; font-size: 0.88rem; padding: 8px 0; border-top: 1px solid var(--border); }
.calc-breakdown-list li:first-child { border-top: none; }
.calc-breakdown-list li span:first-child { color: var(--muted); }
.calc-breakdown-list li span:last-child { color: var(--text); font-weight: 600; }

.calc-contact-block { text-align: center; padding-top: 28px; border-top: 1px solid var(--border); }
.calc-contact-block h3 { font-size: 1.2rem; margin-bottom: 6px; }
.calc-contact-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }

@media (max-width: 640px) {
  .calc-wrap { padding: 26px 18px; }
  .option-grid { grid-template-columns: repeat(2, 1fr); }
  .calc-contact-actions .btn { width: 100%; }
}

/* time tool */
.time-tool { max-width: 780px; margin: 32px auto 0; padding: 36px 40px; text-align: center; background: #fff; }
.time-tool h3 { font-size: 1.3rem; }
.time-tool-lead { max-width: 520px; margin: 0 auto 24px; }
.time-tool-inputs { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.time-tool-inputs .field { max-width: 220px; }
.time-tool-result {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 22px; border-radius: var(--radius-md);
  background: linear-gradient(160deg, var(--primary-tint), #ffffff);
  border: 1px solid rgba(0,130,201,0.18);
}
.time-tool-value { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--primary); }
.time-tool-caption { font-size: 0.85rem; color: var(--muted); }
.time-tool-disclaimer { font-size: 0.78rem; color: var(--muted); margin: 16px 0 0; }

/* ==========================================================================
   AUDIENCE / CHIPS
   ========================================================================== */
.chip-cloud { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.chip {
  padding: 10px 20px; border-radius: 999px; font-size: 0.9rem; font-weight: 500;
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.chip:hover { transform: translateY(-3px); border-color: rgba(0,130,201,0.4); background: var(--primary-tint); color: var(--primary); }

/* ==========================================================================
   INDUSTRIES
   ========================================================================== */
.industries { background: var(--surface); }
.industries-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.industry-card {
  padding: 26px 20px; border-radius: var(--radius-md); text-align: center;
  background: #ffffff;
  border: 1px solid var(--border); font-weight: 600; color: var(--text); font-size: 0.98rem;
}
.industry-card:hover { box-shadow: var(--shadow-lift); border-color: rgba(0,130,201,0.3); }

@media (max-width: 900px) { .industries-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .industries-grid { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   WHY US
   ========================================================================== */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.why-card {
  padding: 26px; border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 14px 34px -26px rgba(16,32,47,0.2);
}
.why-card:hover { box-shadow: var(--shadow-lift); border-color: rgba(0,130,201,0.28); }
.why-num { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--primary); margin-bottom: 10px; font-weight: 700; }
.why-card p { color: var(--text); margin: 0; font-size: 0.98rem; }

@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .why-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   ABOUT DIANA
   ========================================================================== */
.about { background: var(--surface); }
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.photo-placeholder {
  aspect-ratio: 4/5; border-radius: var(--radius-xl);
  background: linear-gradient(160deg, #ffffff, var(--surface-alt));
  border: 1px dashed var(--border);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  color: var(--muted);
}
.photo-placeholder svg { width: 56px; height: 56px; }
.photo-placeholder span { font-size: 0.88rem; }
.about-photo {
  /* 1/1 matches the source photo's native aspect ratio exactly, so
     object-fit: cover never crops any part of the image (incl. the face) —
     it only ever scales, never trims. height: auto is required so the
     CSS aspect-ratio (not the img's width/height HTML attributes) drives
     the box size. */
  display: block; width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}
.about-facts { display: flex; gap: 32px; margin-top: 24px; }
.about-facts strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--primary); }
.about-facts span { font-size: 0.85rem; color: var(--muted); }

@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } .photo-placeholder, .about-photo { max-width: 320px; margin: 0 auto; } }

/* ==========================================================================
   PROCESS
   ========================================================================== */
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 44px; position: relative; }
.process-list::before {
  content: ""; position: absolute; top: 26px; left: 6%; right: 6%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.process-item { display: flex; flex-direction: column; gap: 14px; }
.process-num {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 10px 26px -8px rgba(0,130,201,0.5);
}
.process-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.process-item p { font-size: 0.92rem; }

@media (max-width: 900px) { .process-list { grid-template-columns: repeat(2, 1fr); } .process-list::before { display: none; } }
@media (max-width: 560px) { .process-list { grid-template-columns: 1fr; } }

/* ==========================================================================
   NEGLECTED ACCOUNTING
   ========================================================================== */
.neglected { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.neglected-grid { display: grid; grid-template-columns: 1fr 0.8fr; gap: 48px; align-items: center; }

/* premium dark accent card — used sparingly, as allowed for "select premium elements" */
.neglected-visual { display: flex; justify-content: center; perspective: 1000px; }
.doc-stack { position: relative; width: 240px; height: 280px; transform-style: preserve-3d; }
.doc-stack::before {
  content: ""; position: absolute; inset: -24px;
  background: radial-gradient(circle at 50% 40%, rgba(10,42,67,0.06), transparent 70%);
  border-radius: 50%;
}
.doc {
  position: absolute; width: 180px; height: 230px; border-radius: 14px;
  background: linear-gradient(160deg, #ffffff, var(--surface));
  border: 1px solid var(--border); box-shadow: var(--shadow-soft);
}
.doc-1 { transform: translate(-30px,-10px) rotateZ(-8deg) translateZ(0); }
.doc-2 { transform: translate(10px,10px) rotateZ(4deg) translateZ(20px); }
.doc-3 {
  transform: translate(-10px,-30px) rotateZ(-2deg) translateZ(40px);
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, var(--accent), #123753);
  border-color: rgba(255,255,255,0.08);
}
.doc-check {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, #3fce8f, #23a468);
  color: #fff; font-size: 1.6rem; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -8px rgba(63,206,143,0.6);
}

@media (max-width: 900px) { .neglected-grid { grid-template-columns: 1fr; } .neglected-visual { order: -1; } }

/* ==========================================================================
   MINI CTA (formation / tax)
   ========================================================================== */
.mini-cta { padding: 56px 0; border-bottom: 1px solid var(--border); }
.mini-cta--alt { background: var(--surface); }
.mini-cta-grid { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.mini-cta-grid h2 { font-size: 1.5rem; margin-bottom: 6px; }
.mini-cta-grid p { margin: 0; max-width: 480px; }

/* ==========================================================================
   B1 BLOCK
   ========================================================================== */
.b1-block { padding: 56px 0; }
.b1-inner { display: flex; align-items: center; gap: 24px; max-width: 780px; margin: 0 auto; text-align: left; }
.b1-icon {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border); color: var(--muted);
}
.b1-icon svg { width: 26px; height: 26px; }
.b1-block h2 { font-size: 1.3rem; }
.b1-block p { margin: 0; font-size: 0.95rem; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { background: var(--surface); }
.accordion { max-width: 820px; margin: 40px auto 0; display: flex; flex-direction: column; gap: 12px; }
.accordion-item { border: 1px solid var(--border); border-radius: var(--radius-md); background: #ffffff; overflow: hidden; }
.accordion-item h3 { margin: 0; }
.accordion-trigger {
  width: 100%; text-align: left; background: none; border: none; color: var(--text);
  padding: 18px 22px; font-size: 1rem; font-weight: 600; font-family: var(--font-body);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.accordion-trigger::after {
  content: "+"; font-size: 1.3rem; color: var(--primary); flex-shrink: 0; transition: transform 0.3s var(--ease);
}
.accordion-trigger[aria-expanded="true"]::after { transform: rotate(45deg); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.accordion-panel p { padding: 0 22px 20px; margin: 0; font-size: 0.95rem; }

/* ==========================================================================
   FINAL CTA — one of the few full premium-dark bands, used deliberately
   ========================================================================== */
.final-cta {
  background: radial-gradient(ellipse 80% 100% at 50% 0%, rgba(63,169,224,0.22), transparent 60%), linear-gradient(160deg, var(--accent), #082036);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.final-cta h2, .final-cta p { color: #fff; }
.final-cta p { color: rgba(255,255,255,0.75); }
.final-cta-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.final-cta-inner h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.final-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
.contact-card { padding: 32px; margin-top: 28px; background: #fff; }
.contact-company { font-family: var(--font-display); font-size: 1.2rem; color: var(--text); margin-bottom: 2px; }
.contact-person { font-size: 0.9rem; color: var(--muted); margin-bottom: 20px; }
.contact-line { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-weight: 500; color: var(--text); border-top: 1px solid var(--border); }
.contact-line:first-of-type { border-top: none; }
.contact-line--address { align-items: flex-start; }
.contact-address-block { display: flex; flex-direction: column; gap: 2px; }
.contact-address-block .address-label { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-top: 8px; }
.contact-address-block .address-label:first-child { margin-top: 0; }
.contact-address-block .address-services-note { margin-top: 10px; color: var(--muted); font-size: 0.88rem; font-weight: 400; }
.contact-icon { width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--primary-tint); color: var(--primary); }
.contact-icon svg { width: 17px; height: 17px; }
a.contact-line:hover { color: var(--primary); }
.contact-map { margin-top: 24px; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); }
.contact-map iframe { width: 100%; height: 240px; border: 0; }

.contact-form-wrap { padding: 36px; background: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field span { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.field span em { color: var(--primary); font-style: normal; }
.field input, .field textarea {
  padding: 13px 16px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); transition: border-color 0.25s, background 0.25s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus { border-color: var(--primary); background: #fff; }
.field textarea { resize: vertical; min-height: 100px; }
.field-error { display: none; color: #c22b2b; font-size: 0.78rem; }
.field.has-error input, .field.has-error textarea { border-color: #d64545; }
.field.has-error .field-error { display: block; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.btn-spinner {
  display: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4); border-top-color: #fff; animation: spinBtn 0.7s linear infinite;
}
@keyframes spinBtn { to { transform: rotate(360deg); } }
.is-loading .btn-label { opacity: 0.6; }
.is-loading .btn-spinner { display: inline-block; }

.form-status { margin-top: 14px; font-size: 0.9rem; min-height: 1.4em; }
.form-status.success { color: #1c9a63; }
.form-status.error { color: #c22b2b; }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ==========================================================================
   FOOTER — dark, as intended for footers
   ========================================================================== */
.site-footer { border-top: 1px solid rgba(255,255,255,0.06); padding: 64px 0 28px; background: var(--accent); }
.site-footer h4, .footer-brand p, .footer-nav a, .footer-contact a, .footer-contact p, .footer-bottom { color: rgba(255,255,255,0.75); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand .logo-text { color: #fff; }
.footer-brand p { max-width: 280px; margin-top: 14px; font-size: 0.9rem; }
.footer-nav h4, .footer-contact h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; font-family: var(--font-display); }
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 0.92rem; }
.footer-nav a:hover { color: #fff; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact a, .footer-contact p { font-size: 0.92rem; margin: 0; }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.82rem;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: rgba(255,255,255,0.75); }
.footer-legal a:hover { color: #fff; }

@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal-page { padding: 140px 0 100px; }
.legal-page .container { max-width: 780px; }
.legal-page h1 { font-size: 2.2rem; margin-bottom: 24px; }
.legal-page h2 { font-size: 1.3rem; margin-top: 36px; }
.legal-page p, .legal-page li { color: var(--muted); }
.legal-page ul { list-style: disc; padding-left: 20px; }
.legal-page li { margin-bottom: 8px; }
.legal-back { display: inline-flex; margin-bottom: 32px; color: var(--primary); font-weight: 600; }

/* ==========================================================================
   RESPONSIVE / MOBILE OPTIMIZATION
   ========================================================================== */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 768px) {
  .dash-ring { display: none; }
  section { padding: 64px 0; }
}

@media (max-width: 600px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .final-cta-actions { flex-direction: column; align-items: stretch; }
  .final-cta-actions .btn { width: 100%; }
}

/* Disable heavy 3D on touch / small devices for performance */
@media (hover: none), (max-width: 640px) {
  .tilt-card { transform: none !important; }
  .dash { animation: none; }
  .dash-card--main, .dash-float-1, .dash-float-2, .dash-float-3 { animation: none !important; }
}
