/* =========================================================
   BDG — Pagina CONTATTI
   Si appoggia a chi-siamo.css (variabili, container, eyebrow, titoli, sprite).
   Obiettivo: contatto in un tocco. Azioni grandi (WhatsApp, chiamata, email)
   subito in prima schermata, poi sede, Instagram e professionisti.
   ========================================================= */

.ct-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 6vw, 80px) 0 clamp(40px, 6vw, 70px);
  background: linear-gradient(180deg, var(--cs-cream) 0%, #fff 100%);
}
.ct-hero__grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .ct-hero__grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.ct-hero__badge {
  display: inline-block;
  margin-bottom: 20px;
  padding: 7px 16px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--cs-orange);
  color: var(--cs-orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.ct-hero__title {
  margin: 0;
  font-family: var(--cs-slab);
  font-size: clamp(42px, 10vw, 80px);
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--cs-ink);
}
.ct-hero__title span { display: block; color: var(--cs-orange); }
.ct-hero .cs-sprite--basil { left: -22px; bottom: 6%; transform: rotate(-24deg); }
.ct-hero .cs-sprite--tomato { right: 4%; top: 12px; width: 76px; height: 75px; }
@media (max-width: 959.98px) { .ct-hero .cs-sprite--basil, .ct-hero .cs-sprite--tomato { display: none; } }

/* ---------- azioni rapide ---------- */
.ct-actions { position: relative; z-index: 1; display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ct-action {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px 16px 16px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 40px -28px rgba(60, 25, 5, .55), inset 0 0 0 1px rgba(29, 29, 27, .06);
  color: var(--cs-ink) !important;
  text-decoration: none !important;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease;
}
.ct-action:hover { transform: translateY(-3px); box-shadow: 0 24px 46px -26px rgba(60, 25, 5, .6), inset 0 0 0 1px rgba(29, 29, 27, .06); }
.ct-action__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border-radius: 16px;
  color: #fff;
}
.ct-action--whatsapp .ct-action__icon { background: #25D366; }
.ct-action--phone .ct-action__icon { background: var(--cs-orange); }
.ct-action--mail .ct-action__icon { background: var(--cs-red); }
.ct-action__body { flex: 1 1 auto; min-width: 0; }
.ct-action__label { display: block; font-family: var(--cs-slab); font-size: 19px; line-height: 1.15; }
.ct-action__value { display: block; margin-top: 2px; font-size: 15px; color: var(--cs-muted); overflow-wrap: anywhere; }
.ct-action__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #F6F1EA;
  color: var(--cs-orange);
  font-size: 17px;
  transition: transform .3s ease, background-color .3s ease, color .3s ease;
}
.ct-action:hover .ct-action__arrow { transform: translateX(3px); background: var(--cs-orange); color: #fff; }

/* ---------- card informative ---------- */
.ct-info { padding: clamp(30px, 5vw, 60px) 0 clamp(70px, 9vw, 120px); }
.ct-info__grid { display: grid; gap: 16px; }
@media (min-width: 960px) { .ct-info__grid { grid-template-columns: 1.45fr 1fr 1fr; gap: 22px; } }
.ct-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 28px 26px;
  border-radius: 26px;
  background: var(--cs-cream);
  color: var(--cs-ink);
}
.ct-card__eyebrow {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cs-orange);
}
.ct-card__title { margin: 0 0 8px; font-family: var(--cs-slab); font-size: 25px; line-height: 1.15; color: inherit; }
.ct-card__text { margin: 0; font-size: 16px; line-height: 1.6; color: var(--cs-muted); }
.ct-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
  font-size: 15px;
  font-weight: 700;
  color: var(--cs-orange) !important;
  text-decoration: none !important;
}
.ct-card__link span { transition: transform .3s ease; }
.ct-card__link:hover span { transform: translateX(4px); }
/* card sede: foto dei due fratelli sfumata sul fondo */
.ct-card--place .ct-card__title { white-space: nowrap; font-size: 23px; }
.ct-card--place { padding-right: 50%; }
.ct-card--place img {
  position: absolute;
  right: 0;
  top: 0;
  width: 48%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  /* sfumatura corta sul bordo: entrambi i fratelli restano ben visibili */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 16%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 16%);
}
@media (max-width: 639.98px) {
  .ct-card--place { min-height: 0; padding-right: 26px; padding-bottom: 200px; }
  .ct-card--place img {
    top: auto; bottom: 0; width: 100%; height: 190px; object-position: 50% 25%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 45%);
            mask-image: linear-gradient(180deg, transparent 0%, #000 45%);
  }
}
.ct-card--social { background: #fff; box-shadow: inset 0 0 0 1.5px rgba(29, 29, 27, .08); }
.ct-card--social .ct-card__icon { width: 46px; height: 46px; margin-bottom: 14px; color: var(--cs-orange); }
.ct-card--pro { background: var(--cs-orange); color: #fff; }
.ct-card--pro .ct-card__eyebrow { color: var(--cs-yellow); }
.ct-card--pro .ct-card__text { color: rgba(255, 255, 255, .9); }
.ct-card--pro .ct-card__link { color: #fff !important; }
.ct-card--pro .cs-sprite--tomato { right: -26px; bottom: -26px; width: 110px; height: 108px; transform: rotate(-14deg); }

@media (prefers-reduced-motion: reduce) {
  .ct-action, .ct-action__arrow, .ct-card__link span { transition: none; }
  .ct-action:hover { transform: none; }
}
