:root{
  --zh-page-pad-x:clamp(18px, 3vw, 56px);
  --zh-wrap-max:1440px;
  --zh-bg:#f4f6fb;
  --zh-surface:#ffffff;
  --zh-text:#0f172a;
  --zh-muted:#475569;
  --zh-accent:#ff9d00;
  --zh-ok:#22c55e;
  --zh-bad:#ff6b81;
  --zh-card-border:rgba(15,23,42,0.12);
  --zh-card-shadow:0 18px 60px rgba(15,23,42,0.12);

  /* Compatibility aliases */
  --color-bg: var(--zh-bg);
  --color-surface: var(--zh-surface);
  --color-card: #ffffff;
  --color-border: rgba(15,23,42,0.12);
  --color-text: var(--zh-text);
  --color-muted: var(--zh-muted);
  --color-highlight: var(--zh-accent);
  --color-button: var(--zh-accent);
  --color-button-text: #0f172a;
  --color-success: var(--zh-ok);
  --color-danger: var(--zh-bad);
}

html{min-height:100%}
body{
  min-height:100%;
  margin:0;
  font-family:Avenir,"Nunito",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--zh-text);
  background:
    radial-gradient(1100px 700px at 20% 0%, rgba(255, 157, 0, 0.14) 0%, transparent 55%),
    radial-gradient(900px 650px at 85% 18%, rgba(34, 197, 94, 0.10) 0%, transparent 58%),
    var(--zh-bg);
}

a{color:inherit}
input, textarea, select, button{box-sizing:border-box;max-width:100%}
.muted{color:var(--zh-muted)}
.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}

.wrap{
  max-width:var(--zh-wrap-max);
  margin:0 auto;
  padding:0 var(--zh-page-pad-x) 32px;
}
.card{
  background:var(--zh-surface);
  border:1px solid var(--zh-card-border);
  border-radius:16px;
  padding:22px;
  box-shadow:var(--zh-card-shadow);
}

main h1, main h2, main h3,
.wrap h1, .wrap h2, .wrap h3{ color:var(--zh-accent); }

.btn{
  display:inline-block;
  padding:12px 16px;
  border-radius:999px;
  background:var(--zh-accent);
  color:#0b1220;
  text-decoration:none;
  font-weight:800;
  border:1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  box-shadow: 0 10px 22px rgba(15,23,42,0.10);
}
.btn.secondary{
  background:transparent;
  color:var(--zh-text);
  border-color:rgba(15,23,42,0.18);
}
.btn:hover,.btn:focus-visible{
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(15,23,42,0.14);
}
.btn:active{ transform: translateY(0); box-shadow: 0 10px 22px rgba(15,23,42,0.10); }

.logo{ height:64px; display:inline-block; }

/* Icon lists / FAQ */
.zc-icon-list{
  list-style:none;
  margin:10px 0 0;
  padding:0;
  display:grid;
  gap:10px;
}
.zc-icon-list li{
  display:flex;
  gap:10px;
  align-items:flex-start;
  color:#475569;
  line-height:1.6;
}
.zc-ico{
  flex:0 0 auto;
  width:30px;
  height:30px;
  border-radius:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,157,0,0.14);
  border:1px solid rgba(15,23,42,0.10);
  color:#0f172a;
  font-size:16px;
  line-height:1;
  margin-top:1px;
}
.zc-ico.is-green{ background:rgba(34,197,94,0.14); }
.zc-ico.is-blue{ background:rgba(14,165,233,0.14); }
.zc-ico.is-purple{ background:rgba(139,92,246,0.14); }

.zc-faq{ margin-top:10px; }
.zc-faq details{
  border:1px solid rgba(15,23,42,0.10);
  background:rgba(255,255,255,0.70);
  border-radius:14px;
  padding:10px 12px;
}
.zc-faq details + details{ margin-top:10px; }
.zc-faq summary{
  cursor:pointer;
  font-weight:900;
  color:#0f172a;
  list-style:none;
}
.zc-faq summary::-webkit-details-marker{display:none}
.zc-faq summary:focus-visible{ outline:2px solid rgba(255,157,0,0.55); outline-offset:3px; border-radius:12px; }
.zc-faq .zc-faq__body{
  margin-top:8px;
  color:#475569;
  line-height:1.6;
}
/* Hover-capable desktop: subtle affordance (expand is driven by site footer script). */
@media (hover: hover) and (pointer: fine){
  .zc-faq details:hover{
    border-color:rgba(255,157,0,0.28);
    box-shadow:0 10px 26px rgba(15,23,42,0.08);
  }
}

/* Clients */
.zc-client-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:12px;
}
@media (min-width: 720px){
  .zc-client-grid{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.zc-client-tile{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:12px;
  min-height:112px;
  background:#fff !important;
  border:1px solid rgba(15,23,42,0.08);
  border-radius:14px;
  box-shadow:none;
  overflow:hidden;
}
.zc-client-logo{
  width:100%;
  height:88px;
  max-height:100%;
  object-fit:contain;
  filter: grayscale(1);
  opacity:1;
  transition: filter 180ms ease, opacity 180ms ease, transform 220ms ease;
  transform-origin:center;
}
@media (min-width: 720px){
  .zc-client-tile{ min-height:124px; }
  .zc-client-logo{ height:96px; }
}
.zc-client-tile:hover .zc-client-logo,
.zc-client-tile:focus-within .zc-client-logo{
  filter: none;
  opacity:1;
  transform: translateY(-2px) scale(1.25);
}

.zc-client-tile:hover,
.zc-client-tile:focus-within{
  border-color:rgba(15,23,42,0.14);
  box-shadow:0 18px 44px rgba(15,23,42,0.12);
  transform: translateY(-2px);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.zc-client-tile{
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

/* Header */
.header-wrapper{
  position:-webkit-sticky;
  position:sticky;
  top:0;
  z-index:5000;
  margin:12px 0 18px 0;
  padding-bottom:10px;
  padding-left:var(--zh-page-pad-x);
  padding-right:var(--zh-page-pad-x);
  box-sizing:border-box;
}
.header-container{
  max-width:var(--zh-wrap-max);
  margin:0 auto;
  padding:14px 18px;
  background:rgba(255,255,255,0.82);
  border:1px solid rgba(15,23,42,0.10);
  border-radius:18px;
  box-shadow: 0 22px 62px rgba(15,23,42,0.14);
  backdrop-filter: blur(8px);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.header-right{display:flex;align-items:center;gap:10px;flex-shrink:0}
.header-wrapper.scrolled .header-container{
  transform: translateY(2px);
  box-shadow: 0 28px 78px rgba(15,23,42,0.20);
}
.brand-block{display:flex; align-items:center; gap:12px; min-width:0;}
.brand-copy{display:flex;flex-direction:column;gap:2px;min-width:0}
.brand-title{font-size:1.35rem;font-weight:800;line-height:1.2;color:var(--zh-text)}
.brand-tagline{font-size:0.9rem;font-weight:600;color:var(--zh-muted)}

.header-actions{display:flex; align-items:center; gap:10px}
.zc-menu{position:relative}
.zc-menu__summary{list-style:none}
.zc-menu__summary::-webkit-details-marker{display:none}
.zc-menu[open] .zc-menu__summary{border-color:rgba(15,23,42,0.32);background:rgba(255,255,255,0.92)}
.zc-menu__panel{
  position:absolute;
  right:0;
  top:calc(100% + 10px);
  min-width:220px;
  padding:10px;
  border-radius:16px;
  background:rgba(255,255,255,0.98);
  border:1px solid rgba(15,23,42,0.10);
  box-shadow:0 26px 70px rgba(15,23,42,0.18);
  z-index:6500;
}
.zc-menu__item{
  display:block;
  padding:10px 12px;
  border-radius:12px;
  text-decoration:none;
  font-weight:800;
  font-size:13px;
  color:var(--zh-text);
}
.zc-menu__item:hover,
.zc-menu__item:focus-visible{
  background:rgba(255,157,0,0.14);
  outline:none;
}
.zc-menu__item + .zc-menu__item{margin-top:2px}
/* Language switch pill (same interaction as zenadomains.it) */
.header-actions .zh-lang-switch{margin-left:auto; order:999;}
.zh-lang-switch{
  display:inline-flex;
  align-items:center;
  gap:4px;
  vertical-align:middle;
  border:1px solid rgba(15, 23, 42, 0.14);
  border-radius:999px;
  padding:2px;
  background: rgba(255,255,255,0.7);
}
.zh-lang-switch a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:40px;
  min-height:34px;
  padding:0 10px;
  border-radius:999px;
  text-decoration:none !important;
  font-size:1.15rem;
  line-height:1;
  opacity:0.55;
  transition:opacity 0.15s ease, background 0.15s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.zh-lang-switch a:hover{
  opacity:0.95;
  background: rgba(255,157,0,0.12);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(15,23,42,0.10);
}
.zh-lang-switch a:active{
  transform: translateY(0);
  box-shadow: none;
}
.zh-lang-switch a.is-active{
  opacity:1;
  background: rgba(255,157,0,0.22);
  box-shadow: inset 0 0 0 1px rgba(255,157,0,0.35);
}

.zc-lang-switch--drawer{display:none;}
.zc-lang-switch--desktop{display:inline-flex;}
.btn.zc-lang-btn{padding:8px 10px;min-height:auto;line-height:1;font-size:0.95rem;box-shadow:none}
.btn.zc-lang-btn.secondary{background:rgba(255,255,255,0.72)}
.btn.zc-lang-btn.is-active{border-color:rgba(15,23,42,0.38);background:rgba(255,255,255,0.95)}
.btn.zc-lang-btn span{display:inline-block;transform:translateY(1px)}
.header-nav-toggle{
  display:none;
  flex-shrink:0;
  align-items:center;
  justify-content:center;
  min-width:44px;
  min-height:44px;
  padding:0 14px;
  margin:0;
  border-radius:12px;
  border:1px solid rgba(15,23,42,0.18);
  background:rgba(255,255,255,0.95);
  color:var(--zh-text);
  font:inherit;
  font-weight:800;
  font-size:0.9rem;
  cursor:pointer;
  box-shadow:0 6px 18px rgba(15,23,42,0.08);
}
.header-nav-toggle__icon{display:inline-block; line-height:0;}
.header-nav-toggle__icon svg{display:block}

.header-nav-drawer{display:contents;}
.header-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 10px;
  justify-content:flex-end;
  min-width:0;
}
.header-actions .btn{
  font-size:12px;
  padding:8px 12px;
  text-align:center;
  box-sizing:border-box;
}

@media (min-width:769px){
  .header-nav-toggle{display:none !important;}
  .header-nav-drawer{display:contents !important;}
}

@media (max-width:768px){
  :root{ --zh-page-pad-x:max(14px,4vw); }
  body{ padding-top: var(--zh-fixed-header-pad, 110px); }
  .header-wrapper{
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    margin: 0;
  }
  .header-nav-toggle{display:inline-flex;}
  .header-nav-drawer{
    display:none;
    position:absolute;
    right:0;
    top:calc(100% + 10px);
    width:min(560px, calc(100vw - 28px));
    max-height:calc(100vh - 100px);
    overflow:auto;
    border-radius:16px;
    background:rgba(255,255,255,0.98);
    border:1px solid rgba(15,23,42,0.10);
    box-shadow:0 26px 70px rgba(15,23,42,0.20);
    padding:12px;
    z-index:6000;
  }
  .header-nav-drawer.is-open{display:block;}
  .header-actions{ justify-content:center; }
  .header-actions .btn{ width:100%; justify-content:center; min-height:44px; }
  .zc-lang-switch--desktop{display:none;}
  .zc-lang-switch--drawer{
    display:inline-flex;
    width:100%;
    justify-content:center;
    margin-top:10px;
    padding-top:10px;
    border-top:1px solid rgba(15,23,42,0.08);
  }
  .zc-menu{width:100%}
  .zc-menu__panel{
    position:static;
    min-width:0;
    margin-top:8px;
    padding:8px;
    box-shadow:none;
    background:rgba(255,255,255,0.70);
  }
  .zc-menu__item{font-size:14px}
  .brand-title{font-size:1.12rem;}
  .brand-tagline{font-size:0.82rem;}
  .brand-block{gap:10px;}
}

/* Footer */
.site-footer{
  margin-top:2.5rem;
  padding:1.75rem 0 2rem;
  border-top:1px solid rgba(15,23,42,0.10);
  background: linear-gradient(180deg, rgba(255,255,255,0.45) 0%, rgba(244,246,251,0.95) 100%);
}
.site-footer__inner{padding-top:0;padding-bottom:0;}
.site-footer__top{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:1rem 1.5rem;
  margin-bottom:1.25rem;
}
.site-footer__logo-link{display:inline-flex;flex-shrink:0;line-height:0;opacity:0.92;}
.site-footer__logo-link:hover{opacity:1;}
.site-footer__logo{height:48px;width:auto;display:block;}
.site-footer__intro{flex:1 1 200px;min-width:0;}
.site-footer__product{margin:0 0 4px 0;font-size:0.95rem;font-weight:700;color:var(--zh-text);}
.site-footer__zena{margin:0;font-size:0.88rem;line-height:1.45;color:var(--zh-muted);}
.site-footer__zena a{color:var(--zh-accent);font-weight:700;text-decoration:none;}
.site-footer__zena a:hover{text-decoration:underline;}
.site-footer__bottom{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:0.75rem 1rem;
  padding-top:1rem;
  border-top:1px solid rgba(15,23,42,0.08);
}
.site-footer__legal{margin:0;font-size:0.8rem;color:var(--zh-muted);line-height:1.4;}
.site-footer__nav{display:flex;flex-wrap:wrap;align-items:center;gap:0.35rem 0.5rem;font-size:0.82rem;font-weight:700;}
.site-footer__link--help{color:#3b82f6;}
.site-footer__link--pricing{color:var(--zh-accent);}
.site-footer__link--privacy{color:#8b5cf6;}
.site-footer__link--email{color:#0ea5e9;}
.site-footer__link--whatsapp{color:#22c55e;}
.site-footer__icon{display:inline-flex;align-items:center;justify-content:center;font-size:18px;line-height:1;margin-right:0;}
.site-footer__link-text{display:none !important;}
.site-footer__nav a{color:var(--zh-text);text-decoration:none;}
.site-footer__nav a:hover{color:var(--zh-accent);text-decoration:underline;}
.site-footer__sep{color:rgba(15,23,42,0.25);user-select:none;}

@media (max-width:768px){
  .site-footer{margin-top:2rem;padding-top:1.5rem;padding-bottom:calc(1.5rem + env(safe-area-inset-bottom,0px));border-radius:16px 16px 0 0;}
  .site-footer__top{flex-direction:column;align-items:center;text-align:center;gap:0.75rem;margin-bottom:1.125rem;}
  .site-footer__logo{height:44px;}
  .site-footer__intro{flex:none;width:100%;max-width:22rem;margin:0 auto;}
  .site-footer__product{font-size:0.92rem;line-height:1.35;}
  .site-footer__zena{font-size:0.84rem;}
  .site-footer__bottom{flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:0.875rem;padding-top:1rem;}
  .site-footer__legal{max-width:20rem;margin:0 auto;overflow-wrap:anywhere;}
  .site-footer__nav{justify-content:center;}
  .site-footer__sep{display:none;}
  .site-footer__icon{margin-right:0;}
  .site-footer__link-text{display:none !important;}
}

