/* Layout a tre prodotti e panoramica compatta di Blina Desk. */
.wrap {
  width: min(1520px, calc(100% - 48px));
}

.site-banner {
  width: 100%;
  background: #21362b;
  color: #f5f7f2;
}

.site-banner-inner {
  width: min(1520px, calc(100% - 48px));
  min-height: 34px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 5px 0;
}

.site-banner span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: .7px;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-banner i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f18a62;
  box-shadow: 0 0 0 3px rgba(241,138,98,.14);
}

.hero {
  grid-template-columns: .94fr 1.06fr;
  gap: clamp(35px, 5vw, 90px);
}

.button {
  min-height: 48px;
  border-color: #e85f36;
  background: #e85f36;
  box-shadow: 0 10px 22px rgba(232,95,54,.2);
}

.button:hover {
  border-color: #c84d29;
  background: #c84d29;
  box-shadow: 0 14px 28px rgba(200,77,41,.25);
}

.button.light {
  border-color: #3158d4;
  background: #3158d4;
  color: white;
  box-shadow: 0 10px 22px rgba(49,88,212,.18);
}

.button.light:hover {
  border-color: #2647b4;
  background: #2647b4;
  color: white;
}

.actions .button {
  min-width: 170px;
}

.planet.desk {
  top: 39px;
  right: 41px;
}

.planet.space {
  top: auto;
  bottom: 39px;
  right: 22px;
}

.planet.family {
  top: 190px;
  bottom: auto;
  left: -9px;
}

.products {
  grid-template-columns: repeat(2, 1fr);
}

.desk-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(240px, .8fr) 2fr;
  gap: 42px;
  padding: 28px;
}

.desk-intro {
  display: flex;
  flex-direction: column;
}

.desk-intro > a {
  margin-top: auto;
  padding: 13px 16px;
  border: 0;
  border-radius: 8px;
  background: #e85f36;
  color: white;
  display: flex;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 9px 18px rgba(232,95,54,.18);
}

.desk-intro > a span {
  font-size: 17px;
}

.desk-capabilities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding-left: 32px;
  border-left: 1px solid var(--line);
}

.desk-capabilities strong {
  display: block;
  margin: 2px 0 13px;
  color: #626a5a;
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.desk-capabilities ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.desk-capabilities li {
  padding: 7px 10px;
  border-radius: 6px;
  background: #f5f6f1;
  color: #596052;
  font-size: 11px;
  line-height: 1.3;
}

.desk-capabilities a:hover {
  color: var(--orange);
}

.desk-capabilities small {
  display: block;
  margin-top: 3px;
  color: #929889;
  font-size: 8px;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.capability-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}

.capability-heading strong {
  margin: 0;
}

.capability-heading > span {
  color: #92988d;
  font-size: 9px;
}

.desk-capabilities ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.desk-capabilities li {
  min-width: 0;
  padding: 0;
  border: 1px solid #e6e8e1;
  background: #fafbf8;
}

.desk-capabilities li > a,
.desk-capabilities li > span {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
}

.desk-capabilities li > a::before,
.desk-capabilities li > span::before {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #e85f36;
  content: '';
}

.capability-group:nth-child(2) li > a::before,
.capability-group:nth-child(2) li > span::before {
  background: #4057db;
}

.desk-capabilities li:has(a):hover {
  border-color: #cfd5c8;
  background: white;
  box-shadow: 0 7px 15px rgba(40,50,36,.07);
}

.desk-capabilities li small {
  display: inline;
  margin: 0 0 0 auto;
  color: #e85f36;
  white-space: nowrap;
}

.product > a {
  padding: 13px 16px;
  border: 0;
  border-radius: 8px;
  color: white;
  justify-content: center;
  font-size: 12px;
  box-shadow: 0 9px 18px rgba(31,42,35,.13);
}

#space > a {
  background: #4057db;
}

#family > a {
  background: #6656dc;
}

.product > a:hover,
.desk-intro > a:hover {
  filter: brightness(.92);
  transform: translateY(-1px);
}

@media (max-width: 760px) {
  .planet.space {
    right: -16px;
  }

  .planet.family {
    left: -16px;
  }

  .desk-card {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .desk-capabilities {
    padding: 25px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 420px) {
  .planet.family {
    left: -14px;
  }

  .planet.space {
    right: -10px;
  }

  .desk-capabilities {
    grid-template-columns: 1fr;
  }

  .desk-card {
    padding: 24px 20px;
  }
}

/* Hero: struttura prodotti/azienda senza orbite. */
.brand-showcase {
  min-height: 490px;
  display: grid;
  grid-template-columns: minmax(150px, .78fr) 1.22fr;
  grid-template-rows: 1fr auto;
  gap: 14px;
  padding: 25px;
  border: 1px solid #dfe3d8;
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.88), rgba(239,242,233,.8)),
    radial-gradient(circle at 22% 30%, rgba(50,85,255,.12), transparent 48%);
  box-shadow: 0 24px 60px rgba(39,48,32,.08);
}

.brand-visual {
  min-width: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px 12px;
  border-radius: 14px;
  background: linear-gradient(155deg, #eef2ff, #e3e9ff 54%, #f9faf6);
  text-align: center;
}

.brand-visual > img {
  position: absolute;
  top: 42%;
  left: 50%;
  width: 330px;
  max-width: none;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 20px 22px rgba(21,48,151,.2));
}

.brand-visual > div {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.brand-visual strong {
  color: #152767;
  font-family: Manrope, sans-serif;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -1.5px;
}

.brand-visual strong small {
  margin-left: 3px;
  font-size: 8px;
  vertical-align: top;
}

.brand-visual span {
  margin-top: 7px;
  color: #64709a;
  font-size: 9px;
  line-height: 1.4;
}

.showcase-products {
  display: grid;
  gap: 10px;
  align-content: center;
}

.showcase-product {
  min-width: 0;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  align-items: center;
  padding: 16px;
  border: 1px solid #e2e5dc;
  border-radius: 12px;
  background: rgba(255,255,255,.88);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}

.showcase-product.desk {
  border-left: 4px solid #ef5d1b;
  background: #fff8f4;
}

.showcase-product.space {
  border-left: 4px solid #4057db;
  background: #f7f8ff;
}

.showcase-product.family {
  border-left: 4px solid #6656dc;
  background: #faf8ff;
}

.showcase-product:hover {
  transform: translateX(4px);
  border-color: #cbd2c1;
  box-shadow: 0 12px 25px rgba(39,48,32,.08);
}

.showcase-product img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
}

.showcase-product span {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.showcase-product small {
  margin-bottom: 3px;
  color: #858a80;
  font-size: 8px;
  letter-spacing: 1px;
}

.showcase-product strong {
  overflow: hidden;
  color: #282c26;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.showcase-product b,
.company-link b {
  color: #8b9186;
  font-size: 15px;
  font-weight: 400;
}

.company-link {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 11px;
  align-items: center;
  padding: 13px 16px;
  border-radius: 10px;
  background: #25352d;
  color: white;
}

.company-link span {
  color: #b8c5bc;
  font-size: 9px;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.company-link strong {
  font-size: 12px;
}

.company-link b {
  color: #dbe2dc;
}

/* Funzioni principali di Space e Family. */
.compact-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.compact-features li {
  padding: 7px 10px;
  border-radius: 6px;
  background: #f5f6f1;
  color: #596052;
  font-size: 10.5px;
  line-height: 1.35;
}

.compact-features small {
  margin-left: 4px;
  color: var(--orange);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.footer-links {
  flex-wrap: wrap;
}

.contact .button {
  min-width: 190px;
  background: #ef6d43;
  color: white;
  box-shadow: 0 12px 24px rgba(0,0,0,.16);
}

.pilot > div {
  flex: 1;
}

.pilot p {
  max-width: 820px;
  font-size: 13px;
  line-height: 1.75;
}

.pilot-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.pilot-points li {
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #dbe5de;
  font-size: 10px;
}

.pilot .button {
  min-width: 245px;
}

@keyframes blina-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-copy > *,
.brand-showcase {
  animation: blina-rise .65s both cubic-bezier(.2,.75,.25,1);
}

.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero-copy > :nth-child(5) { animation-delay: .32s; }
.brand-showcase { animation-delay: .15s; }

@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 28px);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .site-banner-inner {
    width: calc(100% - 28px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 8px 0;
  }

  .site-banner span {
    justify-content: center;
    padding: 5px 7px;
    font-size: 7.5px;
    white-space: normal;
    text-align: center;
  }

  .site-banner span:last-child {
    grid-column: 1 / -1;
  }

  .brand-showcase {
    width: min(100%, 430px);
    min-height: 450px;
    margin: 25px auto 0;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 34px !important;
    letter-spacing: -1.8px;
  }

  .brand-showcase {
    grid-template-columns: 108px 1fr;
    min-height: 420px;
    padding: 14px;
  }

  .brand-visual {
    padding: 14px 8px;
  }

  .brand-visual > img {
    width: 270px;
  }

  .brand-visual strong {
    font-size: 23px;
  }

  .brand-visual span {
    font-size: 8px;
  }

  .showcase-product {
    grid-template-columns: 34px 1fr;
    gap: 9px;
    padding: 13px 11px;
  }

  .showcase-product img {
    width: 34px;
    height: 34px;
  }

  .showcase-product small {
    letter-spacing: .5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy > *,
  .brand-showcase {
    animation: none;
  }
}

/* Modulo di contatto: stesso invio del sito precedente (formsubmit.co → info@blina.ai). */
.contact.pilot {
  display: grid;
  grid-template-columns: 1fr minmax(0, 1.05fr);
  align-items: start;
  gap: clamp(30px, 5vw, 80px);
}

.pilot > div > .button {
  margin-top: 26px;
}

.contact .contact-other {
  margin: 18px 0 0;
  max-width: 440px;
  color: #b2c0b2;
  font-size: 12px;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  border-radius: 12px;
  background: #f8f8f3;
  color: var(--ink);
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}

.contact-form .form-title {
  margin: 0 0 2px;
  font-family: Manrope, sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.5px;
}

.contact-form .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form .field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.contact-form label {
  font-size: 11px;
  font-weight: 600;
  color: #4d5249;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #d9dccf;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(237,112,70,.18);
}

.contact-form .honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact .contact-form .form-privacy {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.contact-form .form-privacy a {
  text-decoration: underline;
}

.contact .form-submit {
  justify-self: start;
  min-width: 190px;
}

.contact .form-submit:disabled {
  opacity: .7;
  cursor: wait;
  transform: none;
}

@media (max-width: 900px) {
  .contact.pilot {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .contact-form {
    padding: 20px;
  }

  .contact-form .field-row {
    grid-template-columns: 1fr;
  }

  .contact .form-submit,
  .pilot > div > .button {
    width: 100%;
  }
}

/* Su telefono i prodotti uno sotto l'altro: in due colonne Space e Family restavano larghe 173px. */
@media (max-width: 760px) {
  .products {
    grid-template-columns: 1fr;
  }
}

.contact-form [aria-invalid] {
  border-color: #c2412a;
}

.contact .contact-form .form-status {
  margin: 0;
  padding: 10px 12px;
  border-radius: 7px;
  background: #fbe9e3;
  color: #8a2d1b;
  font-size: 12px;
}
