/* ═══════════════════════════════════════
   BIZ-BALANCE — Main Styles
   Boutique Accounting Firm · Malta
   Brand: see Brand Guidelines (Clash Display / Satoshi,
   orange · yellow · red · teal · cream)
   ═══════════════════════════════════════ */

/* ═══════════════════════════════════════
   FONTS
   Brand fonts — Clash Display (headings) and Satoshi (body) —
   are loaded from Fontshare in index.html <head>.
   DM Sans is self-hosted below as the fallback while they load
   (or if the CDN is unreachable).
   ═══════════════════════════════════════ */

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/DM-Sans/300.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/DM-Sans/400.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/DM-Sans/500.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/DM-Sans/600.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/DM-Sans/700.woff2') format('woff2');
}

/* CSS TOKENS */
:root {
  /* Brand — primary palette */
  --orange: #f9a31d;
  --yellow: #fdc633;
  --red:    #f04d50;
  --white:  #ffffff;
  --black:  #000000;
  --graphite: #2b2b2b;   /* dark sections: services, stat cards, footer */

  /* Brand — secondary palette */
  --teal:   #3b6f73;
  --cream:  #f4efe7;
  --rust:   #b85d38;
  --grey:   #4b4b4b;

  /* Semantic tokens (default scope = light, on cream).
     Components read ONLY these; the scope blocks below swap them. */
  --bg:            var(--cream);
  --surface:       var(--white);
  --surface-hover: color-mix(in srgb, var(--cream) 55%, var(--white));
  --text:          var(--black);
  --text-muted:    var(--grey);
  --line:          color-mix(in srgb, var(--black) 12%, transparent);
  --accent:        var(--orange);          /* fills, lines, borders */
  --accent-text:   color-mix(in srgb, var(--rust) 85%, var(--black)); /* small text/icons on light (AA) */
  --accent-pale:   color-mix(in srgb, var(--orange) 16%, transparent);
  --accent-glow:   color-mix(in srgb, var(--orange) 40%, transparent);
  --on-accent:     var(--black);           /* text on orange/yellow */
  --gradient-accent: linear-gradient(135deg, var(--orange) 0%, var(--yellow) 100%);
  --btn-bg:        var(--gradient-accent);
  --btn-fg:        var(--on-accent);
  --em:            var(--text);            /* emphasised words in titles */
  --hl:            var(--yellow);          /* marker-highlight under them */
  --logo-text:     var(--orange);

  --radius:      4px;
  --radius-lg:   12px;
  --radius-arch: 50% 50% var(--radius-lg) var(--radius-lg) / 36% 36% var(--radius-lg) var(--radius-lg);

  --font-display: 'Clash Display', 'DM Sans', 'Segoe UI', Tahoma, system-ui, sans-serif;
  --font-body:    'Satoshi', 'DM Sans', 'Segoe UI', Tahoma, system-ui, sans-serif;

  --ease: cubic-bezier(0.4,0,0.2,1);
  --ease-out: cubic-bezier(0,0,0.2,1);
}

/* ── Surface scopes ──────────────────────
   white band · black band · teal band · orange band.
   Each scope only re-maps tokens; component rules stay untouched. */
.section-alt {
  --bg: var(--white);
  --surface: var(--cream);
  --surface-hover: color-mix(in srgb, var(--cream) 70%, var(--white));
}

.services-section,
.stat-card,
footer {
  --bg: var(--graphite);
  --surface: color-mix(in srgb, var(--graphite) 88%, var(--white));
  --surface-hover: color-mix(in srgb, var(--graphite) 80%, var(--white));
  --text: var(--white);
  --text-muted: color-mix(in srgb, var(--white) 72%, transparent);
  --line: color-mix(in srgb, var(--white) 14%, transparent);
  --accent-text: var(--orange);
  --accent-pale: color-mix(in srgb, var(--orange) 18%, transparent);
  --em: var(--yellow);
  --hl: transparent;
  --logo-text: var(--white);
}

.img-section {
  --bg: var(--teal);
  --text: var(--white);
  --em: var(--yellow);
  --hl: transparent;
}

.cta-section {
  --bg: var(--orange);
  --text: var(--black);
  --text-muted: color-mix(in srgb, var(--black) 80%, transparent);
  --line: color-mix(in srgb, var(--black) 30%, transparent);
  --accent: var(--black);
  --accent-text: var(--black);
  --accent-glow: color-mix(in srgb, var(--black) 30%, transparent);
  --btn-bg: var(--black);
  --btn-fg: var(--white);
  --hl: var(--yellow);
}

.section-alt,
.services-section,
.img-section,
footer {
  background: var(--bg);
  color: var(--text);
}

/* ═══════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════ */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* RTL override */
[dir="rtl"] { font-family: 'Segoe UI', Tahoma, Arial, var(--font-body); }

/* ═══════════════════════════════════════
   LIQUID GOLD AMBIENT BACKGROUND
   ═══════════════════════════════════════ */
.liquid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.28;
  will-change: transform;
}

.blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--yellow), var(--orange));
  top: -150px; left: -100px;
  animation: floatBlob1 22s ease-in-out infinite;
}

.blob-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--red), var(--orange));
  opacity: 0.12;
  top: 40%; right: -100px;
  animation: floatBlob2 28s ease-in-out infinite;
}

.blob-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--teal), var(--cream));
  opacity: 0.16;
  bottom: -100px; left: 30%;
  animation: floatBlob3 20s ease-in-out infinite;
}

@keyframes floatBlob1 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(80px,60px) scale(1.1); }
  66%      { transform: translate(-40px,100px) scale(0.95); }
}
@keyframes floatBlob2 {
  0%,100% { transform: translate(0,0) scale(1); }
  40%      { transform: translate(-100px,-80px) scale(1.15); }
  70%      { transform: translate(60px,40px) scale(0.9); }
}
@keyframes floatBlob3 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(-60px,-120px) scale(1.2); }
}

/* ═══════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 48px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
}

.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--line);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-img {
  height: 40px;
  width: auto;
  display: block;
  transition: transform 0.3s var(--ease);
}

.nav-logo:hover .nav-logo-img { transform: translateY(-1px); }

.logo-text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--logo-text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 40px);
}

.nav-links a {
  white-space: nowrap;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--accent-pale);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 4px;
}

.lang-btn {
  padding: 5px clamp(8px, 0.9vw, 12px);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  border-radius: 20px;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--text-muted);
  transition: all 0.25s var(--ease);
  font-family: var(--font-body);
}

.lang-btn.active {
  background: var(--gradient-accent);
  color: var(--on-accent);
}

.nav-cta {
  white-space: nowrap;
  padding: 10px 24px;
  background: var(--gradient-accent);
  color: var(--on-accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text);
  transition: all 0.3s;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: color-mix(in srgb, var(--bg) 98%, transparent);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 32px 48px;
  border-bottom: 1px solid var(--line);
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.35s var(--ease);
  pointer-events: none;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  display: block;
  padding: 16px 0;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  transition: color 0.3s;
}

.mobile-menu a:hover { color: var(--accent-text); }

.mobile-lang {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

/* ═══════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

section { position: relative; z-index: 1; }

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  padding-top: 72px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 72px;
  position: relative;
  overflow: visible;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-eyebrow-line {
  width: 40px; height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.hero-eyebrow-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.4vw, 62px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 12px;
}

/* Emphasised words: marker-highlight on light bands, coloured on dark ones */
.hero-headline-em,
.section-title em,
.cta-title em {
  font-style: normal;
  color: var(--em);
  background-image: linear-gradient(transparent 62%, var(--hl) 62%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero-subline {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 500;
  font-style: normal;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.2;
}

.hero-description {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 48px;
  animation: slideUp 1s 0.2s var(--ease) both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  animation: slideUp 1s 0.35s var(--ease) both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--accent-glow);
}

.btn-primary svg { transition: transform 0.3s; }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
  cursor: pointer;
  font-family: var(--font-body);
}

.btn-ghost:hover {
  color: var(--accent-text);
  border-color: var(--accent);
}

/* Hero Visual — arched photo, echoes Maltese archways and the logo arcs */
.hero-visual {
  position: relative;
  height: 600px;
}

.hero-img-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: var(--radius-arch);
  box-shadow: 0 32px 64px -28px color-mix(in srgb, var(--black) 50%, transparent);
}

.hero-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% center;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0;
  animation: slideUp 1s var(--ease) both;
}

/* Floating stat cards (black glass over the B&W photo) */
.stat-card {
  position: absolute;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  min-width: 150px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.3);
  animation: floatCard 6s ease-in-out infinite;
  z-index: 10;
}

.stat-card:nth-child(2) { animation-duration: 7s; animation-delay: -2s; }
.stat-card:nth-child(3) { animation-duration: 8s; animation-delay: -4s; }

@keyframes floatCard {
  0%,100% { transform: translateY(0px); }
  50%      { transform: translateY(-12px); }
}

.stat-card-1 { top: 22%; inset-inline-start: -56px; }
.stat-card-2 { top: calc(46% + 150px); inset-inline-end: -36px; }
.stat-card-3 { top: 70%; inset-inline-start: -40px; }

.stat-number {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Hero decorative line */
.hero-divider {
  position: absolute;
  bottom: 40px;
  inset-inline-start: 48px;
  display: flex;
  align-items: center;
  gap: 16px;
  animation: fadeIn 1.5s 0.8s var(--ease) both;
}

.hero-divider-line { width: 80px; height: 1px; background: var(--line); }
.hero-divider-text {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 36px; left: 50%;
  margin-left: -8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.5;
  animation: fadeIn 2s 1.2s both;
}

.scroll-indicator-bar {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-indicator-text {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: vertical-lr;
}

@keyframes scrollPulse {
  0%,100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ═══════════════════════════════════════
   SECTION STYLES
   ═══════════════════════════════════════ */
.section {
  padding: 100px 0;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.section-eyebrow-line {
  width: 32px; height: 1px;
  background: var(--accent);
}

.section-eyebrow-text {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 600;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 560px;
}

/* ═══════════════════════════════════════
   WHO WE SERVE
   ═══════════════════════════════════════ */
.serve-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 60px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.serve-card {
  background: var(--surface);
  padding: 40px 32px;
  transition: background 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}

.serve-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.serve-card:hover::before { transform: scaleX(1); }
.serve-card:hover { background: var(--surface-hover); }

.serve-num {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--accent-text);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  opacity: 0.6;
}

.serve-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: var(--accent-pale);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}

.serve-icon,
.service-icon,
.tax-icon,
.support-item-icon,
.contact-icon { color: var(--accent-text); }

.serve-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.3;
}

.serve-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ═══════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════ */
.services-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 64px;
}

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

.service-card {
  background: var(--surface);
  padding: 48px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease);
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--yellow), var(--red));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.service-card:hover { transform: translateY(-3px); }
.service-card:hover::before { transform: scaleX(1); }

.service-num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 300;
  color: var(--accent-pale);
  line-height: 1;
  margin-bottom: 8px;
  transition: color 0.3s;
}

.service-card:hover .service-num {
  color: color-mix(in srgb, var(--accent) 30%, transparent);
}

.service-icon-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.service-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: var(--accent-pale);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.service-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 16px;
}

.service-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.service-item::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 7px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-text);
  transition: gap 0.3s;
}

.service-card:hover .service-link { gap: 12px; }

/* ═══════════════════════════════════════
      IMAGE DIVIDER — Maltese luzzu + brand statement
   ═══════════════════════════════════════ */
.img-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 440px;
  position: relative;
  z-index: 1;
}

.img-section-photo {
  position: relative;
  overflow: hidden;
}

.img-section-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}

.img-overlay-text {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px clamp(32px, 6vw, 96px);
}

/* the logo arcs, large and quiet, across the whole right block */
.img-overlay-text::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/logo-icon-white.svg') center / cover no-repeat;
  opacity: 0.1;
  pointer-events: none;
}

.img-overlay-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--text);
}

/* ═══════════════════════════════════════
   WHY CHOOSE
   ═══════════════════════════════════════ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 60px;
}

.why-card {
  padding: 40px 28px;
  background: var(--surface);
  border-right: 1px solid var(--line);
  transition: background 0.3s;
}

.why-card:last-child { border-right: none; }
.why-card:hover { background: var(--surface-hover); }

.why-num {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--accent-text);
  margin-bottom: 20px;
  opacity: 0.7;
}

.why-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.3;
}

.why-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ═══════════════════════════════════════
   MALTA TAX SECTION
   ═══════════════════════════════════════ */
.tax-section {
  position: relative;
}

.tax-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.tax-visual {
  position: sticky;
  top: 100px;
}

.tax-img-placeholder {
  height: 520px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.tax-img-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.tax-cards {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tax-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s var(--ease);
  cursor: default;
}

.tax-card:hover {
  border-color: color-mix(in srgb, var(--accent) 60%, transparent);
  background: var(--surface-hover);
  transform: translateX(4px);
}

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

.tax-icon {
  width: 40px; height: 40px;
  background: var(--accent-pale);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.tax-card-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
}

.tax-rate {
  margin-inline-start: auto;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  background: var(--gradient-accent);
  color: var(--on-accent);
}

.tax-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.tax-support {
  margin-top: 32px;
  padding: 32px;
  background: var(--accent-pale);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.tax-support-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 20px;
}

.support-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.support-item {
  display: flex;
  gap: 16px;
}

.support-item-icon {
  width: 32px; height: 32px;
  background: var(--accent-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.support-item-content { flex: 1; }

.support-item-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.support-item-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ═══════════════════════════════════════
   ABOUT / PHILOSOPHY
   ═══════════════════════════════════════ */
.about-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img-placeholder {
  height: 520px;
  background: var(--surface);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-arch);
}

.about-img-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.pillars {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 40px;
}

.pillar {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  transition: all 0.3s;
}

.pillar:last-child { border-bottom: none; }
.pillar:hover .pillar-num { color: var(--accent-text); }

.pillar-num {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  flex-shrink: 0;
  padding-top: 2px;
  transition: color 0.3s;
  min-width: 28px;
}

.pillar-body { flex: 1; }

.pillar-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.pillar-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ═══════════════════════════════════════
   PARTNERS (client logos)
   ═══════════════════════════════════════ */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 60px;
}

.partner-card {
  display: block;
  flex: 0 0 calc((100% - 96px) / 5);
  aspect-ratio: 8 / 3;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.partner-card-bare { border: none; }

.partner-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

a.partner-card:hover,
a.partner-card:focus-visible {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 50%, transparent);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--text) 10%, transparent);
}

.partner-card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-style: dashed;
  border-color: color-mix(in srgb, var(--accent-text) 55%, transparent);
  background: transparent;
  color: var(--accent-text);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  text-align: center;
  padding: 0 12px;
}
.partner-cta-plus { font-size: 24px; line-height: 1; }

a.partner-card:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }

/* ═══════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════ */
.cta-section {
  background: var(--gradient-accent);
  text-align: center;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, color-mix(in srgb, var(--white) 35%, transparent) 0%, transparent 60%);
  pointer-events: none;
}

.cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  justify-content: center;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 500;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 20px;
}

.cta-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════ */
.contact-section {
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: start;
}

.contact-form-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-input, .form-textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 14px;
  color: var(--text);
  font-family: var(--font-body);
  transition: border-color 0.3s;
  outline: none;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--accent);
}

.form-input::placeholder, .form-textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.5;
}

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

.contact-info { padding-top: 16px; }

.contact-info-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  width: 40px; height: 40px;
  background: var(--accent-pale);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 6px;
}

.contact-item-value {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-item-value a:hover { color: var(--accent-text); }

.map-wrap {
  margin-top: 8px;
  height: 260px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--accent-pale);
}
.map-wrap iframe { display: block; width: 100%; height: 100%; border: 0; }
.map-directions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--accent-text);
  text-decoration: none;
}
.map-directions:hover { gap: 12px; }
[dir="rtl"] .map-directions svg { transform: scaleX(-1); }

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.social-link {
  width: 40px; height: 40px;
  background: var(--accent-pale);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-text);
  transition: all 0.3s;
}

.social-link:hover {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════
   FOOTER
   ═════════════════════════════════════��═ */
footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo img { height: 32px; width: auto; }

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--accent-text); }

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════ */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; gap: 0; }
  .hero-content { padding: 56px 0 48px; }
  .hero-visual { width: 100%; max-width: 460px; height: 520px; margin: 0 auto 96px; }
  .scroll-indicator { display: none; }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .why-card { border-bottom: 1px solid var(--line); }
}

/* five languages: collapse the menu earlier so the nav never collides */
@media (max-width: 1240px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .serve-grid { grid-template-columns: repeat(2, 1fr); }
  .services-header { grid-template-columns: 1fr; gap: 32px; }
  .services-grid { grid-template-columns: 1fr; }
  .img-section { grid-template-columns: 1fr; }
  .img-section-photo { height: 320px; }
  .tax-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .partner-card { flex-basis: calc((100% - 48px) / 3); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
  .nav, .container { padding-left: 24px; padding-right: 24px; }
  .hero-content { padding: 40px 0 32px; }
  .hero-visual { height: 440px; }
  .stat-card { padding: 14px 16px; min-width: 120px; }
  .stat-number { font-size: 28px; }
  .stat-card-1 { inset-inline-start: -8px; }
  .stat-card-2 { inset-inline-end: -8px; }
  .stat-card-3 { inset-inline-start: -8px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .serve-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .cta-actions { flex-direction: column; align-items: center; }
  .section { padding: 64px 0; }
  .lang-switcher { display: none; }
}

/* ═══════════════════════════════════════
   RTL (Arabic)
   ═══════════════════════════════════════ */
[dir="rtl"] .hero-eyebrow-line { background: linear-gradient(270deg, var(--accent), transparent); }
[dir="rtl"] .section-eyebrow-line { order: 2; }
[dir="rtl"] .pillar { flex-direction: row-reverse; }
[dir="rtl"] .serve-card::before { transform-origin: right; }
[dir="rtl"] .tax-card:hover { transform: translateX(-4px); }
[dir="rtl"] .service-card::before { transform-origin: right; }
[dir="rtl"] .support-item { flex-direction: row-reverse; }
[dir="rtl"] .contact-item { flex-direction: row-reverse; }
[dir="rtl"] .hero-divider-line { background: linear-gradient(270deg, var(--line), transparent); }
[dir="rtl"] .hero-eyebrow-line { transform: scaleX(-1); }

/* ═══════════════════════════════════════
   I18N HIDDEN BY DEFAULT
   ═══════════════════════════════════════ */
[data-lang] { display: none; }
[data-lang].active { display: block; }
[data-lang-inline] { display: none; }
[data-lang-inline].active { display: inline; }

/* Scroll indicator & divider always above the image */
.scroll-indicator {
  z-index: 3;
}
.hero-divider {
  z-index: 3;
}

/* ── WhatsApp Float ── */
.wa-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 500;
  width: 56px; height: 56px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(37,211,102,0.4);
  animation: waPulse 3s ease-in-out infinite;
  transition: transform 0.3s;
}
[dir="rtl"] .wa-float { right: auto; left: 2rem; }
.wa-float:hover { transform: scale(1.1); }
@keyframes waPulse {
  0%,100% { box-shadow: 0 8px 32px rgba(37,211,102,0.4); }
  50%      { box-shadow: 0 8px 32px rgba(37,211,102,0.6), 0 0 0 12px rgba(37,211,102,0.1); }
}

/* ── Privacy Checkbox ── */
.privacy-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.privacy-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}

.privacy-text {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
}

.privacy-text:hover {
  color: var(--text-muted);
}

.privacy-link {
  color: var(--accent-text);
  text-decoration: underline;
  cursor: pointer;
}

.privacy-link:hover {
  color: var(--text);
}

/* ── Privacy Modal ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.modal {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
}

.modal-close:hover {
  color: var(--accent-text);
}

.modal-header {
  padding: 24px 24px 0;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--text);
}

.modal-content {
  padding: 20px 24px 24px;
}

.modal-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.privacy-modal {
  max-width: 800px;
  width: 100%;
  height: 80vh;
  overflow: hidden;
  background: var(--bg);
}

.privacy-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
@media (max-width: 1100px) {
  .partner-card { flex-basis: calc((100% - 48px) / 3); }
}

@media (max-width: 480px) {
  .partner-card { flex-basis: 100%; max-width: 360px; }
}


/* ═══════════════════════════════════════
   COOKIE CONSENT
   ═══════════════════════════════════════ */
.cc {
  position: fixed;
  inset-inline-start: 24px;
  bottom: 24px;
  z-index: 1500;
  width: min(440px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 24px;
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px -12px color-mix(in srgb, var(--black) 35%, transparent);
}
.cc[hidden], .cc [hidden] { display: none !important; }

.cc-title { font-family: var(--font-display); font-size: 22px; font-weight: 600; margin-bottom: 10px; }
.cc-text { font-size: 13.5px; line-height: 1.6; color: var(--grey); }

.cc-prefs { margin-top: 16px; border-top: 1px solid var(--line); }
.cc-row { padding: 14px 0; border-bottom: 1px solid var(--line); }
.cc-row-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cc-label { font-size: 14px; font-weight: 600; cursor: pointer; }
.cc-always { font-size: 12px; font-weight: 600; color: var(--accent-text); }
.cc-desc { margin-top: 6px; font-size: 12.5px; line-height: 1.55; color: var(--grey); }

.cc-switch {
  appearance: none; -webkit-appearance: none;
  position: relative; flex-shrink: 0;
  width: 42px; height: 24px; margin: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--black) 22%, var(--white));
  cursor: pointer;
  transition: background 0.2s;
}
.cc-switch::after {
  content: '';
  position: absolute; top: 3px; inset-inline-start: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--white);
  transition: transform 0.2s;
}
.cc-switch:checked { background: var(--orange); }
.cc-switch:checked::after { transform: translateX(18px); }
[dir="rtl"] .cc-switch:checked::after { transform: translateX(-18px); }
.cc-switch:focus-visible, .cc-btn:focus-visible, .cc-link:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }

.cc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cc-btn {
  flex: 1 1 auto;
  padding: 11px 16px;
  font-family: var(--font-body);
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--black);
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--black) 30%, transparent);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.cc-btn:hover { background: color-mix(in srgb, var(--black) 6%, transparent); }
.cc-btn-primary { background: var(--orange); border-color: var(--orange); }
.cc-btn-primary:hover { background: var(--yellow); border-color: var(--yellow); }
.cc-link { display: inline-block; margin-top: 14px; font-size: 12.5px; color: var(--accent-text); text-decoration: underline; }

@media (max-width: 480px) {
  .cc { inset-inline-start: 16px; bottom: 16px; padding: 20px; }
}


/* ═══════════════════════════════════════
   CONTACT FORM EXTRAS
   ═══════════════════════════════════════ */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-label .req { color: var(--accent-text); }
.hp-field { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status {
  margin-bottom: 16px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.5;
  border: 1px solid var(--line);
}
.form-status[hidden] { display: none; }
.form-status-success { background: color-mix(in srgb, var(--teal) 14%, transparent); border-color: var(--teal); color: var(--text); }
.form-status-error { background: color-mix(in srgb, var(--red) 12%, transparent); border-color: var(--red); color: var(--text); }
.form-status-info { background: var(--accent-pale); color: var(--text); }
#formSubmit:disabled { opacity: 0.6; cursor: wait; transform: none; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; gap: 0; } }


/* ═══════════════════════════════════════
   "REQUEST SENT" POP-UP
   ═══════════════════════════════════════ */
.sent-overlay {
  position: fixed; inset: 0; z-index: 2100;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: color-mix(in srgb, var(--black) 55%, transparent);
  backdrop-filter: blur(3px);
}
.sent-overlay[hidden] { display: none; }
.sent-box {
  width: min(440px, 100%);
  padding: 40px 32px 32px;
  text-align: center;
  background: var(--white);
  color: var(--black);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px -20px color-mix(in srgb, var(--black) 55%, transparent);
  animation: sentIn 0.35s var(--ease, ease) both;
}
@keyframes sentIn { from { opacity: 0; transform: translateY(16px) scale(0.97); } to { opacity: 1; transform: none; } }
.sent-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; margin-bottom: 20px;
  border-radius: 50%;
  background: var(--teal); color: var(--white);
}
.sent-title { font-family: var(--font-display); font-size: 26px; font-weight: 600; margin-bottom: 10px; }
.sent-text { font-size: 15px; line-height: 1.6; color: var(--grey); margin-bottom: 26px; }
.sent-close { justify-content: center; }
@media (prefers-reduced-motion: reduce) { .sent-box { animation: none; } }

/* long compound words (German) must wrap instead of overflowing on phones */
.section-title, .hero-h1, .pillar-title, .service-title, .tax-card-title {
  overflow-wrap: break-word;
  hyphens: auto;
}
