/* =========================================================
   CHI SIAMO – FOODTRIPGO
   CSS locale pulito
   Gli stili globali sono in base.css
========================================================= */

.ftg-about-page {
  overflow-x: clip;
}

/* =========================================================
   HERO ABOUT – alias verso il sistema hero globale
========================================================= */

.ftg-about-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  padding: 90px 0;
  background: #000000;
}

.ftg-about-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ftg-about-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.ftg-about-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.20), rgba(0,0,0,.06)),
    linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.16));
}

.ftg-about-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: center;
}

.ftg-about-hero__panel {
  width: min(100%, 860px);
  margin: 0 auto;
  padding: clamp(26px, 4vw, 54px);
  border-radius: var(--radius-b2c);
  text-align: center;
  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,.13),
      rgba(255,255,255,.055)
    );
  border: 1px solid rgba(255,255,255,.24);
  box-shadow:
    0 16px 42px rgba(0,0,0,.16),
    inset 0 0 0 1px rgba(255,255,255,.08);
  backdrop-filter: blur(14px) saturate(128%);
  -webkit-backdrop-filter: blur(14px) saturate(128%);
}

.ftg-about-hero__panel h1 {
  max-width: 860px;
  margin: 0 auto 18px;
  color: #ffffff;
  font-size: clamp(2.25rem, 4.5vw, 4.45rem);
  line-height: .98;
  letter-spacing: -.04em;
  text-shadow: 0 10px 28px rgba(0,0,0,.24);
}

.ftg-about-hero__panel p {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255,255,255,.88);
  font-size: 1.04rem;
  line-height: 1.65;
  text-shadow: 0 8px 22px rgba(0,0,0,.20);
}

.ftg-about-hero__actions {
  justify-content: center;
  margin-top: 22px;
}

/* SECTIONS */

.ftg-about-page .section {
  padding-top: 92px;
  padding-bottom: 92px;
}

.ftg-about-page .section h2 {
  margin-bottom: 22px;
}

.ftg-about-page .section h2.center::after,
.ftg-about-page .ftg-about-positioning h2::after {
  content: "";
  display: block;
  width: 46px;
  height: 2px;
  margin: 22px auto 0;
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      #ff3a3a 0%,
      #DB2727 28%,
      #8e1111 62%,
      #000000 100%
    );
}

.ftg-about-page .section .section-lead {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.ftg-about-identity {
  background:
    radial-gradient(circle at top left, rgba(219,39,39,.045), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #faf7f7 100%);
}

.ftg-about-dual {
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(246,246,246,.88));
}

.ftg-about-method {
  background:
    linear-gradient(135deg, rgba(255,255,255,.78), rgba(255,255,255,.48));
  border-top: 1px solid rgba(255,255,255,.62);
  border-bottom: 1px solid rgba(0,0,0,.045);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
}

.ftg-about-positioning {
  background:
    linear-gradient(135deg, #000000 0%, #090909 48%, #DB2727 100%) !important;
  color: #ffffff;
}

.ftg-about-positioning h2,
.ftg-about-positioning p {
  color: #ffffff;
}

.ftg-about-areas {
  background:
    radial-gradient(circle at top right, rgba(219,39,39,.05), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f7f3f3 100%);
}


.social-proof-section {
  background:
    radial-gradient(circle at top left, rgba(219,39,39,.04), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
}


/* DUAL BOX */

.ftg-about-dual .split-choice-grid,
.ftg-about-final .split-choice-grid {
  align-items: stretch;
  gap: 24px;
}

.ftg-about-dual .split-panel-box,
.ftg-about-final .split-panel-box {
  min-height: 100%;
}

.ftg-about-dual .split-panel-box p {
  margin: 0 0 10px;
  line-height: 1.75;
}

/* FLIP CARDS */

.ftg-about-flip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 42px;
}

.ftg-flip-card {
  min-height: 260px;
  padding: 0 !important;
  perspective: 1200px;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.ftg-flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 260px;
  transform-style: preserve-3d;
  transition: transform .55s ease;
}

.ftg-flip-card:hover .ftg-flip-card-inner {
  transform: rotateY(180deg);
}

.ftg-flip-card-front,
.ftg-flip-card-back {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 26px;
  border-radius: var(--radius-b2c-sm);
  backface-visibility: hidden;
  overflow: hidden;
  border: 1px solid rgba(219,39,39,.12);
  box-shadow:
    0 18px 44px rgba(0,0,0,.065),
    inset 0 0 0 1px rgba(255,255,255,.52);
}

.ftg-flip-card-front {
  background: rgba(255,255,255,.96);
}

.ftg-flip-card-front::before,
.ftg-flip-card-back::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 4px;
  border-radius: 999px;
  background:
    linear-gradient(
      180deg,
      #ff3a3a 0%,
      #DB2727 28%,
      #8e1111 62%,
      #000000 100%
    );
}

.ftg-flip-card-front h3 {
  margin: 0;
  color: #111111;
}

.ftg-flip-card-back {
  transform: rotateY(180deg);
  background:
    linear-gradient(135deg, #DB2727 0%, #8f1010 48%, #000000 100%);
  color: #ffffff;
}

.ftg-flip-card-back p {
  margin: 0;
  color: #ffffff;
  font-size: 1.02rem;
  line-height: 1.72;
}

/* IMAGES */

.ftg-about-feature-image {
  margin: 52px auto 0;
  max-width: 1040px;
  overflow: hidden;
  border-radius: var(--radius-b2c);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 24px 58px rgba(0,0,0,.10);
}

.ftg-about-feature-image img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

/* Mappa aree operative con bordo gradiente */
.ftg-about-map {
  position: relative;
  margin: 52px auto 0;
  max-width: 1040px;
  overflow: hidden;
  border-radius: 34px;
  padding: 2px;
  background:
    linear-gradient(
      135deg,
      #DB2727 0%,
      #7a0f0f 48%,
      #000000 100%
    );
  box-shadow:
    0 28px 60px rgba(0,0,0,.10),
    0 10px 24px rgba(219,39,39,.10);
}

.ftg-about-map img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: 32px;
  background: #ffffff;
}

/* AREAS / VALUES */

.ftg-about-areas .ftg-cand-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 220px));
  justify-content: center;
  gap: 22px;
  width: min(100%, 920px);
  margin: 34px auto 0;
}


.ftg-about-areas .ftg-cand-grid > div {
  position: relative;
  overflow: hidden;
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 18px;
  border-radius: var(--radius-b2c-sm);
  background:
    linear-gradient(
      135deg,
      rgba(219,39,39,.045),
      rgba(255,255,255,.96) 48%,
      rgba(0,0,0,.025)
    );
  border: 1px solid rgba(219,39,39,.16);
  box-shadow: 0 16px 40px rgba(0,0,0,.06);
  font-weight: 700;
  text-align: center;
}

.ftg-about-areas .ftg-cand-grid > div {
  width: 100%;
  justify-self: center;
}


/* Aree operative mantiene la banda laterale */
.ftg-about-areas .ftg-cand-grid > div::before {
  content: "";
  position: absolute;
  inset: 18px auto 18px 0;
  width: 4px;
  border-radius: 999px;
  background:
    linear-gradient(
      180deg,
      #ff3a3a 0%,
      #DB2727 28%,
      #8e1111 62%,
      #000000 100%
    );
}


/* FINAL CTA */

.ftg-about-final {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 110px 0;
  background:
    linear-gradient(
      135deg,
      #DB2727 0%,
      #8f1515 42%,
      #210606 72%,
      #000000 100%
    ) !important;
}

.ftg-about-final::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 12%, rgba(255,255,255,.10), transparent 34%),
    radial-gradient(circle at 72% 78%, rgba(219,39,39,.20), transparent 36%);
}

.ftg-about-final > .container {
  position: relative;
  z-index: 2;
}

/* Tolto il contenitore centrale della split: restano solo le due card */
.ftg-about-final .split-choice-grid {
  width: min(92%, var(--max-width));
  min-height: auto;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 6vw, 72px);
  align-items: stretch;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

.ftg-about-final .split-panel {
  padding: 0 !important;
  background: transparent !important;
}

.ftg-about-final .split-panel::before {
  display: none !important;
}

.ftg-about-final .split-panel-box {
  position: relative;
  min-height: 270px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 32px;
  border: 1px solid transparent;
  box-shadow:
    0 28px 70px rgba(0,0,0,.24),
    0 12px 34px rgba(219,39,39,.18);
}

.ftg-about-final .split-panel-box::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background:
    linear-gradient(
      135deg,
      #DB2727 0%,
      #8e1111 46%,
      #000000 100%
    );
  filter: blur(16px);
  opacity: .36;
}

.ftg-about-final .split-panel-box h3 {
  margin-bottom: 22px;
}

.ftg-about-final .split-panel-travel .split-panel-box {
  border-radius: var(--radius-b2c);
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.96),
      rgba(248,248,248,.94)
    );
  border-color: rgba(255,255,255,.68);
}

.ftg-about-final .split-panel-business .split-panel-box {
  border-radius: var(--radius-b2b);
  background:
    linear-gradient(
      180deg,
      #101010 0%,
      #000000 100%
    );
  border-color: rgba(255,255,255,.12);
}

.ftg-about-final .split-panel-box::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 4px;
  border-radius: 999px;
  background:
    linear-gradient(
      180deg,
      #ff3a3a 0%,
      #DB2727 28%,
      #8e1111 62%,
      #000000 100%
    );
}

.ftg-about-final .split-panel-travel .btn {
  border-radius: 999px !important;
}

.ftg-about-final .split-panel-business .btn,
.ftg-about-final .split-panel-business .btn-light,
.ftg-about-final .split-panel-business .ftg-about-b2b-final-btn {
  border-radius: var(--radius-b2b) !important;
  background: #ffffff !important;
  color: #000000 !important;
  border-color: #ffffff !important;
}

.ftg-about-final .split-panel-business .btn:hover,
.ftg-about-final .split-panel-business .btn-light:hover,
.ftg-about-final .split-panel-business .ftg-about-b2b-final-btn:hover {
  background:
    linear-gradient(
      135deg,
      #DB2727 0%,
      #a61b1b 48%,
      #000000 100%
    ) !important;
  color: #ffffff !important;
  border-color: rgba(255,255,255,.16) !important;
}

/* RESPONSIVE */

@media (max-width: 1180px) {
  .ftg-about-flip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ftg-about-areas .ftg-cand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .ftg-about-page .social-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ftg-about-page .travel-floating-nav {
    display: none;
  }
}

@media (max-width: 980px) {
  .ftg-about-page .travel-floating-nav {
    display: none;
  }
}

@media (max-width: 760px) {
  .ftg-about-hero {
    min-height: 100vh;
    padding: 74px 0;
  }

  .ftg-about-hero__panel {
    padding: 24px 18px;
    border-radius: var(--radius-b2c-sm);
  }

  .ftg-about-page .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .ftg-about-flip-grid,
  .ftg-about-page .social-proof-grid,
  .ftg-about-areas .ftg-cand-grid {
    grid-template-columns: 1fr;
  }

  .ftg-about-feature-image img,
  .ftg-about-map img {
    aspect-ratio: 4 / 3;
  }

  .ftg-flip-card,
  .ftg-flip-card-inner {
    min-height: 230px;
  }
}


/* =========================================================
   OVERRIDE CHI SIAMO – richieste pagina
========================================================= */

/* Hero: bottone Contattaci bianco -> nero */
.ftg-about-hero__actions .btn-light {
  background: #ffffff !important;
  color: #000000 !important;
  border-color: #ffffff !important;
}

.ftg-about-hero__actions .btn-light:hover {
  background: #000000 !important;
  color: #ffffff !important;
  border-color: #000000 !important;
}

/* Due prospettive: bullet point rossi nelle card */
.ftg-about-dual .split-panel-box p:not(.section-label) {
  position: relative;
  padding-left: 18px;
}

.ftg-about-dual .split-panel-box p:not(.section-label)::before {
  content: "";
  position: absolute;
  left: 0;
  top: .78em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(219,39,39,.12);
}

.ftg-about-dual .split-panel-box p strong {
  display: inline;
}

/* Come lavoriamo: numeri con pallino rosso/nero */
.ftg-about-method .travel-step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  min-width: 58px;
  margin: 0 0 24px;
  border-radius: 999px;
  background:
    linear-gradient(
      135deg,
      #DB2727 0%,
      #9f1717 58%,
      #000000 100%
    );
  color: #ffffff;
  font-size: 0;
  font-weight: 900;
  line-height: 1;
  box-shadow:
    0 18px 34px rgba(219,39,39,.26),
    0 10px 24px rgba(0,0,0,.16);
}

.ftg-about-method .travel-step-card:nth-child(1) .travel-step-index::before { content: "01"; font-size: 1rem; }
.ftg-about-method .travel-step-card:nth-child(2) .travel-step-index::before { content: "02"; font-size: 1rem; }
.ftg-about-method .travel-step-card:nth-child(3) .travel-step-index::before { content: "03"; font-size: 1rem; }
.ftg-about-method .travel-step-card:nth-child(4) .travel-step-index::before { content: "04"; font-size: 1rem; }

/* Come lavoriamo: bande card rosso -> nero */
.ftg-flip-card-front::before,
.ftg-flip-card-back::before {
  background:
    linear-gradient(
      180deg,
      #ff3a3a 0%,
      #DB2727 28%,
      #8e1111 62%,
      #000000 100%
    );
}
/* =========================================================
   RELAZIONI REALI — GRIGLIA A QUATTRO CARD
========================================================= */

.ftg-about-page .social-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  margin-top: 42px;
}
/* Ripristino card immagini sezione Relazioni reali */
.ftg-about-page .social-proof-card {
  overflow: hidden;
  border-radius: var(--radius-b2c-sm);
  background: #ffffff;
  border: 1px solid rgba(219,39,39,.14);
  box-shadow:
    0 18px 44px rgba(0,0,0,.065),
    inset 0 0 0 1px rgba(255,255,255,.52);
  transform: none;
}

.ftg-about-page .social-proof-card::before {
  display: none;
}

.ftg-about-page .social-proof-card:hover {
  transform: translateY(-5px);
  border-color: rgba(219,39,39,.24);
  box-shadow:
    0 28px 64px rgba(0,0,0,.12),
    0 12px 28px rgba(219,39,39,.12);
}

.ftg-about-page .social-proof-media {
  aspect-ratio: 1 / 1.08;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}

.ftg-about-page .social-proof-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.ftg-about-page .social-proof-body {
  padding: 18px 18px 20px;
  background: #ffffff;
}

.ftg-about-page .social-proof-meta {
  color: rgba(0,0,0,.46);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* Responsive finale */
@media (max-width: 1180px) {

  .ftg-about-final .split-choice-grid {
    grid-template-columns: 1fr;
    max-width: 760px;
  }
}

@media (max-width: 760px) {
  .ftg-about-areas .ftg-cand-grid {
    grid-template-columns: 1fr;
  }

  .ftg-about-map img {
    aspect-ratio: 4 / 3;
  }

  .ftg-about-final {
    padding: 78px 0;
  }
}

/* =========================================================
   COSA GUIDA IL NOSTRO LAVORO
========================================================= */

.ftg-about-page .ftg-about-values {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(
      135deg,
      #000000 0%,
      #101010 48%,
      #DB2727 100%
    ) !important;
  border-top: 0;
  border-bottom: 0;
}

.ftg-about-page .ftg-about-values h2 {
  color: #ffffff !important;
}

.ftg-about-page .ftg-values-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
  margin-top: 40px;
}

.ftg-about-page .ftg-values-card:nth-child(1) { grid-column: 1 / 3; }
.ftg-about-page .ftg-values-card:nth-child(2) { grid-column: 3 / 5; }
.ftg-about-page .ftg-values-card:nth-child(3) { grid-column: 5 / 7; }
.ftg-about-page .ftg-values-card:nth-child(4) { grid-column: 2 / 4; }
.ftg-about-page .ftg-values-card:nth-child(5) { grid-column: 4 / 6; }

.ftg-about-page .ftg-values-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  min-height: 165px;
  padding: 30px 44px;
  border-radius: var(--radius-b2c-sm);
  color: #ffffff;
  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,.14),
      rgba(255,255,255,.055)
    ) !important;
  border: 1px solid rgba(255,255,255,.20);
  box-shadow: 0 18px 42px rgba(0,0,0,.22);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  transition:
    transform .28s ease,
    background .28s ease,
    border-color .28s ease,
    box-shadow .28s ease;
}

.ftg-about-page .ftg-values-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 5px;
  border-radius: 0 4px 4px 0;
  background:
    linear-gradient(
      180deg,
      #ff3a3a 0%,
      #DB2727 28%,
      #8e1111 62%,
      #000000 100%
    );
}

.ftg-about-page .ftg-values-card h3 {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 92%;
  margin: 0;
  color: #ffffff !important;
  font-size: clamp(1.15rem, .85vw + .9rem, 1.55rem);
  line-height: 1.22;
  font-weight: 800;
  text-align: center;
}

.ftg-about-page .ftg-values-card:hover {
  transform: translateY(-6px);
  background:
    linear-gradient(
      135deg,
      rgba(219,39,39,.28),
      rgba(255,255,255,.09)
    ) !important;
  border-color: rgba(255,255,255,.34);
  box-shadow:
    0 28px 66px rgba(0,0,0,.30),
    0 10px 26px rgba(219,39,39,.20);
}

@media (max-width: 980px) {
  .ftg-about-page .ftg-values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .ftg-about-page .ftg-values-card:nth-child(1),
  .ftg-about-page .ftg-values-card:nth-child(2),
  .ftg-about-page .ftg-values-card:nth-child(3),
  .ftg-about-page .ftg-values-card:nth-child(4),
  .ftg-about-page .ftg-values-card:nth-child(5) {
    grid-column: auto;
  }

  .ftg-about-page .ftg-values-card {
    min-height: 150px;
    padding: 28px 36px;
  }
}

@media (max-width: 640px) {
  .ftg-about-page .ftg-values-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
  }

  .ftg-about-page .ftg-values-card {
    min-height: 120px;
    padding: 24px 34px;
    border-radius: 22px;
  }

  .ftg-about-page .ftg-values-card::before {
    top: 18px;
    bottom: 18px;
    width: 4px;
  }

  .ftg-about-page .ftg-values-card h3 {
    font-size: 1.1rem;
    line-height: 1.22;
  }
}