

.restaurant-types-section {
  padding: 100px 0;
  background: #ffffff;
}

.type-card {
  height: 100%;
  background: #ffffff;
  border-radius: 22px;
  padding: 36px 30px;
  text-align: center;
  box-shadow: 0 25px 70px rgba(0,0,0,0.06);
  transition: all .35s ease;
}

.type-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 35px 90px rgba(0,0,0,0.1);
}

.type-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 30px;
  color: #fff;
}

.bg-purple { background: linear-gradient(135deg,#7c3aed,#a78bfa); }
.bg-blue   { background: linear-gradient(135deg,#2563eb,#60a5fa); }
.bg-orange { background: linear-gradient(135deg,#f97316,#fdba74); }
.bg-red    { background: linear-gradient(135deg,#dc2626,#fca5a5); }

.type-card h5 {
  font-weight: 700;
  margin-bottom: 12px;
}

.type-card p {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.6;
}

@media (max-width: 991px) {
  .restaurant-types-section {
    padding: 70px 0;
  }
}



/* =========================
   CTA WITH FLOWING LINES
========================= */
.cta-lines {
  position: relative;
  padding: 140px 20px;
  background: linear-gradient(135deg,#6d28d9,#8b5cf6);
  overflow: hidden;
  border-radius: 32px;
  margin: 120px auto;
  width: 92%;
}

/* LINE BACKGROUND */
.cta-lines-bg {
  position: absolute;
  inset: 0;
  background-image:
    repeating-radial-gradient(
      circle at 20% 30%,
      rgba(255,255,255,0.08) 0px,
      rgba(255,255,255,0.08) 1px,
      transparent 1px,
      transparent 14px
    ),
    repeating-radial-gradient(
      circle at 80% 70%,
      rgba(255,255,255,0.06) 0px,
      rgba(255,255,255,0.06) 1px,
      transparent 1px,
      transparent 16px
    );
  animation: moveLines 22s linear infinite;
  opacity: 0.9;
}

/* ANIMATION */
@keyframes moveLines {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 600px 400px, -600px -400px;
  }
}

/* CONTENT */
.cta-lines-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.cta-lines-content h2 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
}

.cta-lines-content p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  max-width: 720px;
  margin: 0 auto 36px;
}

/* BUTTONS */
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.cta-primary {
  background: #ffffff;
  color: #6d28d9;
  padding: 15px 34px;
  font-weight: 700;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
  transition: all .3s ease;
}

.cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 70px rgba(0,0,0,0.35);
  color: #6d28d9;
}

.cta-outline {
  border: 1px solid rgba(255,255,255,0.6);
  color: #ffffff;
  padding: 15px 34px;
  font-weight: 600;
  border-radius: 10px;
  backdrop-filter: blur(6px);
  transition: all .3s ease;
}

.cta-outline:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .cta-lines {
    padding: 100px 20px;
    border-radius: 22px;
  }

  .cta-lines-content h2 {
    font-size: 34px;
  }

  .cta-lines-content p {
    font-size: 16px;
  }
}


/* ═══════════════════════════════════════════════════════════════
   (audit) TYPE CARDS — expanded from decorative tiles into real,
   linked capability blocks. The twelve cards previously carried a
   title and one generic sentence with no outbound link on the page
   at all; they now hold a lead, three capability points and three
   links into the feature pages that back them up.
═══════════════════════════════════════════════════════════════ */

/* Hero: room for the secondary link next to the primary CTA */
.phb-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 30px;
}
.phb-alt-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 6px;
  font-size: 15px;
  font-weight: 600;
  color: #6f42c1;
  text-decoration: none;
  transition: color .25s ease;
}
.phb-alt-link i { font-size: 17px; transition: transform .25s ease; }
.phb-alt-link:hover { color: #3b0764; }
.phb-alt-link:hover i { transform: translateX(3px); }

/* Section head above the grid */
.types-head {
  max-width: 720px;
  margin: 0 auto 46px;
  text-align: center;
}
.types-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #6f42c1;
  background: rgba(111,66,193,.08);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.types-title {
  font-size: 36px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 14px;
}
.types-sub {
  font-size: 16.5px;
  color: #6b7280;
  line-height: 1.7;
  margin: 0;
}

/* ── The card itself ─────────────────────────────────────────── */
.type-card {
  display: flex;
  flex-direction: column;
  text-align: left;          /* was centred when it held one line */
  padding: 30px 28px 26px;
  border: 1px solid #f0ecfa;
}

.type-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
/* Override the old centred 64px tile */
.type-card .type-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin: 0;
  font-size: 26px;
  flex-shrink: 0;
}
.type-name {
  font-size: 19px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin: 0;
}

.type-lead {
  font-size: 14.5px;
  color: #6b7280;
  line-height: 1.7;
  margin: 0 0 18px;
}

.type-points {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.type-points li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #475569;
}
.type-points i {
  color: #6f42c1;
  font-size: 16px;
  line-height: 1.35;
  flex-shrink: 0;
}

/* ── Link row: the whole point of the fix ────────────────────── */
.type-links {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #f1eefb;
}
.type-links-label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 10px;
}
.type-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.type-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;           /* a11y: comfortable tap target */
  padding: 0 15px;
  border-radius: 50px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.2;
  color: #5b21b6;
  background: rgba(111,66,193,.06);
  border: 1px solid rgba(111,66,193,.16);
  text-decoration: none;
  transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
}
.type-link i { font-size: 14px; transition: transform .22s ease; }
.type-link:hover {
  background: #6f42c1;
  border-color: #6f42c1;
  color: #fff;
  transform: translateY(-1px);
}
.type-link:hover i { transform: translateX(3px); }
.type-link:focus-visible,
.phb-alt-link:focus-visible,
.types-more-btn:focus-visible {
  outline: 2px solid #6f42c1;
  outline-offset: 3px;
}

/* ── "Not on the list?" strip ────────────────────────────────── */
.types-more {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 46px;
  padding: 30px 34px;
  border-radius: 22px;
  background: linear-gradient(135deg, #faf7ff 0%, #f4efff 100%);
  border: 1px solid #ece4fb;
}
.types-more-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #fff;
  flex-shrink: 0;
  background: linear-gradient(135deg, #6f42c1, #9333ea);
}
.types-more-text { flex: 1 1 320px; }
.types-more-text h3 {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px;
}
.types-more-text p {
  font-size: 14.5px;
  color: #6b7280;
  line-height: 1.7;
  margin: 0;
}
.types-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 50px;
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #6f42c1, #9333ea);
  box-shadow: 0 14px 34px rgba(111,66,193,.28);
  transition: transform .25s ease, box-shadow .25s ease;
  flex-shrink: 0;
}
.types-more-btn i { font-size: 16px; transition: transform .25s ease; }
.types-more-btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 20px 46px rgba(111,66,193,.35);
}
.types-more-btn:hover i { transform: translateX(3px); }

@media (max-width: 991px) {
  .types-title { font-size: 29px; }
  .types-head { margin-bottom: 36px; }
}
@media (max-width: 575px) {
  .type-card { padding: 26px 22px 24px; }
  .types-more { padding: 26px 22px; gap: 18px; }
  .types-more-btn { width: 100%; justify-content: center; }
  .types-title { font-size: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  .type-link,
  .type-link i,
  .phb-alt-link,
  .phb-alt-link i,
  .types-more-btn,
  .types-more-btn i { transition: none; }
  .type-link:hover,
  .types-more-btn:hover { transform: none; }
  .type-link:hover i,
  .phb-alt-link:hover i,
  .types-more-btn:hover i { transform: none; }
}
