/* =========================
   CONTATTI – FOODTRIPGO
========================= */

.ftg-contact-page {
  overflow-x: clip;
  background:
    radial-gradient(circle at top left, rgba(219,39,39,.035), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

/* =========================
   ACCESSIBILITY
========================= */

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* =========================
   FLOATING NAV
========================= */

.contact-floating-nav {
  position: fixed;
  left: 50%;
  top: 82px;
  z-index: 900;
  width: auto;
  max-width: min(92vw, 760px);
  transform: translateX(-50%) translateY(-14px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity .24s ease,
    transform .24s ease,
    visibility .24s ease;
}

.contact-floating-nav.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.contact-floating-nav-inner {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  overflow-x: auto;
  scrollbar-width: none;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.68));
  border: 1px solid rgba(255,255,255,.65);
  box-shadow:
    0 14px 34px rgba(0,0,0,.10),
    inset 0 0 0 1px rgba(255,255,255,.55);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
}

.contact-floating-nav-inner::-webkit-scrollbar {
  display: none;
}

.contact-floating-nav-inner a {
  flex: 0 0 auto;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(0,0,0,.72);
  transition:
    background .22s ease,
    color .22s ease,
    transform .22s ease;
}

.contact-floating-nav-inner a:hover,
.contact-floating-nav-inner a.is-active {
  background: #DB2727;
  color: #ffffff;
  transform: translateY(-1px);
}

/* =========================
   HERO
========================= */

.contact-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 86px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at top left, rgba(219,39,39,.055), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #faf7f7 100%);
}

.contact-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .20;
  pointer-events: none;
}

.contact-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.96), rgba(255,255,255,.82)),
    radial-gradient(circle at bottom right, rgba(219,39,39,.08), transparent 36%);
}

.contact-hero-content {
  position: relative;
  z-index: 2;
}

.contact-hero-panel {
  width: min(100%, 840px);
  margin: 0 auto;
  text-align: center;
}

.contact-hero-panel h1 {
  margin-bottom: 18px;
}

.contact-hero-panel .section-lead {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(1.02rem, 1.4vw, 1.22rem);
}

/* =========================
   HUB
========================= */

.contact-hub-section {
  padding-top: 84px;
  padding-bottom: 92px;
  background:
    radial-gradient(circle at top left, rgba(219,39,39,.045), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7f3f3 100%);
}

.contact-section-head {
  max-width: 760px;
  margin: 0 auto 34px;
}

.contact-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: clamp(26px, 3vw, 34px);
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 22px 54px rgba(0,0,0,.08),
    inset 0 0 0 1px rgba(255,255,255,.55);
}

.contact-card::before {
  content: "";
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.contact-card > * {
  position: relative;
  z-index: 2;
}

.contact-card-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contact-card h3 {
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.contact-card p {
  color: rgba(0,0,0,.68);
  line-height: 1.68;
}

.contact-card .btn {
  width: fit-content;
  margin-top: auto;
  margin-left: auto;
  margin-right: auto;
}

.contact-card-b2c {
  border-radius: var(--radius-b2c);
  background:
    radial-gradient(circle at top right, rgba(219,39,39,.08), transparent 34%),
    #ffffff;
  border: 1px solid rgba(219,39,39,.15);
}

.contact-card-b2c::before {
  left: 0;
  top: 26px;
  bottom: 26px;
  width: 5px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, #ff3a3a 0%, #DB2727 44%, #000000 100%);
}

.contact-card-b2c .contact-card-kicker {
  color: #DB2727;
  background: rgba(219,39,39,.075);
}

.contact-card-b2b {
  border-radius: var(--radius-b2b);
  background:
    radial-gradient(circle at top right, rgba(219,39,39,.20), transparent 34%),
    linear-gradient(135deg, #000000 0%, #170202 52%, #DB2727 100%);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow:
    0 24px 58px rgba(0,0,0,.18),
    inset 0 0 0 1px rgba(255,255,255,.08);
}

.contact-card-b2b::before {
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: #DB2727;
}

.contact-card-b2b .contact-card-kicker {
  color: #ffffff;
  background: rgba(255,255,255,.12);
  border-radius: var(--radius-b2b);
}

.contact-card-b2b h3,
.contact-card-b2b p {
  color: #ffffff;
}

.contact-card-direct {
  border-radius: var(--radius-b2c-sm);
  background:
    radial-gradient(circle at top left, rgba(219,39,39,.06), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #fbf8f8 100%);
  border: 1px solid rgba(0,0,0,.07);
}

.contact-card-direct::before {
  display: none;
}

.contact-card-direct .contact-card-kicker {
  color: rgba(0,0,0,.72);
  background: rgba(0,0,0,.045);
}

.contact-email-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 16px;
  color: #DB2727;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid rgba(219,39,39,.28);
  transition:
    color .22s ease,
    border-color .22s ease;
}

.contact-email-link:hover {
  color: #000000;
  border-color: #000000;
}

/* =========================
   FIDUCIA
========================= */

.contact-trust-section {
  padding-top: 86px;
  padding-bottom: 86px;
  background:
    radial-gradient(circle at top right, rgba(219,39,39,.04), transparent 28%),
    linear-gradient(180deg, #f7f7f7 0%, #ffffff 100%);
}

.contact-trust-section h2 {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.contact-response-time {
  display: inline-flex;
  margin-top: 24px;
  padding: 14px 22px;
  border-radius: 999px;
  color: #111111;
  background: rgba(219,39,39,.075);
  border: 1px solid rgba(219,39,39,.13);
  font-weight: 800;
}

/* =========================
   CTA DOPPIA
========================= */

.contact-split-section {
  padding-top: 90px;
  padding-bottom: 98px;
  background:
    radial-gradient(circle at top left, rgba(219,39,39,.05), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #faf7f7 100%);
}

.contact-split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.contact-split-card {
  position: relative;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 4vw, 48px);
  overflow: hidden;
  isolation: isolate;
}

.contact-split-card h3 {
  max-width: 560px;
  margin-bottom: 26px;
  font-size: clamp(1.55rem, 2.4vw, 2.4rem);
}

.contact-split-card .btn {
  width: fit-content;
}

.contact-split-b2c {
  border-radius: var(--radius-b2c);
  background:
    radial-gradient(circle at bottom right, rgba(219,39,39,.10), transparent 34%),
    #ffffff;
  border: 1px solid rgba(219,39,39,.16);
  box-shadow:
    0 22px 54px rgba(0,0,0,.08),
    inset 0 0 0 1px rgba(255,255,255,.55);
}

.contact-split-b2c::before {
  content: "";
  position: absolute;
  left: 0;
  top: 32px;
  bottom: 32px;
  width: 5px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, #ff3a3a 0%, #DB2727 44%, #000000 100%);
}

.contact-split-b2b {
  border-radius: var(--radius-b2b);
  background:
    radial-gradient(circle at top right, rgba(219,39,39,.18), transparent 34%),
    linear-gradient(135deg, #000000 0%, #170202 48%, #DB2727 100%);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow:
    0 24px 58px rgba(0,0,0,.18),
    inset 0 0 0 1px rgba(255,255,255,.08);
}

.contact-split-b2b::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: #DB2727;
}

.contact-split-b2b h3 {
  color: #ffffff;
}

/* =========================
   B2B SHAPE ENFORCEMENT
========================= */

.ftg-contact-page .btn-business-square,
.ftg-contact-page .contact-card-b2b .btn,
.ftg-contact-page .contact-split-b2b .btn {
  border-radius: var(--radius-b2b) !important;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 980px) {
  .contact-hub-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    min-height: auto;
  }

  .contact-split-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .contact-hero {
    min-height: 64vh;
    padding: 112px 0 72px;
  }

  .contact-floating-nav {
    top: 76px;
    max-width: 94vw;
  }

  .contact-floating-nav-inner {
    justify-content: flex-start;
  }

  .contact-hub-section,
  .contact-trust-section,
  .contact-split-section {
    padding-top: 66px;
    padding-bottom: 70px;
  }

  .contact-card,
  .contact-split-card {
    padding: 26px 22px;
  }

  .contact-card > .btn,
.contact-split-card .btn {
  width: 100%;
}

.contact-buttons .contact-icon-btn {
  width: auto;
  min-width: 118px;
}
.contact-buttons {
  gap: 10px;
}

.contact-buttons .contact-icon-btn {
  padding: 0 16px;
}
@media (max-width: 420px) {
  .contact-buttons {
    flex-wrap: wrap;
  }

  .contact-buttons .contact-icon-btn {
    flex: 1 1 130px;
  }
}
}

/* =========================
   BOTTONI CONTATTO DIRETTO
========================= */

.contact-direct-actions {
  width: 100%;
  margin-top: auto;
  padding-top: 26px;
}

.contact-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 14px;
  width: 100%;
}

.contact-buttons .contact-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  width: auto;
  min-width: 128px;
  min-height: 52px;
  margin: 0;

  padding: 0 20px;
  text-align: center;
}

.contact-buttons .contact-icon-btn svg {
  display: block;
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  fill: currentColor;
  color: #ffffff;
}

.contact-buttons .contact-icon-btn span {
  color: #ffffff;
  font-weight: 800;
  line-height: 1;
}