/* ═══════════════════════════════════
   CONTACT HERO
═══════════════════════════════════ */
.ct-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.ct-hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 5rem;
  padding-bottom: 5rem;
  position: relative;
  z-index: 2;
}

.ct-headline,
.ct-links { position: relative; z-index: 2; }

.ct-headline { flex: 1; }

.ct-h1 {
  font-family: var(--fh);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 700;
  line-height: .96;
  color: var(--text);
  margin: 1.25rem 0 1.75rem;
}
.ct-h1 em {
  font-style: normal;
  color: var(--accent);
}

.ct-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 460px;
  line-height: 1.85;
}

/* contact link */
.ct-links {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  min-width: 280px;
}

.ct-link {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  background: var(--bg);
  color: var(--text);
  transition: border-color .25s, transform .25s, box-shadow .25s;
  position: relative;
  min-width: 0;
  overflow: hidden;
}
.ct-link:hover {
  border-color: var(--accent);
  transform: translateX(5px);
  box-shadow: 5px 0 0 var(--accent);
}

.ctl-platform {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--accent);
  flex-shrink: 0;
}
.ctl-platform svg { flex-shrink: 0; }
.ctl-platform span {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ctl-handle {
  flex: 1;
  font-family: var(--fh);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  overflow-wrap: break-word;
  word-break: break-all;
  min-width: 0;
}

.ctl-arrow {
  font-size: 1rem;
  color: var(--muted);
  transition: transform .2s, color .2s;
}
.ct-link:hover .ctl-arrow { transform: translate(2px, -2px); color: var(--accent); }

/* decorative background text */
.ct-hero-deco {
  position: absolute;
  right: -1.5rem;
  top: 8rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  user-select: none;
  pointer-events: none;
  z-index: 0;
  opacity: .45;
}
.ct-hero-deco span {
  font-family: var(--fh);
  font-size: clamp(5rem, 11vw, 11rem);
  font-weight: 700;
  color: var(--bg3);
  line-height: .85;
  text-align: right;
}

/* ═══════════════════════════════════
   DISPONIBILITÀ
═══════════════════════════════════ */
.avail-sec {
  padding: 9rem 0;
  background: var(--bg2);
}

.avail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.avail-block {
  padding: 2.75rem 2.25rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg);
  transition: border-color .25s, transform .3s;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.avail-block:hover {
  border-color: rgba(229,57,32,.25);
  transform: translateY(-5px);
}

.avail-block-featured {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.avail-block-featured h3 { color: #fff !important; }
.avail-block-featured p  { color: rgba(255,255,255,.92) !important; }
.avail-block-featured .avail-cta { color: #fff !important; }
.avail-block-featured .avail-icon { filter: none; }
.avail-block-featured:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: var(--accent);
} 

.avail-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: .5rem;
}
.avail-block h3 {
  font-size: 1.25rem;
  color: var(--text);
}
.avail-block p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.8;
  flex: 1;
}
.avail-cta {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--accent);
  margin-top: .5rem;
}

/* ═══════════════════════════════════
   FIRMA — chiusura grande
═══════════════════════════════════ */
.firma-sec {
  padding: 9rem 0 7rem;
  overflow: hidden;
}

.firma-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 4rem;
}

.firma-meta {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.firma-label {
  display: block;
}

.firma-desc {
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.7;
  max-width: 380px;
  font-family: var(--fh);
  font-weight: 500;
  font-style: italic;
}

.firma-back {
  font-size: .82rem;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 1.5px solid var(--border);
  padding-bottom: .15rem;
  transition: color .2s, border-color .2s;
  width: fit-content;
}
.firma-back:hover { color: var(--accent); border-color: var(--accent); }

.firma-name {
  display: flex;
  flex-direction: column;
  line-height: .9;
}
.firma-name span {
  font-family: var(--fh);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  color: var(--text);
}
.fn-accent { color: var(--accent); }

/* ═══════════════════════════════════
   RESPONSIVE
═══════════════════════════════════ */
@media (max-width: 900px) {
  .ct-hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .ct-links { min-width: auto; }
  .ct-hero-deco { display: none; }
  .avail-grid { grid-template-columns: 1fr; }
  .firma-inner { grid-template-columns: 1fr; }
  .firma-name { display: none; }
}

@media (max-width: 560px) {
  .ct-h1 { font-size: clamp(2.8rem, 12vw, 5rem); }
}

@media (max-width: 480px) {
  .ct-hero-inner { gap: 2rem; padding-bottom: 3rem; }
  .ct-h1 { font-size: clamp(2.5rem, 11vw, 4rem); }
  .ct-sub { font-size: .95rem; }
  .ct-link { padding: 1rem 1.1rem; gap: .75rem; }
  .ctl-handle { font-size: .78rem; }
  .ctl-platform span { font-size: .55rem; }

  .avail-sec { padding: 6rem 0; }
  .avail-block { padding: 2rem 1.5rem; }

  .firma-sec { padding: 6rem 0 4rem; }
  .firma-desc { font-size: 1rem; }
}
