/* HENNIO-APP-PAGINA-2 — pagina pubblica «App». */
body.hennio-app-body {
  background: var(--hennio-paper, #FBF6F1);
  color: var(--hennio-ink, #3B2A26);
}

.hn-app {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 24px 76px;
}

.hn-app-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 460px);
  gap: 40px;
  align-items: center;
  padding: 16px 0 58px;
}

.hn-app-kicker {
  margin: 0 0 12px;
  font-family: var(--hennio-body, Inter, system-ui, sans-serif);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--hennio-thread, #B9867E);
}

.hn-app-copy h1 {
  margin: 0 0 16px;
  font-family: var(--hennio-title, 'Bodoni Moda', Georgia, serif);
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.hn-app-lead {
  margin: 0 0 24px;
  max-width: 540px;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
  color: rgba(59, 42, 38, 0.84);
}

.hn-app-stores {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: flex-start;
}

.hn-app-store {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.hn-app-store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 15px 24px;
  border-radius: 12px;
  background: #141413;
  color: #ffffff !important;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.hn-app-store-btn:hover { background: #2b211c; }

.hn-app-qr {
  display: none;
  width: 150px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid rgba(185, 134, 126, 0.28);
  border-radius: 12px;
}

.hn-app-qr-svg {
  display: block;
  width: 100%;
  height: auto;
}

.hn-app-meta {
  margin: 18px 0 0;
  font-size: 14px;
  color: rgba(59, 42, 38, 0.66);
}

.hn-app-phones {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 440px;
  gap: 0;
  position: relative;
}

.hn-app-phone {
  margin: 0;
  border-radius: 30px;
  overflow: hidden;
  border: 8px solid #3B2A26;
  background: #3B2A26;
  box-shadow: 0 18px 46px rgba(59, 42, 38, 0.20);
}

.hn-app-phone img {
  display: block;
  width: 100%;
  height: auto;
}

.hn-app-phone-back {
  width: 44%;
  transform: rotate(-4deg) translateX(12%);
  opacity: 0.96;
}

.hn-app-phone-front {
  width: 47%;
  transform: rotate(3deg) translateX(-8%);
  z-index: 2;
  margin-left: -8%;
}

.hn-app-what {
  padding: 58px 0 46px;
  border-top: 1px solid rgba(185, 134, 126, 0.28);
}

.hn-app-what > h2,
.hn-app-account h2,
.hn-app-faq > h2 {
  margin: 0 0 24px;
  font-family: var(--hennio-title, 'Bodoni Moda', Georgia, serif);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  font-weight: 500;
}

.hn-app-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.hn-app-block {
  background: #ffffff;
  border: 1px solid rgba(185, 134, 126, 0.24);
  border-radius: 18px;
  padding: 18px 18px 22px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hn-app-block-shot {
  height: 170px;
  overflow: hidden;
  border-radius: 12px;
  background: #F3EBE5;
  margin: 0 0 16px;
}

.hn-app-block-shot img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: -8%;
}

.hn-app-block-num {
  margin: 0 0 4px;
  font-size: 12px;
  letter-spacing: 0.10em;
  color: var(--hennio-thread, #B9867E);
}

.hn-app-block h3 {
  margin: 0 0 8px;
  font-family: var(--hennio-title, 'Bodoni Moda', Georgia, serif);
  font-size: 22px;
  line-height: 1.18;
  font-weight: 500;
}

.hn-app-block p:last-child {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(59, 42, 38, 0.78);
}

.hn-app-account {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 26px 0 58px;
  padding: 30px 32px;
  border-radius: 20px;
  background: #3B2A26;
  color: #FBF6F1;
}

.hn-app-account h2 {
  margin: 0 0 8px;
  color: #FBF6F1;
  font-size: clamp(24px, 3.4vw, 34px);
}

.hn-app-account p {
  margin: 0;
  max-width: 580px;
  font-size: 15.5px;
  line-height: 1.55;
  color: rgba(251, 246, 241, 0.82);
}

.hn-app-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 12px;
  background: #FBF6F1;
  color: #3B2A26 !important;
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 600;
  white-space: nowrap;
}

.hn-app-cta:hover { background: #ffffff; }

.hn-app-faq {
  border-top: 1px solid rgba(185, 134, 126, 0.28);
  padding-top: 42px;
}

.hn-app-faq details {
  border-bottom: 1px solid rgba(185, 134, 126, 0.28);
  padding: 4px 0;
}

.hn-app-faq summary {
  cursor: pointer;
  padding: 16px 30px 16px 0;
  font-size: 17px;
  font-weight: 600;
  list-style: none;
  position: relative;
}

.hn-app-faq summary::-webkit-details-marker { display: none; }

.hn-app-faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--hennio-thread, #B9867E);
}

.hn-app-faq details[open] summary::after { content: "−"; }

.hn-app-faq details p {
  margin: 0 0 18px;
  max-width: 720px;
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(59, 42, 38, 0.82);
}

@media (min-width: 900px) {
  .hn-app-qr { display: block; }
}

@media (max-width: 899px) {
  .hn-app { padding: 26px 18px 60px; }
  .hn-app-hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 38px;
  }
  .hn-app-phones {
    min-height: 0;
    margin: 8px 0 0;
  }
  .hn-app-phone { border-width: 6px; border-radius: 22px; }
  .hn-app-phone-back { width: 43%; }
  .hn-app-phone-front { width: 47%; }
  .hn-app-what { padding-top: 38px; }
  .hn-app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .hn-app-block { padding: 14px 14px 18px; border-radius: 14px; }
  .hn-app-block-shot { height: 132px; margin-bottom: 12px; }
  .hn-app-block h3 { font-size: 19px; }
  .hn-app-account { padding: 24px 20px; margin-bottom: 42px; }
  .hn-app-cta { width: 100%; white-space: normal; text-align: center; }
}

@media (max-width: 380px) {
  .hn-app-stores { gap: 12px; }
  .hn-app-store-btn { width: 100%; font-size: 15px; }
  .hn-app-store { width: 100%; }
}
