/* design tokens */
:root{
  --gradient-primary: linear-gradient(135deg,#1e3c72 0%,#2a5298 50%,#a770ef 100%);
  --gradient-accent:  linear-gradient(135deg,#a770ef 0%,#cf8bf3 100%);

  --bg-1:#eaf6ff;
  --bg-2:#d9ecff;
  --bg-3:#efe2ff;

  --ink:#1a1a1a;
  --muted:#555;
  --card:#ffffff;
  --bd:rgba(0,0,0,0.08);
  --accent:#7b2cbf;
  --accent-hover:#5a189a;

  --brand:#111827;
  --header-bg:rgba(255,255,255,0.55);
  --header-bd:rgba(17,24,39,.08);
  --nav-hover-bg:rgba(124,58,237,0.08);

  --max-w:1200px;
  --pad-x:clamp(16px, 4vw, 28px);

  --ff-base:"Poppins",system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  --ff-head:"Playfair Display",Georgia,"Times New Roman",serif;

  --fs-sm:.9rem;
  --fs-md:1.0625rem;
  --fs-lg:clamp(1.39rem,1.39rem + ((1vw - 0.2rem) * 0.932),1.85rem);
  --fs-xl:clamp(1.85rem,1.85rem + ((1vw - 0.2rem) * 1.316),2.5rem);
  --fs-xxl:clamp(2.5rem,2.5rem + ((1vw - 0.2rem) * 1.559),3.27rem);

  --radius:12px;
  --shadow:0 12px 30px rgba(0,0,0,0.08);

  --radius-input:14px;
  --input-bg:#fff;
  --input-border:#d9d9d9;
  --input-text:inherit;
  --input-focus:#7c3aed;

  --single-col-card-max:960px;
}

/* base */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; }
body{
  margin:0; font-family:var(--ff-base); font-size:var(--fs-md); line-height:1.6; color:var(--ink);
  background:
    radial-gradient(1100px 700px at 12% 8%,  var(--bg-2) 0%, transparent 72%),
    radial-gradient(900px 600px  at 88% 12%, var(--bg-3) 0%, transparent 72%),
    radial-gradient(800px 520px  at 50% 100%, var(--bg-2) 0%, transparent 72%),
    linear-gradient(125deg, var(--bg-1) 0%, var(--bg-2) 45%, var(--bg-3) 100%);
}
img,svg,video{ max-width:100%; height:auto; display:block; }
a{ color:var(--accent); text-decoration:none; transition:color .3s ease; }
a:hover{ color:var(--accent-hover); }
h1,h2,h3,h4,h5,h6{ font-family:var(--ff-head); font-weight:600; line-height:1.2; margin:0 0 .6em; }
h1{ font-size:var(--fs-xxl); }
h2{ font-size:var(--fs-xl); }
h3{ font-size:var(--fs-lg); }
h4{ font-size:1.2rem; }
p{ margin:0 0 1em; }
ul,ol{ margin:0 0 1em 1.25em; }

/* layout */
.container{ width:min(100%,var(--max-w)); margin-inline:auto; padding-inline:var(--pad-x); }
.section{ padding:clamp(40px,6vw,80px) 0; }
.section--panel{ background:var(--card); border-top:1px solid var(--bd); border-bottom:1px solid var(--bd); }
.grid{ display:grid; gap:16px; }
.grid--auto{ grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:24px; }

/* header */
header{
  position:static; /* era sticky */
  background:var(--header-bg); backdrop-filter:blur(10px);
  color:var(--brand); padding:.55rem 0; border-bottom:1px solid var(--header-bd);
}

.section--panel.site-header{ background:var(--header-bg)!important; border-top:0; }

/* header stacked layout desktop */
.site-header .grid--header{
  display:grid; grid-template-columns:1fr; align-items:start; row-gap:10px;
}
.site-title{ display:flex; align-items:center; gap:12px; margin:0; font-size:1.5rem; color:var(--brand); }
#primaryNav{ width:100%; display:flex; justify-content:center; }

/* navigation */
.nav-list{ display:flex; gap:1rem; list-style:none; margin:0; padding:0; flex-wrap:wrap; }
.primary-nav{ display:flex; align-items:center; gap:1rem; }
.site-header nav a{
  color:var(--brand); font-weight:600; padding:.35rem .6rem; border-radius:6px; transition:background .2s,color .2s;
}
.site-header nav a:hover,
.site-header nav a.is-active{ background:var(--nav-hover-bg); color:var(--accent); }

/* theme toggle */
.theme-toggle{
  appearance:none; border:1px solid var(--bd); background:var(--card);
  color:inherit; padding:.45rem .7rem; border-radius:999px;
  display:inline-flex; align-items:center; gap:.5rem; line-height:1; cursor:pointer; box-shadow:var(--shadow); font-size:.95rem;
}
.theme-toggle__icon{ display:inline-block; width:1.1em; text-align:center; }
@media (max-width:520px){ .theme-toggle .theme-toggle__text{ display:none; } }

/* cards */
.card{
  background:var(--card); border-radius:var(--radius); box-shadow:var(--shadow);
  border:1px solid var(--bd); padding:1.5rem; transition:transform .3s, box-shadow .3s;
  width:100%; max-width:var(--single-col-card-max); margin-inline:auto;
}
.card:hover{ transform:translateY(-4px); box-shadow:0 16px 40px rgba(0,0,0,0.12); }

/* buttons */
.btn{
  display:inline-flex; justify-content:center; align-items:center; text-align:center;
  min-height:44px; padding:.75rem 1rem; border:0; border-radius:999px; font-weight:600;
  background:var(--gradient-accent); color:#fff; box-shadow:var(--shadow); cursor:pointer;
  transition:transform .2s, box-shadow .2s;
}
.btn:hover{ transform:translateY(-3px); box-shadow:0 8px 20px rgba(0,0,0,0.15); }
@media (max-width:480px){ .btn{ width:100%; } }

/* helpers */
.center{ text-align:center; }
.m-0{ margin:0 !important; }
hr{ border:0; border-top:1px solid var(--bd); margin:2rem 0; }
.social-inline{ display:flex; gap:.75rem; align-items:center; }
.footnote{ margin-top:.75rem; font-size:.85rem; opacity:.85; }
.footnote a{ color:inherit; text-decoration:underline dotted; text-underline-offset:2px; }
.footnote a:hover{ text-decoration:none; }

/* skip link */
.sr-only-focusable{ position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden; }
.sr-only-focusable:focus{
  position:static; width:auto; height:auto; padding:.5rem 1rem;
  background:var(--card); border:1px solid var(--bd); border-radius:8px;
}

/* hero image */
.hero__figure{ margin:2rem auto; width:clamp(160px, 28vw, 280px); }
.hero__figure img{ width:100%; border-radius:16px; object-fit:cover; box-shadow:var(--shadow); }

/* content width */
.content{ width:min(100%, 70ch); margin-inline:auto; }
.card.content, .box.content{ width:100%; max-width:none; }

/* box */
.box{
  background:var(--card); border:1px solid var(--bd); border-radius:14px;
  box-shadow:var(--shadow); padding:clamp(18px, 3.5vw, 28px); margin-block:clamp(14px, 2.8vw, 22px); position:relative;
}
.box::before{
  content:""; position:absolute; inset:0 0 auto 0; height:3px;
  background:linear-gradient(90deg, #a78bfa, #60a5fa); opacity:.75;
  border-top-left-radius:14px; border-top-right-radius:14px;
}
.stack > * + * { margin-top:clamp(10px, 2.2vw, 16px); }

/* forms */
input[type="text"],input[type="email"],input[type="tel"],input[type="url"],
input[type="search"],input[type="password"],input[type="number"],select,textarea{
  appearance:none; border-radius:var(--radius-input);
  border:1px solid var(--input-border); background:var(--input-bg); color:var(--input-text);
  padding:.75rem 1rem; line-height:1.4; width:100%;
  transition:border-color .2s, box-shadow .2s, background-color .2s;
}
input:focus, select:focus, textarea:focus{
  outline:none; border-color:var(--input-focus); box-shadow:0 0 0 .2rem rgba(124,58,237,.2);
}
textarea{ border-radius:12px; min-height:160px; resize:vertical; }
::placeholder{ opacity:.7; }

/* footer grid */
footer .grid{ display:grid; grid-template-columns:1fr auto; align-items:center; gap:.75rem; }
@media (max-width:760px){
  footer .grid{ grid-template-columns:1fr; }
  footer .social-inline{ justify-content:center; text-align:center; }
  .footnote{ text-align:center; }
}

/* mobile nav button */
.nav-toggle{
  display:none; width:42px; height:42px; border-radius:999px; border:1px solid transparent;
  background:transparent; cursor:pointer; align-items:center; justify-content:center;
}
.nav-toggle:focus-visible{ outline:2px solid currentColor; outline-offset:2px; }
.nav-toggle__bars{
  width:22px; height:14px; display:block;
  background:
    linear-gradient(currentColor,currentColor) 0 0/100% 2px no-repeat,
    linear-gradient(currentColor,currentColor) 0 6px/100% 2px no-repeat,
    linear-gradient(currentColor,currentColor) 0 12px/100% 2px no-repeat;
  transition:transform .25s ease;
}

/* primary nav mobile sheet */
@media (max-width:760px){
  .nav-toggle{ display:inline-flex; }
  #primaryNav{
    position:fixed; top:calc(var(--header-h,64px) + 8px); left:50%;
    transform:translateX(-50%) scaleY(0); transform-origin:top center;
    width:min(92vw, 420px); max-height:70vh; overflow:auto;
    background:var(--card); border:1px solid var(--bd); border-radius:16px; padding:.6rem;
    box-shadow:var(--shadow); opacity:0; z-index:1000;
    transition:transform .18s ease-out, opacity .18s ease-out;
  }
  #primaryNav.is-open{ transform:translateX(-50%) scaleY(1); opacity:1; }
  #primaryNav .nav-list{ display:flex; flex-direction:column; gap:.6rem; margin:0; }
  .theme-toggle{ width:100%; justify-content:center; }
}
@media (min-width:761px){
  #primaryNav{
    position:static !important; transform:none !important; opacity:1 !important;
    width:auto !important; max-height:none !important; padding:0 !important;
    border:0 !important; box-shadow:none !important; background:transparent !important;
    display:flex !important; align-items:center; gap:1rem;
  }
  #navToggle,.nav-toggle{ display:none !important; }
}

/* active link */
.is-active{ text-decoration:underline; text-underline-offset:4px; }

/* tier panels */
.tier{
  position:relative; border:1px solid var(--bd); border-radius:16px; box-shadow:var(--shadow); overflow:hidden;
}
.tier::before{
  content:""; position:absolute; inset:0 0 auto 0; height:6px; border-top-left-radius:16px; border-top-right-radius:16px;
  background: var(--tier, var(--accent));
}
.tier h4{ margin-top:.5rem; }
.tier--bronze{   --tier: linear-gradient(90deg,#a97142,#d08b5b,#a97142); }
.tier--silver{   --tier: linear-gradient(90deg,#c9c9c9,#eaeaea,#c9c9c9); }
.tier--gold{     --tier: linear-gradient(90deg,#caa34a,#ffd966,#caa34a); }
.tier--platinum{ --tier: linear-gradient(90deg,#94a3b8,#e2e8f0,#94a3b8); }

/* problems list two-column layout */
.problems-list{
  list-style: disc outside;
  padding-left: 1.25rem;
  display:grid;
  grid-template-columns:1fr;
  column-gap:2rem; row-gap:1rem;
}
.problems-list.stack > * + *{ margin-top:0; }
.problems-list li{ break-inside:avoid; }
@media (min-width:760px){
  .problems-list{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}

/* package grids two columns */
.grid--cards{ gap:16px; }
.grid--cards > .card{ max-width:none; margin:0; }
.grid--2cols{ grid-template-columns:1fr; }
@media (min-width:800px){
  .grid--cards.grid--2cols{
    grid-template-columns:repeat(2, minmax(420px, 1fr)) !important;
    justify-content:center;
  }
}

/* compact card content */
.grid--cards .card p{ margin:0 0 .6rem; }
.grid--cards .card ul{ margin:0 0 .8rem 1.1rem; }
.grid--cards .card li{ margin:0 0 .35rem; }

/* compact lists inside package cards in two columns */
#marketing-systems .card ul,
#business-websites .card ul,
#web-development .card ul{
  display:grid; grid-template-columns:1fr; gap:.35rem;
}
#marketing-systems .card ul li,
#business-websites .card ul li,
#web-development .card ul li{ break-inside:avoid; }
@media (min-width:980px){
  #marketing-systems .card ul,
  #business-websites .card ul,
  #web-development .card ul{
    grid-template-columns:repeat(2, minmax(0,1fr));
    column-gap:1.1rem;
  }
}

/* dark mode tokens */
html[data-theme="dark"]{
  --bg-1:#000000;
  --bg-2:#031218;
  --bg-3:#008eca;

  --ink:#e5e7eb;
  --muted:#9ca3af;
  --card:#0b0f19;

  --brand:#008eca;
  --accent:#008eca;
  --accent-hover:#11a7ef;

  --panel-border:#008eca;
  --nav-hover-bg: rgba(0,142,202,0.18);

  --radius:16px;
  --shadow:0 14px 36px rgba(0,0,0,.45);
}

/* dark base gradient and animated layers */
html[data-theme="dark"] body{
  background:
    radial-gradient(1100px 720px at 50% -8%,  rgba(0,142,202,.16) 0%, transparent 70%),
    radial-gradient(1100px 700px at 12% 8%,   var(--bg-2) 0%, transparent 72%),
    radial-gradient(900px  600px at 88% 12%,  var(--bg-3) 0%, transparent 72%),
    radial-gradient(800px  520px at 50% 88%,  var(--bg-2) 0%, transparent 72%),
    linear-gradient(125deg, var(--bg-1) 0%, var(--bg-2) 28%, var(--bg-3) 85%);
  color: var(--ink);
}
html[data-theme="dark"] body::before,
html[data-theme="dark"] body::after{
  content:""; position:fixed; inset:-20vmax; z-index:0; pointer-events:none;
  opacity:.6; filter:blur(44px); mix-blend-mode:screen;
}
html[data-theme="dark"] body::before{
  width:160vmax; height:160vmax;
  background:
    radial-gradient(40% 40% at 32% 10%, rgba(0,142,202,.26), transparent 68%),
    radial-gradient(38% 38% at 70% 18%, rgba(0,142,202,.18), transparent 70%);
  animation: darkFloatA 28s ease-in-out infinite alternate;
}
html[data-theme="dark"] body::after{
  width:150vmax; height:150vmax;
  background:
    radial-gradient(46% 46% at 52% 64%, rgba(0,142,202,.22), transparent 72%),
    radial-gradient(34% 34% at 80% 40%, rgba(17,167,239,.18), transparent 68%);
  animation: darkFloatB 36s ease-in-out infinite alternate-reverse;
}
@keyframes darkFloatA{
  0%{   transform:translate3d(-4vmax,-6vmax,0) rotate(0deg)   scale(1.02); }
  50%{  transform:translate3d( 3vmax, 2vmax,0) rotate(10deg)  scale(1.06); }
  100%{ transform:translate3d( 8vmax,-1vmax,0) rotate(18deg)  scale(1.08); }
}
@keyframes darkFloatB{
  0%{   transform:translate3d( 6vmax, 5vmax,0) rotate(0deg)   scale(1.04); }
  50%{  transform:translate3d(-2vmax,-2vmax,0) rotate(-8deg)  scale(1.00); }
  100%{ transform:translate3d(-7vmax, 6vmax,0) rotate(-16deg) scale(1.03); }
}

/* dark stacking */
html[data-theme="dark"] main,
html[data-theme="dark"] header,
html[data-theme="dark"] footer{ position:relative; z-index:1; }

/* dark header surface with blue glow and blue borders only horizontal */
html[data-theme="dark"] .site-header{
  background:
    radial-gradient(1200px 240px at 50% -40px, rgba(0,142,202,.25), transparent 70%),
    linear-gradient(180deg, var(--bg-1), var(--bg-2));
  border-top:0;
  border-bottom:1px solid var(--panel-border);
}
html[data-theme="dark"] header.section--panel{ border-top:0; border-bottom:1px solid var(--panel-border); }
html[data-theme="dark"] footer.section--panel{ border-bottom:0; border-top:1px solid var(--panel-border); }

/* dark panels and elements with blue borders */
html[data-theme="dark"] .section--panel,
html[data-theme="dark"] .card,
html[data-theme="dark"] .box,
html[data-theme="dark"] .tier{
  border:1px solid var(--panel-border);
}

/* dark links and buttons */
html[data-theme="dark"] a{ color: var(--accent); }
html[data-theme="dark"] .btn{ background: var(--accent); color:#061218; }
html[data-theme="dark"] .btn:hover{ background: var(--accent-hover); }

/* dark headings */
html[data-theme="dark"] h1, html[data-theme="dark"] h2, html[data-theme="dark"] h3{ color:#f3f4f6; }

/* dark nav active underline */
html[data-theme="dark"] .primary-nav a.is-active{ box-shadow: inset 0 -2px 0 0 var(--accent); }

/* inputs dark */
[data-theme="dark"] input,[data-theme="dark"] select,[data-theme="dark"] textarea{
  --input-bg:#141414; --input-border:#2a2a2a; --input-text:#f3f3f3; --input-focus:#11a7ef;
}

/* widen rhythm */
.card,.box{ padding:2rem; }
.grid.grid--auto{ gap:2rem; }

/* dark header/footer: horizontal borders only */
html[data-theme="dark"] .section--panel{
  border: 0;
  border-top: 1px solid var(--panel-border);
  border-bottom: 1px solid var(--panel-border);
}
html[data-theme="dark"] header.section--panel{
  border-top: 0;
  border-bottom: 1px solid var(--panel-border);
}
html[data-theme="dark"] footer.section--panel{
  border-top: 1px solid var(--panel-border);
  border-bottom: 0;
}
html[data-theme="dark"] .site-header,
html[data-theme="dark"] footer.section--panel{
  border-left: 0;
  border-right: 0;
}

/* dark header background: blue glow gradient */
html[data-theme="dark"]{
  --header-bg:
    radial-gradient(1200px 240px at 50% -40px, rgba(0,142,202,.25), transparent 70%),
    linear-gradient(180deg, var(--bg-1), var(--bg-2));
}
/* force the header to use the variable background */
.section--panel.site-header{
  background: var(--header-bg) !important;
}

/* dark panels: keep full border only on cards/boxes/tiers, not on section panels */
html[data-theme="dark"] .card,
html[data-theme="dark"] .box,
html[data-theme="dark"] .tier{
  border: 1px solid var(--panel-border);
}

/* FAQ accordion layout */
.faq-list{
  display: grid;
  gap: clamp(12px, 1.2vw, 16px);
}

/* FAQ base box */
.faq.box{
  padding: clamp(16px, 2.2vw, 22px);
}

/* FAQ summary row */
.faq summary{
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: .75rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker{ display: none; }

/* FAQ question text */
.faq__q{
  margin: 0;
  font-size: 1.05rem;
}

/* FAQ icon (plus to minus) */
.faq__icon{
  position: relative;
  width: 18px;
  height: 18px;
  color: var(--color-text);
  opacity: .85;
}
.faq__icon::before,
.faq__icon::after{
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: currentColor;
  border-radius: 1px;
}
.faq__icon::before{ width: 18px; height: 2px; }
.faq__icon::after{ width: 2px; height: 18px; transition: transform .2s ease; }
.faq[open] .faq__icon::after{ transform: scaleY(0); }

/* FAQ answer block */
.faq__content{
  margin-top: .75rem;
  color: var(--color-text);
}
.faq__content p{ margin: 0 0 .75rem; }
.faq__content ul{ margin: .5rem 0 0 1.25rem; }

/* Dark theme tweaks for FAQ */
html[data-theme="dark"] .faq__icon{ color: var(--ink); opacity: .9; }

/* FAQ accordion */
.faq-list{display:grid;gap:14px;max-width:900px;margin:0 auto}
details.faq{
  background:var(--color-card);
  border:1px solid var(--color-border);
  border-radius:14px;
  box-shadow:var(--shadow);
  overflow:hidden
}
html[data-theme="dark"] details.faq{
  background:var(--panel);
  border-color:var(--panel-border)
}
details.faq summary{
  list-style:none;
  cursor:pointer;
  padding:1rem 1.25rem;
  font-weight:600;
  display:flex;
  align-items:center;
  justify-content:space-between
}
details.faq[open] summary{
  border-bottom:1px solid var(--color-border)
}
html[data-theme="dark"] details.faq[open] summary{
  border-bottom:1px solid var(--panel-border)
}
details.faq summary::-webkit-details-marker{display:none}
.faq__chev{
  width:12px;height:12px;flex:0 0 12px;margin-left:12px;
  border:2px solid currentColor;border-top:0;border-left:0;
  transform:rotate(45deg);transition:transform .2s ease
}
details.faq[open] .faq__chev{transform:rotate(-135deg)}
.faq__content{padding:1rem 1.25rem}

/* Header tagline styles */
.site-title .site-tagline{
  display:inline-block;
  font-family: var(--ff-base);
  font-weight:600;
  font-size:.95rem;
  line-height:1.2;
  color: var(--color-muted);
  margin-left:.5rem;
}

/* Header spacing between title and nav */
.site-header .grid--header{
  row-gap: clamp(14px, 2.2vw, 22px);
}
.site-header .primary-nav{
  padding-top: .85rem;
}

/* Header logo size and rounding */
.site-header .logo-icon{
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
}

/* Header title + tagline two-row layout */
.site-header .site-title{
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 12px;
  row-gap: 2px;
  margin: 0 0 .35rem 0;
}

/* Header tagline block under title */
.site-header .site-tagline{
  grid-column: 1 / -1;
  display: block;
  font-size: .95rem;
  line-height: 1.35;
  color: var(--color-muted);
  opacity: .95;
}

/* Dark mode tagline color */
html[data-theme="dark"] .site-header .site-tagline{
  color: var(--muted);
}

/* Header logo rounding */
.site-header .logo-icon{
  width: 28px;
  height: 28px;
  border-radius: 10px;
  object-fit: cover;
}

/* Header title size */
.site-header .site-title{
  font-size: clamp(1.75rem, 1.2rem + 1.2vw, 2.25rem);
}

/* Header tagline base */
.site-header .site-tagline{
  grid-column: 1 / -1;
  display: block;
  font-size: .95rem;
  line-height: 1.35;
  color: var(--color-muted);
}

/* Header tagline dark mode color */
html[data-theme="dark"] .site-header .site-tagline{
  color: #ffffff;
  opacity: 1;
}

/* Footer layout */
.site-footer .footer-grid{ grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:clamp(14px,2.2vw,22px); }
/* Footer headings */
.site-footer .footer-heading{ font-family:var(--ff-head); font-size:1.05rem; margin:0 0 .5rem; }
/* Footer lists */
.site-footer .footer-links{ list-style:none; margin:0; padding:0; display:grid; gap:.45rem; }
/* Small button */
.btn--sm{ min-height:40px; padding:.6rem .9rem; font-size:.95rem; }
/* Bottom spacing */
.site-footer .footnote{ margin-top:1rem; }
/* Dark mode inherit */
html[data-theme="dark"] .site-footer .footer-heading{ color:#f3f4f6; }

/* Variant: se usi brand-title/brand-logo */
.brand-title{ margin: 0; }
.brand-logo{
  display: block;
  margin: 0 auto;
  width: clamp(180px, 24vw, 320px);
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

/* Custom file input */
.file-control { display:block; }
.file-control > span { display:block; font-weight:600; margin-bottom:.35rem; }

.file-ui{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:.6rem;
  padding:.4rem .6rem;
  background:var(--card);
  border:1px solid var(--bd);
  border-radius:999px;
  box-shadow:var(--shadow);
}

.file-ui .btn{ pointer-events:none; } /* il click lo prende l'input invisibile */
.file-name{ font-size:.95rem; opacity:.85; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:240px; }

.file-ui input[type="file"]{
  position:absolute;
  inset:0;               /* copre tutta l’area clickabile */
  opacity:0;
  cursor:pointer;
}

/* Dark mode */
html[data-theme="dark"] .file-ui{
  background:var(--card);
  border:1px solid var(--panel-border);
}

