/* ================================================================
   amling-custom.css  v5
   Full light theme. Zero black. Hover-only transitions.
   Primary #2c53ba · Accent/chip #cc4543 · Font Outfit
   ================================================================ */

:root {
  --primary:        #2c53ba;
  --primary-dk:     #1e3d8f;
  --primary-lt:     #4a6fd4;
  --primary-muted:  rgba(44, 83, 186, 0.07);
  --primary-border: rgba(44, 83, 186, 0.18);
  --accent:         #cc4543;

  --ink-900: #111827;
  --ink-700: #1f2d45;
  --ink-500: #4b5563;
  --ink-400: #6b7280;
  --ink-300: #9ca3af;
  --ink-200: #d1d5db;
  --ink-100: #e8ecf4;
  --ink-050: #f4f6fb;
  --white:   #ffffff;

  --r: 8px;
  --shadow-xs: 0 1px 3px rgba(0,0,0,.05);
  --shadow-sm: 0 4px 12px rgba(44,83,186,.08);
  --shadow-md: 0 8px 28px rgba(44,83,186,.11);
  --shadow-lg: 0 20px 60px rgba(44,83,186,.13);

  /* Override dark template vars */
  --heading-color:       var(--ink-900);
  --primary-color:       var(--primary);
  --primary-black-color: #ffffff;
  --white-color:         #ffffff;
  --text-color:          var(--ink-500);
  --border-color:        var(--ink-100);
  --gray-dark:           var(--ink-050);
  --heading-font:        "Outfit", sans-serif;
  --body-font:           "Outfit", sans-serif;
}

/* ----------------------------------------------------------------
   BASE
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; font-family: "Outfit", sans-serif; }
html { scroll-behavior: auto; }

body,
.amling-body,
#smooth-wrapper,
#smooth-content {
  background: #ffffff !important;
  color: var(--ink-500);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--ink-900);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
}
h1 { font-size: clamp(34px, 5vw, 58px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.5vw, 42px); font-weight: 700; }
h3 { font-size: 18px; font-weight: 600; }

p  { color: var(--ink-500); margin: 0; }
ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }

/* ----------------------------------------------------------------
   PRELOADER
   ---------------------------------------------------------------- */
/* ----------------------------------------------------------------
   PRELOADER — simple spinner
   ---------------------------------------------------------------- */
.preloader {
  background: #ffffff !important;
  position: fixed; inset: 0; z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .25s ease;
}
.preloader.loaded { opacity: 0; pointer-events: none; }

.amling-loader {
  width: 36px; height: 36px;
  border: 2.5px solid var(--ink-100);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ----------------------------------------------------------------
   SUB-TITLE — override template green pill, replace with plain label
   ---------------------------------------------------------------- */
.sub-title {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  /* Reset template pill */
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  /* Our style */
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase !important;
  color: var(--primary) !important;
  margin-bottom: 16px;
  line-height: 1 !important;
}
.sub-title::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  display: inline-block;
}
.sub-title.light {
  color: rgba(255,255,255,.8) !important;
}
.sub-title.light::before { background: rgba(255,255,255,.6); }

/* Sub-title on blue contact card */
.contact-card.primary .sub-title {
  color: rgba(255,255,255,.7) !important;
}
.contact-card.primary .sub-title::before { background: rgba(255,255,255,.5); }

/* ----------------------------------------------------------------
   HEADER
   ---------------------------------------------------------------- */
.amling-header {
  position: fixed !important;
  top: 0; left: 0; width: 100%;
  z-index: 9999;
}
.amling-header .header-navigation {
  padding: 16px 0;
  transition: padding .3s, background .3s, box-shadow .3s;
}

.amling-header.header-scrolled {
  background: rgba(255,255,255,.97) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--ink-100), 0 4px 20px rgba(44,83,186,.06);
}
.amling-header.header-scrolled .header-navigation { padding: 10px 0; }

/* Primary menu layout */
.amling-header .primary-menu {
  display: flex;
  align-items: center;
}

/* Logo — no pill border */
.amling-header .site-branding {
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  line-height: 1;
}
.amling-header .site-branding img {
  height: 32px; width: auto; display: block;
}

/* Nav pill container */
.amling-header .pf-nav-menu {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-left: 32px;
  backdrop-filter: none;
}

/* Nav links */
.amling-header .main-menu ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.amling-header .main-menu ul > li > a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-700);
  padding: 8px 16px;
  border-radius: 6px;
  display: block;
  transition: color .2s, background .2s;
}
.amling-header .main-menu ul > li > a:hover {
  color: var(--primary);
  background: var(--primary-muted);
}
.amling-header .main-menu ul > li.active > a {
  color: var(--primary);
  background: var(--primary-muted);
  font-weight: 600;
}

/* ----------------------------------------------------------------
   BUTTONS — balanced padding, hover color only
   ---------------------------------------------------------------- */
.theme-btn.style-one {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #ffffff !important;
  border: none;
  border-radius: var(--r);
  padding: 13px 28px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: background .2s, box-shadow .2s;
}
.theme-btn.style-one:hover {
  background: var(--primary-dk);
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(44,83,186,.25);
}
.theme-btn.style-one *,
.theme-btn.style-one span { color: #ffffff !important; }

/* White/outlined variant — for CTA band (white outline, primary text) */
.theme-btn.style-one.white-btn {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.5);
  color: #ffffff !important;
}
.theme-btn.style-one.white-btn:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--primary) !important;
  box-shadow: 0 8px 24px rgba(15, 32, 84, .16);
}
.theme-btn.style-one.white-btn:hover *,
.theme-btn.style-one.white-btn:hover span {
  color: var(--primary) !important;
}
.theme-btn.style-one.white-btn,
.theme-btn.style-one.white-btn *,
.theme-btn.style-one.white-btn span { color: #ffffff !important; }
.theme-btn.style-one.white-btn:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.8);
  box-shadow: none;
}

/* Secondary / outline */
.theme-btn.style-two,
.amling-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--primary) !important;
  border: 1.5px solid var(--primary-border);
  border-radius: var(--r);
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.theme-btn.style-two:hover,
.amling-secondary-btn:hover {
  background: var(--primary-muted);
  border-color: var(--primary);
  color: var(--primary) !important;
}

/* Language switcher */
.language-switcher { display: flex; align-items: center; gap: 4px; margin-right: 10px; }
.lang-btn {
  background: transparent;
  border: 1.5px solid var(--ink-200);
  border-radius: 6px;
  color: var(--ink-500);
  font-size: 12px; font-weight: 700;
  padding: 6px 10px; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.lang-btn:hover  { border-color: var(--primary-border); color: var(--primary); }
.lang-btn.active { background: var(--primary); border-color: var(--primary); color: #ffffff; }

/* Nav right */
.nav-right-item-amling {
  display: flex; align-items: center; gap: 10px; margin-left: auto;
}

/* ----------------------------------------------------------------
   HAMBURGER — desktop hidden, mobile: 3 bare lines, no box
   ---------------------------------------------------------------- */
/* Hide hamburger on desktop */
@media (min-width: 992px) {
  .header-navigation .navbar-toggler { display: none !important; }
}

/* Mobile hamburger — clean 3 lines, no border/background */
.header-navigation .navbar-toggler {
  width: 32px; height: 24px;
  display: flex; flex-direction: column;
  align-items: flex-end; justify-content: space-between;
  cursor: pointer;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}
.header-navigation .navbar-toggler span {
  width: 100%; height: 2px;
  background: var(--ink-700); border-radius: 2px; display: block;
  transition: transform .25s, opacity .2s, width .2s;
}
.header-navigation .navbar-toggler span:nth-child(2) { width: 75%; }
.header-navigation .navbar-toggler.active span:nth-child(1) {
  transform: translateY(11px) rotate(45deg); width: 100%;
}
.header-navigation .navbar-toggler.active span:nth-child(2) { opacity: 0; width: 100%; }
.header-navigation .navbar-toggler.active span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* ----------------------------------------------------------------
   MOBILE NAV PANEL — smooth slide, modern sizing
   ---------------------------------------------------------------- */
@media (max-width: 991px) {
  .amling-header .pf-nav-menu {
    position: fixed;
    top: 0; right: 0;
    width: 260px; height: 100vh;
    background: #ffffff;
    border-left: 1px solid var(--ink-100);
    padding: 72px 24px 40px;
    overflow-y: auto;
    z-index: 9998; margin: 0;
    display: block !important;
    /* transform instead of right — no flash on load, GPU-accelerated */
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .35s cubic-bezier(.25, .46, .45, .94),
                visibility 0s linear .35s;
    box-shadow: none;
  }
  .amling-header .pf-nav-menu.menu-on {
    transform: translateX(0);
    visibility: visible;
    transition: transform .35s cubic-bezier(.25, .46, .45, .94),
                visibility 0s linear 0s;
    box-shadow: -8px 0 40px rgba(44,83,186,.1);
  }

  /* Mobile nav branding */
  .amling-header .pf-nav-menu .site-branding {
    margin-bottom: 32px;
    padding-bottom: 20px !important;
    border-bottom: 1px solid var(--ink-100) !important;
    display: flex; justify-content: center;
  }

  /* Mobile nav links */
  .amling-header .main-menu ul {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .amling-header .main-menu ul > li > a {
    padding: 13px 4px;
    border-radius: 0;
    border-bottom: 1px solid var(--ink-100);
    font-size: 16px;
    font-weight: 500;
    color: var(--ink-700);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .amling-header .main-menu ul > li > a::after {
    content: '→';
    font-size: 14px;
    color: var(--ink-300);
    transition: color .2s;
  }
  .amling-header .main-menu ul > li > a:hover::after { color: var(--primary); }
  .amling-header .main-menu ul > li:last-child > a { border-bottom: none; }

  /* Mobile CTA button inside panel — visible only inside mobile panel */
  .pf-nav-button {
    display: block !important;
    margin-top: 20px !important;
  }
  .pf-nav-button .theme-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 28px;
    font-size: 15px;
  }

  /* Overlay */
  .offcanvas__overlay {
    position: fixed; inset: 0;
    background: rgba(17,24,39,.25);
    backdrop-filter: blur(3px);
    z-index: 9997;
    opacity: 0; pointer-events: none;
    transition: opacity .35s;
  }
  .offcanvas__overlay.overlay-open { opacity: 1; pointer-events: all; }
}

/* ----------------------------------------------------------------
   SCROLL OFFSET
   ---------------------------------------------------------------- */
[id] { scroll-margin-top: 84px; }

/* ----------------------------------------------------------------
   SECTIONS
   ---------------------------------------------------------------- */
.amling-section { padding: 96px 0; }
.section-light  { background: #ffffff; }
.section-muted  { background: var(--ink-050); }
.cta-band       { background: var(--primary); padding: 80px 0; }

.section-heading { max-width: 640px; margin: 0 auto; }
.section-heading h2 { margin-bottom: 14px; }
.section-heading p { color: var(--ink-400); font-size: 17px; line-height: 1.7; }
.section-paragraph { color: var(--ink-500); font-size: 16px; line-height: 1.75; }

/* ----------------------------------------------------------------
   HERO
   ---------------------------------------------------------------- */
.amling-hero {
  background: #ffffff;
  padding: 144px 0 88px;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--ink-100);
}
.amling-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(var(--ink-200) 1px, transparent 1px);
  background-size: 28px 28px; opacity: .5; pointer-events: none;
}
.amling-hero::after {
  content: ''; position: absolute;
  top: -100px; right: -80px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(44,83,186,.08) 0%, transparent 68%);
  pointer-events: none;
}
.amling-hero .shape { display: none; }
.amling-hero .container { position: relative; z-index: 1; }

.hero-copy { padding-right: 40px; }
.hero-copy .sub-title { margin-bottom: 18px; }
.hero-copy h1 { color: var(--primary); margin-bottom: 18px; font-weight: 800; }
.hero-copy .hero-lead {
  font-size: 17px; line-height: 1.72;
  color: var(--ink-500); max-width: 480px; margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }

.hero-trust-list { display: flex; flex-direction: column; gap: 9px; }
.hero-trust-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--ink-500); font-weight: 500;
}
.hero-trust-list li::before {
  content: ''; width: 18px; height: 18px; min-width: 18px;
  background: rgba(204,69,67,.08); border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23cc4543' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 11px;
}

/* Hero visual card */
.hero-visual-card {
  background: #ffffff; border: 1px solid var(--ink-100);
  border-radius: 14px; box-shadow: var(--shadow-lg); padding: 28px;
}
.visual-top {
  display: flex; align-items: center;
  justify-content: space-between; margin-bottom: 18px;
}
.mini-label {
  font-size: 11px; font-weight: 700;
  color: var(--ink-400); text-transform: uppercase; letter-spacing: .08em;
}
/* Risk chip — accent red instead of green */
.risk-chip {
  display: flex; align-items: center; gap: 6px;
  background: rgba(204,69,67,.07);
  border: 1px solid rgba(204,69,67,.25);
  border-radius: 20px; padding: 4px 12px;
  font-size: 12px; font-weight: 700; color: var(--accent);
}
.risk-chip span:first-child {
  width: 7px; height: 7px; background: var(--accent);
  border-radius: 50%; display: block;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: .4; }
}
.visual-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-bottom: 18px;
}
.visual-module {
  background: var(--ink-050); border: 1px solid var(--ink-100);
  border-radius: var(--r); padding: 16px;
  transition: border-color .2s;
}
.visual-module:hover { border-color: var(--primary-border); }
.visual-module.accent { background: var(--primary-muted); border-color: var(--primary-border); }
.visual-module.accent-soft { background: rgba(44,83,186,.04); border-color: rgba(44,83,186,.1); }
.visual-module h4 { font-size: 13px; font-weight: 700; color: var(--ink-900); margin-bottom: 5px; }
.visual-module p  { font-size: 12px; color: var(--ink-500); line-height: 1.5; }
.visual-footer {
  display: flex; gap: 24px;
  padding-top: 16px; border-top: 1px solid var(--ink-100);
}
.visual-footer div { display: flex; flex-direction: column; gap: 2px; }
.visual-footer strong { font-size: 15px; font-weight: 700; color: var(--ink-900); }
.visual-footer span  { font-size: 12px; color: var(--ink-400); }

/* ----------------------------------------------------------------
   ABOUT — top-aligned columns
   ---------------------------------------------------------------- */
.section-intro { align-self: flex-start; }
.section-intro h2 { margin-bottom: 0; }
.content-card { align-self: flex-start; }
.content-card p { font-size: 16px; line-height: 1.75; color: var(--ink-500); margin-bottom: 14px; }
.content-card p:last-of-type { margin-bottom: 24px; }
.info-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.info-pills span {
  background: var(--primary-muted); border: 1px solid var(--primary-border);
  color: var(--primary); border-radius: 4px;
  font-size: 13px; font-weight: 600; padding: 6px 14px;
  transition: background .2s;
}
.info-pills span:hover { background: rgba(44,83,186,.13); }

/* Top-align the about section columns */
#about .row { align-items: flex-start !important; }

/* ----------------------------------------------------------------
   PLATFORM CARDS
   ---------------------------------------------------------------- */
.feature-card {
  background: #ffffff; border: 1px solid var(--ink-100);
  border-radius: var(--r); padding: 32px 28px;
  height: 100%; display: flex; flex-direction: column;
  transition: border-color .2s, box-shadow .2s;
}
.feature-card:hover { border-color: var(--primary-border); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 44px; height: 44px;
  background: var(--primary-muted); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--primary); margin-bottom: 20px;
  transition: background .2s;
}
.feature-card:hover .feature-icon { background: rgba(44,83,186,.13); }
.feature-icon i { color: var(--primary) !important; }
.feature-card h3 { font-size: 17px; font-weight: 600; color: var(--ink-900); margin-bottom: 10px; }
.feature-card > p { font-size: 14px; color: var(--ink-500); line-height: 1.65; margin-bottom: 16px; }
.feature-card ul { margin-top: auto; display: flex; flex-direction: column; gap: 7px; }
.feature-card ul li {
  font-size: 13px; font-weight: 500; color: var(--ink-500);
  padding-left: 15px; position: relative;
}
.feature-card ul li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 5px; height: 5px; background: var(--primary); border-radius: 50%;
}

/* ----------------------------------------------------------------
   BENEFIT CARDS — top-aligned heading+text
   ---------------------------------------------------------------- */
.benefit-card {
  background: #ffffff; border: 1px solid var(--ink-100);
  border-radius: var(--r); padding: 32px 28px; height: 100%;
  display: flex; flex-direction: column; align-items: flex-start;
  transition: border-color .2s, box-shadow .2s;
}
.benefit-card:hover { border-color: var(--primary-border); box-shadow: var(--shadow-md); }
.benefit-number {
  display: inline-block;
  font-size: 11px; font-weight: 800; letter-spacing: .1em;
  color: var(--primary); background: var(--primary-muted);
  border-radius: 4px; padding: 4px 10px; margin-bottom: 18px;
}
.benefit-card h3 { font-size: 17px; font-weight: 600; color: var(--ink-900); margin-bottom: 10px; }
.benefit-card p  { font-size: 15px; color: var(--ink-500); line-height: 1.72; }

/* Top-align the why section header row */
#why .row.align-items-end { align-items: flex-start !important; }

/* ----------------------------------------------------------------
   CTA BAND — button below text
   ---------------------------------------------------------------- */
.cta-band { background: var(--primary); }
.cta-band-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.cta-band .sub-title {
  margin-bottom: 6px;
}
.cta-band h2 {
  color: #ffffff;
  max-width: 640px;
  margin: 0;
}
.cta-band .theme-btn {
  margin-top: 6px;
}

/* ----------------------------------------------------------------
   CONTACT
   ---------------------------------------------------------------- */
.contact-section { background: var(--ink-050); }
.contact-card { border-radius: var(--r); padding: 44px 40px; height: 100%; }

.contact-card.primary { background: var(--primary); }
.contact-card.primary h2  { color: #ffffff; font-size: clamp(22px, 2.5vw, 30px); margin-bottom: 14px; }
.contact-card.primary > p { color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.7; margin-bottom: 32px; }

.contact-actions { display: flex; flex-direction: column; gap: 10px; }
.contact-actions a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; color: rgba(255,255,255,.9);
  transition: color .2s;
}
.contact-actions a:hover { color: #ffffff; text-decoration: underline; }

.contact-card.details {
  background: #ffffff; border: 1px solid var(--ink-100);
  display: flex; flex-direction: column; justify-content: flex-start;
  padding-top: 40px;
}
.detail-item {
  display: flex; flex-direction: column; gap: 3px;
  padding: 16px 0; border-bottom: 1px solid var(--ink-100);
}
.detail-item:first-child { padding-top: 0; }
.detail-item:last-child { border-bottom: none; padding-bottom: 0; }
.detail-item > span {
  font-size: 10px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-300);
}
.detail-item strong { font-size: 15px; font-weight: 600; color: var(--ink-900); }
.detail-item strong a { color: var(--primary); }
.detail-item strong a:hover { text-decoration: underline; }
.detail-item .language-switcher { margin-top: 6px; }

/* ----------------------------------------------------------------
   FOOTER — light
   ---------------------------------------------------------------- */
.amling-footer {
  background: var(--ink-050);
  border-top: 1px solid var(--ink-100);
  padding: 40px 0;
}
.footer-inner {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 24px;
}
.footer-brand { display: flex; align-items: center; gap: 20px; }
.footer-brand img { height: 28px; width: auto; }
.footer-brand p { font-size: 13px; color: var(--ink-400); max-width: 300px; }
.footer-meta { display: flex; align-items: center; gap: 24px; }
.footer-meta span { font-size: 13px; color: var(--ink-400); }
.footer-meta a {
  font-size: 13px; font-weight: 600; color: var(--primary);
  transition: color .2s;
}
.footer-meta a:hover { color: var(--primary-dk); }

/* ----------------------------------------------------------------
   SCROLL PROGRESS BAR
   ---------------------------------------------------------------- */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0%;
  background: var(--primary);
  z-index: 99998; pointer-events: none;
}

/* ----------------------------------------------------------------
   UTILITIES
   ---------------------------------------------------------------- */
.mb-50 { margin-bottom: 50px !important; }
.mb-60 { margin-bottom: 60px !important; }

/* ----------------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------------- */
@media (max-width: 991px) {
  .amling-hero   { padding: 120px 0 64px; }
  .hero-copy     { padding-right: 0; margin-bottom: 40px; }
  .amling-section{ padding: 64px 0; }
  .cta-band      { padding: 56px 0; }
}
@media (max-width: 767px) {
  .contact-card  { padding: 28px 24px; }
  .benefit-card  { padding: 24px 20px; }
  .feature-card  { padding: 24px 20px; }
  .footer-inner  { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 575px) {
  .visual-grid   { grid-template-columns: 1fr; }
  .amling-hero   { padding: 100px 0 56px; }
  .hero-actions  { flex-direction: column; }
  .hero-actions .theme-btn { width: 100%; text-align: center; }
}


/* ----------------------------------------------------------------
   UI POLISH UPDATE — 2026-03-13
   ---------------------------------------------------------------- */

/* Make large headings lighter and avoid pure black */
h1, h2, h3, h4, h5, h6 {
  color: var(--ink-800);
}

h2,
.section-intro h2,
.section-heading h2,
.cta-band h2,
.contact-card.primary h2 {
  font-weight: 500;
  color: var(--ink-800);
}

.contact-card.primary h2,
.cta-band h2 {
  color: #ffffff;
}

/* Hero title: fixed 40px, dark ink, same weight on all responsive sizes */
.hero-copy h1 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.08;
  color: var(--ink-800);
  max-width: 620px;
}

/* Center favicon/logomark presentation in browser tab */
link[rel="icon"] {
  image-rendering: -webkit-optimize-contrast;
}

/* Hamburger: 3 equal lines, clearer X state */
.header-navigation .navbar-toggler {
  width: 30px;
  height: 22px;
  align-items: center;
}
.header-navigation .navbar-toggler span,
.header-navigation .navbar-toggler span:nth-child(2) {
  width: 100%;
  height: 2px;
  transform-origin: center;
}
.header-navigation .navbar-toggler.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.header-navigation .navbar-toggler.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(.7);
}
.header-navigation .navbar-toggler.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* Mobile spacing tightened ~15% */
@media (max-width: 991px) {
  .amling-hero { padding: 110px 0 56px; }
  .amling-section { padding: 54px 0; }
  .cta-band { padding: 48px 0; }
  .hero-copy { margin-bottom: 32px; }
  .hero-actions { margin-bottom: 28px; }
  .section-heading p,
  .section-paragraph,
  .content-card p,
  .benefit-card p,
  .feature-card > p,
  .contact-card.primary > p { line-height: 1.65; }
  .contact-card { padding: 38px 34px; }
}

@media (max-width: 767px) {
  .amling-hero { padding: 96px 0 48px; }
  .amling-section { padding: 48px 0; }
  .cta-band { padding: 42px 0; }
  .hero-copy .sub-title { margin-bottom: 14px; }
  .hero-copy h1 { margin-bottom: 14px; }
  .hero-copy .hero-lead { margin-bottom: 24px; font-size: 16px; }
  .hero-actions { gap: 10px; margin-bottom: 26px; }
  .hero-trust-list { gap: 7px; }
  .hero-visual-card { padding: 22px; }
  .visual-top { margin-bottom: 14px; }
  .visual-grid { gap: 8px; margin-bottom: 14px; }
  .visual-module { padding: 14px; }
  .visual-footer { gap: 18px; padding-top: 14px; }
  .feature-card,
  .benefit-card,
  .contact-card { padding: 22px 18px; }
  .content-card p:last-of-type { margin-bottom: 18px; }
  .detail-item { padding: 13px 0; }
  .footer-inner { gap: 18px; }
}

@media (max-width: 575px) {
  .amling-hero { padding: 92px 0 44px; }
  .amling-section { padding: 44px 0; }
  .hero-copy h1 { font-size: 40px; line-height: 1.08; font-weight: 800; color: var(--ink-800); }
}


/* ----------------------------------------------------------------
   FINAL UI PACKAGING — 2026-03-13
   ---------------------------------------------------------------- */
:root {
  --motion-fast: 180ms;
  --motion-base: 260ms;
  --motion-slow: 420ms;
}

body {
  text-rendering: optimizeLegibility;
}

.brand-logo img,
.mobile-logo img,
.footer-brand img,
#loading-icon img {
  display: block;
}

#loading-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.amling-header,
.hero-visual-card,
.visual-module,
.feature-card,
.benefit-card,
.theme-btn,
.lang-btn,
.info-pills span {
  transition-timing-function: cubic-bezier(.22, 1, .36, 1);
}

.amling-header { transition-duration: var(--motion-base); }
.theme-btn,
.lang-btn,
.info-pills span,
.visual-module { transition-duration: var(--motion-fast); }
.feature-card,
.benefit-card,
.hero-visual-card { transition-duration: var(--motion-base); }

.feature-icon {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  margin-bottom: 24px;
  background: linear-gradient(180deg, rgba(44,83,186,.06), rgba(44,83,186,.035));
  border: 1px solid rgba(44,83,186,.08);
}
.feature-icon svg {
  width: 28px;
  height: 28px;
  display: block;
  color: var(--primary);
}
.feature-card:hover .feature-icon {
  background: linear-gradient(180deg, rgba(44,83,186,.09), rgba(44,83,186,.05));
}

.section-split .section-intro h2 {
  max-width: 560px;
  line-height: 1.08;
}
.about-copy {
  max-width: 880px;
  margin-left: auto;
}
.about-copy p {
  max-width: 820px;
}
.solution-intro h2 {
  max-width: 560px;
}
.solution-copy {
  max-width: 720px;
  margin-left: auto;
  padding-top: 40px;
}
.solution-copy .section-paragraph {
  font-size: 17px;
  line-height: 1.68;
  margin-bottom: 0;
}
#why .row.mb-50 {
  margin-bottom: 58px !important;
}

@media (min-width: 992px) {
  #about .row,
  #why .row.mb-50 {
    align-items: start !important;
  }
  #about .col-lg-5,
  #why .col-lg-6:first-child {
    padding-top: 8px;
  }
}

@media (max-width: 991px) {
  .about-copy,
  .solution-copy {
    max-width: none;
    margin-left: 0;
    padding-top: 0;
  }
}

@media (max-width: 767px) {
  .feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    border-radius: 14px;
  }
  .feature-icon svg {
    width: 25px;
    height: 25px;
  }
  #why .row.mb-50 {
    margin-bottom: 36px !important;
  }
}


/* About section final alignment */
#about .about-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: 56px;
  row-gap: 12px;
  align-items: start;
}
#about .about-kicker-wrap {
  grid-column: 1;
  grid-row: 1;
}
#about .about-title-wrap {
  grid-column: 1;
  grid-row: 2;
}
#about .about-copy-wrap {
  grid-column: 2;
  grid-row: 2;
}
#about .about-kicker-wrap .sub-title {
  margin-bottom: 0;
}
#about .section-intro {
  max-width: 720px;
}
#about .section-intro h2 {
  margin: 0;
}
#about .content-card.about-copy {
  margin-top: 0;
}
@media (max-width: 991.98px) {
  #about .about-layout {
    grid-template-columns: 1fr;
    row-gap: 16px;
  }
  #about .about-kicker-wrap,
  #about .about-title-wrap,
  #about .about-copy-wrap {
    grid-column: 1;
  }
  #about .about-kicker-wrap { grid-row: 1; }
  #about .about-title-wrap { grid-row: 2; }
  #about .about-copy-wrap { grid-row: 3; }
}

/* ----------------------------------------------------------------
   MOBILE MENU REFINEMENTS — language in drawer, left aligned items, soft dividers
   ---------------------------------------------------------------- */
.language-switcher-mobile { display: none; }
.navbar-close { display: none; }

@media (max-width: 991px) {
  .amling-header .pf-nav-menu {
    width: min(320px, 86vw);
    padding: 24px 22px 32px;
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    background: #ffffff;
  }

  .navbar-close {
    width: 42px;
    height: 42px;
    margin-left: auto;
    margin-bottom: 18px;
    border: none;
    border-radius: 999px;
    background: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(44,83,186,.16);
  }
  .navbar-close span {
    position: absolute;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: #ffffff;
    display: block;
  }
  .navbar-close span:first-child { transform: rotate(45deg); }
  .navbar-close span:last-child { transform: rotate(-45deg); }

  .amling-header .pf-nav-menu .site-branding {
    margin-bottom: 18px;
    padding-bottom: 18px !important;
    border-bottom: 1px solid rgba(44,83,186,.12) !important;
    display: flex;
    justify-content: flex-start;
  }
  .amling-header .pf-nav-menu .site-branding img {
    height: 28px;
  }

  .language-switcher-mobile {
    display: flex !important;
    gap: 8px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(44,83,186,.12);
    justify-content: flex-start;
  }

  .amling-header .main-menu ul {
    align-items: stretch;
  }
  .amling-header .main-menu ul > li {
    width: 100%;
  }
  .amling-header .main-menu ul > li > a {
    justify-content: flex-start;
    text-align: left;
    padding: 14px 2px;
    border-bottom: 1px solid rgba(44,83,186,.12);
  }
  .amling-header .main-menu ul > li > a::after {
    display: none;
  }
  .amling-header .main-menu ul > li:last-child > a {
    border-bottom: 1px solid rgba(44,83,186,.12);
  }

  .pf-nav-button {
    margin-top: 20px !important;
    padding-top: 18px;
    border-top: 1px solid rgba(44,83,186,.12);
  }

  .header-navigation .navbar-toggler.active span {
    background: #ffffff;
  }

  .amling-header .pf-nav-menu.menu-on ~ .nav-right-item .navbar-toggler {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}


/* ----------------------------------------------------------------
   MOBILE FIXES — 2026-03-13 (pass 2)
   ---------------------------------------------------------------- */
html, body, .amling-body, #smooth-wrapper, #smooth-content {
  max-width: 100%;
  overflow-x: hidden;
}

/* Hero title stays 40px and medium weight across responsive sizes */
.hero-copy h1 {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.08;
  color: var(--ink-800);
}

@media (max-width: 575px) {
  .hero-copy h1 {
    font-size: 40px;
    font-weight: 500;
    line-height: 1.08;
    color: var(--ink-800);
  }
}

@media (max-width: 991px) {
  /* Keep only the hamburger in the header on responsive */
  .nav-right-item-amling .language-switcher,
  .nav-right-item-amling .nav-button {
    display: none !important;
  }

  /* Put all responsive actions inside the slide-in menu */
  .amling-header .pf-nav-menu {
    width: min(320px, 86vw);
    max-width: 86vw;
    padding: 24px 22px 32px;
  }

  /* Prevent horizontal crop/scroll on phone */
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Remove duplicate divider between last item and CTA */
  .amling-header .main-menu ul > li:last-child > a {
    border-bottom: none;
  }
  .pf-nav-button {
    margin-top: 20px !important;
    padding-top: 0;
    border-top: none;
  }
}


/* ----------------------------------------------------------------
   MOBILE MENU FIXES — 2026-03-13 (pass 3)
   ---------------------------------------------------------------- */
html, body {
  overflow-x: clip;
  width: 100%;
}

@supports not (overflow: clip) {
  html, body { overflow-x: hidden; }
}

@media (max-width: 991px) {
  .amling-header,
  .header-navigation,
  .header-navigation .container,
  .header-navigation .primary-menu,
  .amling-hero,
  .amling-hero .container,
  .amling-hero .row,
  .amling-hero [class*="col-"] {
    max-width: 100%;
  }

  .amling-hero .row {
    --bs-gutter-x: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .hero-copy {
    padding-right: 0;
    overflow-wrap: anywhere;
  }

  .amling-header .pf-nav-menu {
    left: 0;
    right: auto;
    width: min(360px, 100vw);
    max-width: 100vw;
    height: 100dvh;
    min-height: 100vh;
    transform: translateX(-100%);
    transition: transform .35s cubic-bezier(.25, .46, .45, .94);
    border-left: none;
    border-right: 1px solid rgba(44,83,186,.10);
    box-shadow: none;
    padding: 24px 24px 32px;
    overflow-x: hidden;
  }

  .amling-header .pf-nav-menu.menu-on {
    right: auto;
    transform: translateX(0);
    box-shadow: 8px 0 40px rgba(44,83,186,.10);
  }

  .navbar-close {
    position: absolute;
    top: 24px;
    right: 24px;
    margin: 0;
    z-index: 2;
  }

  .amling-header .pf-nav-menu .site-branding {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 42px;
    margin: 0 64px 18px 0;
    padding: 0 0 18px !important;
  }

  .language-switcher-mobile {
    margin-top: 0;
  }

  .amling-header .pf-nav-menu .brand-logo,
  .amling-header .pf-nav-menu .brand-logo img {
    display: block;
  }

  .amling-header .pf-nav-menu .brand-logo img {
    height: 28px;
    width: auto;
    max-width: 100%;
  }

  .main-menu,
  .main-menu ul,
  .main-menu li,
  .main-menu a {
    max-width: 100%;
  }
}


/* --- final mobile/offcanvas fixes --- */
html, body { overflow-x: hidden !important; }
#smooth-wrapper, #smooth-content { overflow-x: clip !important; }

@media (max-width: 991px) {
  .amling-header .pf-nav-menu {
    left: 0 !important;
    right: auto !important;
    width: min(320px, 100vw) !important;
    max-width: 100vw !important;
    transform: translate3d(-100%, 0, 0);
    transition: transform .32s cubic-bezier(.25, .46, .45, .94) !important;
    will-change: transform;
  }
  .amling-header .pf-nav-menu.menu-on {
    transform: translate3d(0, 0, 0);
  }
}

.hero-copy h1 {
  font-weight: 500 !important;
}

.cta-band .theme-btn.style-one.white-btn:hover,
.cta-band .theme-btn.style-one.white-btn:hover *,
.cta-band .theme-btn.style-one.white-btn:hover span {
  color: #ffffff !important;
}


/* ----------------------------------------------------------------
   MOBILE MENU — final polish pass
   1. No separator between logo and language switcher
   2. Language switcher pinned to bottom
   3. All dividers same weight as lang switcher divider
   4. X button with animated slide-back (via CSS class)
   ---------------------------------------------------------------- */
@media (max-width: 991px) {

  /* Panel layout: flex column, content top, lang switcher pinned bottom */
  .amling-header .pf-nav-menu {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
  }

  /* Logo — no border/separator below */
  .amling-header .pf-nav-menu .site-branding {
    border-bottom: none !important;
    padding-bottom: 20px !important;
    margin-bottom: 0 !important;
  }

  /* Nav links — thin 1px dividers, same as lang switcher */
  .amling-header .main-menu ul > li > a {
    border-bottom: 1px solid var(--ink-100) !important;
    padding: 14px 2px !important;
  }
  .amling-header .main-menu ul > li:last-child > a {
    border-bottom: 1px solid var(--ink-100) !important;
  }

  /* CTA button block */
  .pf-nav-button {
    border-top: none !important;
    padding-top: 0 !important;
    margin-top: 20px !important;
  }

  /* Spacer pushes lang switcher to bottom */
  .mobile-menu-spacer {
    flex: 1;
    min-height: 16px;
  }

  /* Language switcher — pinned to bottom */
  .language-switcher-mobile {
    display: flex !important;
    margin-top: auto !important;
    margin-bottom: 0 !important;
    padding-top: 18px !important;
    padding-bottom: env(safe-area-inset-bottom, 16px) !important;
    border-top: 1px solid var(--ink-100) !important;
    border-bottom: none !important;
  }

  /* X close button — animated slide-back state */
  .navbar-close {
    transition: opacity .2s, transform .2s !important;
  }
  .navbar-close:hover {
    opacity: .8;
  }
  /* When menu is closing via X (JS adds .is-closing), slide panel back */
  .amling-header .pf-nav-menu.is-closing {
    transition: transform .35s cubic-bezier(.25, .46, .45, .94) !important;
  }
}

/* Desktop: hide CTA button that lives inside the mobile nav panel */
@media (min-width: 992px) {
  .pf-nav-button { display: none !important; }
}


/* ----------------------------------------------------------------
   MOBILE TWEAKS — hamburger size, lang switcher position, scroll lock
   ---------------------------------------------------------------- */

/* Hamburger 20% manji: 30×22 → 24×18 */
@media (max-width: 991px) {
  .header-navigation .navbar-toggler {
    width: 24px !important;
    height: 18px !important;
  }
  .header-navigation .navbar-toggler.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg) !important;
  }
  .header-navigation .navbar-toggler.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg) !important;
  }

  /* Language switcher 30% više od dna */
  .language-switcher-mobile {
    padding-bottom: calc(env(safe-area-inset-bottom, 16px) + 20px) !important;
  }
}

/* Scroll lock kada je meni otvoren */
body.menu-open {
  overflow: hidden !important;
  touch-action: none;
}
