:root {
  --accent: #eb270e;
  --text-primary: #281d1b;
  --text-secondary: #4a3f35;
  --bg: #ffffff;
  --bg-elevated: #fbf9f6;
  --stroke: rgba(40, 29, 26, 0.08);
  --divider: rgba(67, 61, 25, 0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  /* Long words in German / Russian will wrap instead of overflowing
     — e.g. "Körperschaftsteuer", "многоязычное". No effect on short words. */
  overflow-wrap: break-word;
}
h1, h2, h3, p, a, li, span {
  /* Hyphenation where browsers support it + safety wrap for long words */
  overflow-wrap: break-word;
}

/* ─── NAVBAR ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--stroke);
}
.nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 96px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  padding-bottom: 8px;
}
.nav-logo img { width: 32px; height: 32px; }
.nav-logo-img {
  width: auto !important;
  height: 32px !important;
}
.nav-logo-img {
  height: 32px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  width: 100%;
  justify-content: center;
}
.nav-links li { flex: 1; text-align: center; }
.nav-links a {
  display: block;
  padding: 14px 0;
  font-family: 'Public Sans', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--text-primary);
  text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover { color: var(--accent); }

.nav-top-row {
  display: contents; /* desktop: children flow as direct flex children of nav-inner */
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  margin-bottom: 8px;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all .3s;
}
.nav-mobile-menu {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0;
  border-top: 1px solid var(--stroke);
  width: 100%;
}
.nav-mobile-menu a {
  font-family: 'Public Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--text-primary);
  text-decoration: none;
  padding: 14px 24px;
  width: 100%;
  text-align: center;
  border-bottom: 1px solid var(--stroke);
}
.nav-mobile-menu a:last-child { border-bottom: none; }
.nav-mobile-menu.open { display: flex; }

/* ─── PAGE WRAPPER ─────────────────────────────────────── */
.page-wrapper { margin-top: 124px; }
.section-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 96px;
}
.section-divider {
  border: none;
  border-top: 1px solid var(--stroke);
}

/* ─── HERO ─────────────────────────────────────────────── */
.hero-section { padding: 64px 0 0; }
.hero-headline {
  font-family: 'Roboto Serif', serif;
  font-weight: 700;
  font-size: clamp(56px, 8.3vw, 120px);
  letter-spacing: -2.4px;
  line-height: 1;
  text-align: center;
  color: var(--text-primary);
  margin-bottom: 52px;
}
.hero-headline .red { color: var(--accent); }

.hero-image-box {
  border: 1.5px solid var(--stroke);
  border-radius: 56px;
  overflow: hidden;
  position: relative;
  min-height: 703px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  padding: 56px 96px;
}
.hero-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.04);
}
.hero-stats {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  gap: 0;
  justify-content: space-between;
  flex-shrink: 0;
  width: 40%; max-width: 558px;
  min-height: 560px;
}
.stat-item { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.stat-num {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(42px, 4.4vw, 64px);
  color: #fff;
  line-height: 1;
}
.stat-label {
  font-family: 'Roboto Serif', serif;
  font-weight: 500;
  font-size: clamp(16px, 1.67vw, 24px);
  color: #fff;
  margin-top: 6px;
  line-height: 1.2;
}

/* ─── CONTACT FORM CARD ────────────────────────────────── */
.contact-form-card {
  position: relative; z-index: 2;
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 2px 24px rgba(35,25,24,0.08);
  padding: 32px;
  width: 100%; max-width: 530px;
  flex-shrink: 0;
  transition: height 0.4s ease;
  overflow: hidden;
}
.form-inputs,
form.form-inputs { display: flex; flex-direction: column; gap: 16px; }
.form-inputs input,
.form-inputs textarea {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid rgba(67,61,25,0.16);
  border-radius: 8px;
  padding: 17px;
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  color: var(--text-primary);
  outline: none;
  transition: border-color .2s;
  resize: none;
}
.form-inputs input::placeholder,
.form-inputs textarea::placeholder { color: rgba(40,29,26,0.56); }
.form-inputs input:focus,
.form-inputs textarea:focus { border-color: var(--accent); }
.form-inputs textarea { height: 114px; align-items: flex-start; }

.btn-red {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 68px;
  background: var(--accent); color: #fff;
  border: none; border-radius: 16px;
  font-family: 'Roboto Serif', serif; font-weight: 600; font-size: 20px;
  letter-spacing: 0.16px;
  cursor: pointer;
  transition: background .2s, transform .1s;
  text-decoration: none;
}
.btn-red:hover { background: #c8200c; }
.btn-red:active { transform: scale(.98); }
.btn-get-started { width: 234px; }

.btn-secondary {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 56px;
  background: transparent; color: var(--accent);
  border: 1.5px solid var(--accent); border-radius: 16px;
  font-family: 'Roboto Serif', serif; font-weight: 600; font-size: 18px;
  letter-spacing: 0.16px;
  cursor: pointer;
  transition: background .2s, color .2s, transform .1s;
  text-decoration: none;
}
.btn-secondary:hover { background: var(--accent); color: #fff; }
.btn-secondary:active { transform: scale(.98); }

.form-note {
  font-family: 'Roboto', sans-serif; font-size: 17px;
  color: #4a3f35; text-align: center; line-height: 21px;
}
.form-divider {
  display: flex; align-items: center; gap: 8px; margin: 4px 0;
}
.form-divider-line { flex: 1; height: 1px; background: var(--divider); }
.form-divider-text {
  font-family: 'Roboto', sans-serif; font-size: 17px;
  color: rgba(40,29,26,0.4); white-space: nowrap; line-height: 18px;
}
.social-icons {
  display: flex; align-items: center; justify-content: center; gap: 24px;
}
.social-icons a {
  display: block; width: 56px; height: 56px;
  border-radius: 50%; overflow: hidden;
  transition: transform .2s;
}
.social-icons a:hover { transform: scale(1.08); }
.social-icons img { width: 100%; height: 100%; }
.form-email {
  font-family: 'Roboto', sans-serif; font-size: 20px;
  color: #008dff; text-decoration: underline;
  text-align: center; display: block;
  letter-spacing: -0.1px; line-height: 20px;
}

/* Sent state */
.form-sent-state {
  display: none; flex-direction: column;
  align-items: center; gap: 16px; padding: 8px 0;
}
.form-sent-state.visible { display: flex; }
.sent-icon {
  width: 72px; height: 72px;
  background: var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.sent-icon svg { width: 36px; height: 36px; }
.sent-title {
  font-family: 'Roboto Serif', serif; font-weight: 700;
  font-size: 22px; color: var(--text-primary); text-align: center;
}
.sent-subtitle {
  font-family: 'Roboto', sans-serif; font-size: 16px;
  color: var(--text-secondary); text-align: center;
}

/* ─── SERVICES ─────────────────────────────────────────── */
.services-section { padding: 68px 0 96px; }
.section-h2 {
  font-family: 'Roboto Serif', serif; font-weight: 700;
  font-size: clamp(28px, 3.3vw, 48px);
  letter-spacing: -0.96px; line-height: 1.08;
  color: var(--text-primary); margin-bottom: 60px;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px 32px;
}
.service-card {
  background: var(--bg-elevated);
  border: 1px solid var(--stroke);
  border-radius: 40px;
  padding: 110px 32px 36px;
  position: relative;
  overflow: visible;
}
.card-img-top {
  position: absolute;
  top: -44px; left: 32px;
  height: 122px; width: auto;
  max-width: 200px;
  object-fit: contain;
}
.card-title {
  font-family: 'Roboto Serif', serif; font-weight: 500;
  font-size: 24px; color: var(--text-primary);
  margin-bottom: 16px; line-height: 1.2;
}
.card-desc {
  font-size: 16px; color: var(--text-secondary);
  line-height: 26px; margin-bottom: 24px;
}
.card-list {
  list-style: none; display: flex; flex-direction: column;
  gap: 8px; margin-top: 0;
}
.card-list li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 16px; color: var(--text-primary); line-height: 26px;
}
.bullet {
  width: 16px; height: 16px;
  background: var(--text-primary);
  border-radius: 50%;
  flex-shrink: 0; margin-top: 5px;
  display: flex; align-items: center; justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='8' fill='%23281d1b'/%3E%3Cpath d='M4.5 8l2.5 2.5 4.5-4.5' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* ─── HOW IT WORKS ─────────────────────────────────────── */
.steps-section { padding: 52px 0; }
.steps-h2 {
  font-family: 'Roboto Serif', serif; font-weight: 700;
  font-size: clamp(28px, 3.3vw, 48px);
  letter-spacing: -0.96px; line-height: 1.08;
  color: var(--text-primary); margin-bottom: 32px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 31px; left: 48px; right: 280px;
  height: 1px;
  background: var(--stroke);
}
.step { position: relative; }
.step-num-box {
  width: 64px; height: 64px;
  background: var(--bg-elevated);
  border: 1px solid var(--stroke);
  border-radius: 32px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 23px;
}
.step-num {
  font-family: 'Fraunces', serif; font-weight: 700;
  font-size: 48px; color: var(--accent); line-height: 1;
}
.step-title {
  font-family: 'Roboto Serif', serif; font-weight: 500;
  font-size: 24px; color: #1a1510;
  margin-bottom: 8px; line-height: 1.15;
}
.step-desc {
  font-size: 16px; color: #4a3f35; line-height: 26px;
}

/* ─── WHY BULGARIA ─────────────────────────────────────── */
.why-section { padding: 68px 0 96px; }
.why-header { margin-bottom: 44px; }
.why-label {
  font-family: 'Roboto Serif', serif; font-weight: 500;
  font-size: 24px; color: var(--accent);
  margin-bottom: 16px; line-height: 1.2;
}
.why-h2 {
  font-family: 'Roboto Serif', serif; font-weight: 700;
  font-size: clamp(28px, 3.3vw, 48px);
  letter-spacing: -0.96px; line-height: 52px;
  color: var(--text-primary);
  max-width: 785px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.why-card {
  background: var(--bg-elevated);
  border: 1px solid var(--stroke);
  border-radius: 40px;
  padding: 32px;
  display: flex; flex-direction: column; gap: 12px;
}
.why-icon-img { width: 60px; height: 60px; object-fit: contain; }
.why-card-title {
  font-family: 'Roboto Serif', serif; font-weight: 500;
  font-size: 24px; color: var(--text-primary); line-height: 1.2;
}
.why-card-desc {
  font-size: 16px; color: var(--text-secondary); line-height: 26px;
}

/* ─── FOUNDER ───────────────────────────────────────────── */
.founder-section { padding: 52px 0; }
.founder-inner { max-width: 785px; }
.founder-h2 {
  font-family: 'Roboto Serif', serif; font-weight: 700;
  font-size: clamp(28px, 3.3vw, 48px);
  letter-spacing: -0.96px; line-height: 52px;
  color: var(--text-primary); margin-bottom: 24px;
}
.founder-body {
  font-family: 'Roboto', sans-serif;
  font-size: 18px; color: var(--text-secondary);
  line-height: 26px; margin-bottom: 16px;
}
.founder-highlight {
  font-family: 'Roboto Serif', serif; font-weight: 500;
  font-size: 32px; color: var(--text-primary);
  line-height: 1.2; margin-bottom: 24px;
  max-width: 566px;
}
.founder-author {
  display: flex; align-items: center; gap: 14px;
  margin-top: 32px; margin-bottom: 32px;
}
.founder-avatar {
  width: 60px; height: 60px;
  border-radius: 50%; overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-elevated);
}
.founder-name {
  font-family: 'Roboto Serif', serif; font-weight: 700;
  font-size: 20px; color: var(--text-primary);
  letter-spacing: -0.4px; line-height: 24px;
}
.founder-role {
  font-family: 'Public Sans', sans-serif; font-weight: 400;
  font-size: 15px; color: var(--text-secondary);
  letter-spacing: -0.075px; line-height: 20px;
}

/* ─── FAQ ──────────────────────────────────────────────── */
.faq-section { padding: 52px 0; }
.faq-inner {
  display: flex; gap: 64px; align-items: flex-start;
}
.faq-left { flex-shrink: 0; width: 512px; }
.faq-right { flex: 1; }
.faq-title {
  font-family: 'Roboto Serif', serif; font-weight: 700;
  font-size: clamp(28px, 3.3vw, 48px);
  letter-spacing: -0.96px; line-height: 1.08;
  color: var(--text-primary);
}
.faq-item { border-bottom: 1px solid var(--stroke); }
.faq-item:first-child { border-top: 1px solid var(--stroke); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 32px 0;
  cursor: pointer;
  font-size: 17px; color: var(--text-primary); line-height: 21px;
  gap: 16px; user-select: none;
  transition: color .2s;
}
.faq-q:hover { color: var(--accent); }
.faq-chevron {
  flex-shrink: 0; width: 24px; height: 24px;
  transition: transform .3s;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a {
  display: none; padding: 0 0 24px;
  font-size: 16px; color: var(--text-secondary); line-height: 26px;
}
.faq-item.open .faq-a { display: block; }

/* ─── FOOTER ───────────────────────────────────────────── */
.footer-section { padding: 52px 0 96px; }
.footer-inner {
  display: flex; flex-direction: column;
  align-items: center; gap: 52px;
}
.footer-inner .contact-form-card { order: 1; }
.footer-inner .footer-contact-block { order: 2; }
.footer-inner .footer-copyright { order: 3; }
.footer-contact-block { text-align: center; display: block !important; opacity: 1 !important; transform: none !important; order: 2; }
.footer-contact-title {
  font-family: 'Roboto Serif', serif; font-weight: 700;
  font-size: 48px; letter-spacing: -0.96px; line-height: 52px;
  color: var(--text-primary);
}
.footer-contact-sub {
  font-family: 'Roboto Serif', serif; font-weight: 500;
  font-size: 24px; color: var(--text-secondary);
  margin-top: 8px; line-height: 1.3;
}
.footer-copyright {
  font-family: 'Roboto', sans-serif;
  font-size: 16px; color: var(--text-secondary); line-height: 26px;
}

/* ─── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1200px) {
  .section-inner { padding: 0 48px; }
  .nav-inner { padding: 20px 48px 0; }
  .hero-image-box { padding: 48px; gap: 40px; min-height: auto; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .faq-left { width: 320px; }
}
@media (max-width: 900px) {
  .section-inner { padding: 0 24px; }
  .nav-inner {
    padding: 0;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-top-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    min-height: 60px;  /* consistent bar height — items align to middle */
  }
  .nav-logo {
    padding-bottom: 0;
    display: flex;
    align-items: center;
  }
  .nav-logo-img { height: 28px !important; }   /* was 32px — match flag visual weight */
  .nav-links { display: none; }
  .nav-hamburger {
    display: flex;
    position: static;
    margin: 0;
    padding: 8px 4px;  /* taller hit area — matches logo/flag height */
    align-items: center;
    justify-content: center;
  }
  .page-wrapper { margin-top: 60px; }
  .hero-headline { font-size: clamp(36px, 8vw, 72px); margin-bottom: 32px; line-height: 1.0; letter-spacing: -1.5px; }
  .hero-image-box {
    flex-direction: column; padding: 36px 24px;
    border-radius: 32px; gap: 32px; min-height: auto;
    align-items: center;
  }
  .hero-stats {
    order: 2;
    width: 100%; max-width: none;
    flex-direction: row; flex-wrap: wrap;
    min-height: auto; gap: 20px;
    justify-content: center;
    text-align: center;
  }
  .stat-item {
    flex: 1 1 45%; min-height: auto;
    display: flex; flex-direction: column; align-items: center;
  }
  .contact-form-card { order: 1; max-width: 100%; padding: 20px 16px; }
  .cards-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .faq-inner { flex-direction: column; gap: 32px; }
  .faq-left { width: 100%; }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .section-h2, .steps-h2, .why-h2, .founder-h2, .faq-title {
    line-height: 1.05;
    letter-spacing: -0.5px;
  }
  .hero-headline { font-size: clamp(38px, 11vw, 64px); }
  .hero-stats { flex-direction: column; gap: 20px; }
  .stat-item { flex: 1 1 100%; }
  .steps-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-contact-title { font-size: 32px; }
  .footer-contact-sub { font-size: 18px; }

  /* Hero goes edge-to-edge on phones — more room for the form & stats */
  .hero-section .section-inner { padding: 0; }
  .hero-headline { padding: 0 20px; }           /* keep the big H1 off the screen edges */
  .hero-image-box {
    padding: 32px 18px;                         /* was 36px 24px */
  }
  .hero-section .contact-form-card { padding: 20px 14px; }
}

/* ═══════════════════════════════════════════════════════
   MICRO-ANIMATIONS
═══════════════════════════════════════════════════════ */

/* ── Scroll-reveal base ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* stagger delays */
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }
.delay-5 { transition-delay: 0.40s; }
.delay-6 { transition-delay: 0.48s; }

/* ── Page load hero headline ────────────────────────── */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-headline {
  animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.1s;
}
.hero-image-box {
  animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.3s;
}

/* ── Nav logo bounce ────────────────────────────────── */
.nav-logo {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.nav-logo:hover { transform: scale(1.05); }

/* ── Nav link sliding underline ─────────────────────── */
.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 10px; left: 50%; right: 50%;
  height: 2px;
  background: var(--accent);
  transition: left 0.25s ease, right 0.25s ease;
  border-radius: 2px;
}
.nav-links a:hover::after { left: 16px; right: 16px; }

/* ── Service card hover ─────────────────────────────── */
.card-img-top {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Why-Bulgaria card: no hover (non-clickable) ─── */
.why-icon-img { transition: none; }

/* Steps: only number colour changes on hover, no card lift */
.step-num-box { transition: background 0.25s ease, border-color 0.25s ease; }
.step:hover .step-num-box { background: var(--accent); border-color: var(--accent); }
.step-num { transition: color 0.2s ease; }
.step:hover .step-num { color: #fff; }

/* ── FAQ item ───────────────────────────────────────── */
.faq-a {
  display: block;
  max-height: 0;
  overflow: hidden;
  padding-bottom: 0;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              padding-bottom 0.3s ease,
              opacity 0.35s ease;
  opacity: 0;
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding-bottom: 24px;
  opacity: 1;
}

/* ── Button pulse removed */

/* ── Form inputs focus lift ─────────────────────────── */
.form-inputs input,
.form-inputs textarea {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.form-inputs input:focus,
.form-inputs textarea:focus {
  box-shadow: 0 2px 12px rgba(235, 39, 14, 0.12);
  transform: translateY(-1px);
}

/* ── Social icon bounce ─────────────────────────────── */
.social-icons a {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.25s ease;
}
.social-icons a:hover {
  transform: scale(1.15) translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.14);
}

/* ── Stat counter pulse on load ─────────────────────── */
@keyframes statPop {
  from { opacity: 0; transform: scale(0.7); }
  to   { opacity: 1; transform: scale(1); }
}
.stat-num {
  animation: statPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.stat-item:nth-child(1) .stat-num { animation-delay: 0.5s; }
.stat-item:nth-child(2) .stat-num { animation-delay: 0.65s; }
.stat-item:nth-child(3) .stat-num { animation-delay: 0.80s; }
.stat-item:nth-child(4) .stat-num { animation-delay: 0.95s; }

/* ── Section headings slide-in ──────────────────────── */
.section-h2, .steps-h2, .why-h2, .founder-h2, .faq-title, .footer-contact-title {
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22,1,0.36,1);
}

/* ── Sent state entrance ────────────────────────────── */
@keyframes sentBounce {
  0%   { transform: scale(0); opacity: 0; }
  60%  { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}
.form-sent-state.visible .sent-icon {
  animation: sentBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.form-sent-state.visible .sent-title {
  animation: heroFadeUp 0.4s ease both;
  animation-delay: 0.2s;
}
.form-sent-state.visible .sent-subtitle {
  animation: heroFadeUp 0.4s ease both;
  animation-delay: 0.3s;
}

/* ── Founder avatar wiggle on hover ─────────────────── */
@keyframes wiggle {
  0%,100% { transform: rotate(0deg); }
  25%      { transform: rotate(-5deg); }
  75%      { transform: rotate(5deg); }
}
.founder-avatar:hover { animation: wiggle 0.4s ease; }

/* ── Reduce motion ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Language switcher ─────────────────────────────── */
.lang-switch {
  position: absolute;
  top: 22px;
  right: 96px;
  z-index: 5;
  font-family: 'Public Sans', sans-serif;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 6px 14px 6px 6px;
  cursor: pointer;
  font: inherit;
  font-weight: 500;
  font-size: 15px;
  color: var(--text-primary);
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.lang-btn:hover { background: #f4f1ea; }
.lang-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(235, 39, 14, 0.18);
}
.lang-flag {
  width: 32px; height: 32px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #fff;
  display: block;
}
.lang-flag img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.lang-name { white-space: nowrap; }
.lang-chev {
  width: 16px; height: 16px;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.lang-switch.open .lang-chev { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(35, 25, 24, 0.12);
  padding: 6px;
  min-width: 190px;
  list-style: none;
  margin: 0;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 100;
}
.lang-switch.open .lang-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.lang-menu li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 15px;
  color: var(--text-primary);
  transition: background 0.15s;
}
.lang-menu li:hover { background: var(--bg-elevated); }
.lang-menu li.active {
  background: var(--bg-elevated);
  font-weight: 500;
}
.lang-menu li img {
  width: 24px; height: 24px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

/* Responsive language switcher */
@media (max-width: 1200px) {
  .lang-switch { right: 48px; }
}
@media (max-width: 900px) {
  /* On mobile the switch sits inline in the nav-top-row flex container
     (not absolute), so it doesn't overlap the logo. The button keeps
     its pill background and chevron (so the "click to change language"
     affordance is obvious), only the language NAME is hidden. Width is
     fixed — flag + chevron are same size regardless of language — so
     switching languages never shifts the logo or hamburger. */
  .lang-switch {
    position: relative;
    top: auto;
    right: auto;
    flex-shrink: 0;
    /* Tiny optical correction — the round flag inside the pill sits a
       hair higher than logo baseline and hamburger bars do. 2px nudge
       down aligns it to the same visual line. */
    margin-top: 2px;
  }
  .lang-btn {
    padding: 3px 8px 3px 3px;
    gap: 4px;
  }
  .lang-btn .lang-name { display: none; }
  .lang-chev {
    width: 12px; height: 12px;
    opacity: 0.55;
  }
  .lang-flag {
    width: 26px; height: 26px;
    border: 1px solid var(--stroke);
  }
  .lang-menu {
    min-width: 180px;
    right: 0;
  }
  /* Logo can shrink if absolutely necessary so everything fits */
  .nav-logo { min-width: 0; flex-shrink: 1; overflow: hidden; }
  .nav-top-row { gap: 10px; }
}

/* ── Mobile floating CTA button ─────────────────────── */
.mobile-cta-float {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--accent);
  color: #fff;
  font-family: 'Roboto Serif', serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.16px;
  text-decoration: none;
  height: 68px;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  box-shadow: 0 -4px 20px rgba(235,39,14,0.22);
  transition: background 0.2s, opacity 0.3s;
}
.mobile-cta-float:hover { background: #c8200c; }
.mobile-cta-float:active { background: #c8200c; }
.mobile-cta-float.hidden {
  opacity: 0;
  pointer-events: none;
}
@media (max-width: 767px) {
  .mobile-cta-float { display: flex; }
}




/* ═══════════════════════════════════════════════════════════
   ARTICLES / BLOG SECTION — carousel
   ═══════════════════════════════════════════════════════════ */
.articles-section { padding: 80px 0 96px; }
.articles-header { margin-bottom: 44px; }
.articles-label { display: block; font-family: 'Roboto Serif', serif; font-weight: 500; font-size: 24px; color: var(--accent); margin-bottom: 16px; line-height: 1.2; }
.articles-h2 { font-family: 'Roboto Serif', serif; font-weight: 700; font-size: clamp(28px,3.3vw,48px); letter-spacing: -0.96px; line-height: 1.08; color: var(--text-primary); margin: 0; }

/* Carousel wrapper */
.articles-carousel-wrap { position: relative; }
.articles-carousel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  overflow: hidden;
}

/* Cards */
.article-card { display: flex; flex-direction: column; border: 1px solid var(--stroke); border-radius: 40px; overflow: hidden; background: var(--bg-elevated); text-decoration: none; transition: box-shadow 0.25s, transform 0.25s; }
.article-card:hover { transform: translateY(-4px); }
.article-card-img { position: relative; aspect-ratio: 16/10; overflow: hidden; border-radius: 32px 32px 0 0; }
.article-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.45s ease; }
.article-card:hover .article-card-img img { transform: scale(1.04); }
.article-card-body { display: flex; flex-direction: column; flex: 1; padding: 28px 28px 24px; gap: 12px; }
.article-card-meta { font-family: 'Roboto', sans-serif; font-size: 13px; color: var(--text-secondary); display: flex; align-items: center; gap: 10px; }
.article-card-meta span { opacity: 0.5; }
.article-card-title { font-family: 'Roboto Serif', serif; font-weight: 700; font-size: 19px; line-height: 1.28; letter-spacing: -0.3px; color: var(--text-primary); margin: 0; flex: 1; }
.article-card-excerpt { font-family: 'Roboto', sans-serif; font-size: 15px; line-height: 1.6; color: var(--text-secondary); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article-card-cta { font-family: 'Roboto Serif', serif; font-size: 16px; font-weight: 600; color: var(--accent); display: flex; align-items: center; gap: 6px; margin-top: 8px; padding-top: 10px; transition: gap 0.2s; }
.article-card:hover .article-card-cta { gap: 11px; }

/* Hidden cards (JS will show 3 at a time) */
.article-card.hidden { display: none; }

/* Arrows */
.carousel-btn {
  position: absolute; top: calc(50% - 40px); transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--stroke);
  background: var(--bg); cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--text-primary); transition: background .2s, border-color .2s, opacity .2s;
  box-shadow: 0 2px 12px rgba(40,29,26,.08); z-index: 10;
}
.carousel-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.carousel-btn:disabled { opacity: .25; pointer-events: none; }
.carousel-prev { left: -22px; }
.carousel-next { right: -22px; }

/* Dots */
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--stroke); border: none; cursor: pointer; padding: 0; transition: background .2s, transform .2s; }
.carousel-dot.active { background: var(--accent); transform: scale(1.3); }

@media(max-width:900px) {
  .articles-carousel { grid-template-columns: 1fr 1fr; }
  .carousel-prev { left: -16px; }
  .carousel-next { right: -16px; }
}
@media(max-width:580px) {
  .articles-section { padding: 52px 0 64px; }
  .articles-carousel { grid-template-columns: 1fr; }
  .carousel-btn { display: none; }
}



/* ── Footer legal (merged into existing footer) ── */
.footer-contact-legal {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  color: var(--text-secondary);
  opacity: .55;
  margin-top: 10px;
  line-height: 1.6;
}
.footer-legal-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity .2s;
}
.footer-legal-link:hover { opacity: .8; }

/* ── Latest Articles ──────────────────────────────────── */
.latest-section{padding:60px 0 20px;background:#f7f5f2}
.latest-inner{max-width:1160px;margin:0 auto;padding:0 24px}
.latest-heading{font-family:'Roboto Serif',serif;font-size:clamp(26px,4vw,36px);font-weight:700;color:#281d1b;margin-bottom:28px;letter-spacing:-0.5px}
.latest-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:20px}
.latest-card{display:flex;flex-direction:column;background:#fff;border-radius:16px;overflow:hidden;text-decoration:none;color:inherit;box-shadow:0 2px 12px rgba(40,29,26,.06);transition:box-shadow .2s,transform .2s}
.latest-card:hover{box-shadow:0 6px 28px rgba(40,29,26,.12);transform:translateY(-3px)}
.latest-card-img{width:100%;aspect-ratio:5/3;overflow:hidden}
.latest-card-img img{width:100%;height:100%;object-fit:cover;transition:transform .35s}
.latest-card:hover .latest-card-img img{transform:scale(1.04)}
.latest-card-body{padding:18px 20px 20px;display:flex;flex-direction:column;gap:8px;flex:1}
.latest-card-cat{font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#eb270e}
.latest-card-title{font-family:'Roboto Serif',serif;font-size:17px;font-weight:700;line-height:1.4;color:#281d1b;flex:1}
.latest-card-read{font-size:13px;color:#888;margin-top:auto}
@media(max-width:600px){.latest-grid{grid-template-columns:1fr}}
