/* Partner Landing Pages - Shared Styles (p- prefix) */

/* ── LAYOUT: prevent horizontal overflow and footer clipping ── */
html {
  overflow-x: hidden;
}
body {
  min-height: 100vh;
  height: auto !important;
}
.site-footer {
  flex-shrink: 0;
}

/* ── HERO BASE ── */
.p-hero {
  padding: 32px 20px 36px;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
  min-height: 380px;
  flex-shrink: 0;
}

.p-hero-deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.p-hero-deco-1 {
  top: -80px; right: -80px;
  width: 260px; height: 260px;
}
.p-red-bg .p-hero-deco-1 {
  top: -100px; right: -100px;
}

.p-hero-deco-2 {
  bottom: -60px; left: -60px;
  width: 200px; height: 200px;
}

.p-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.p-hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  letter-spacing: -0.5px;
}

.p-hero-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.p-hero-emoji {
  position: absolute;
  bottom: 20px; right: 20px;
  font-size: 72px;
  opacity: 0.2;
  z-index: 0;
}

/* ── STATS ROW ── */
.p-stats-row {
  display: flex;
  gap: 2px;
  position: relative;
  z-index: 1;
}

.p-stat-item {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 14px 12px;
  text-align: center;
}

.p-stat-item:first-child { border-radius: 10px 0 0 10px; }
.p-stat-item:last-child  { border-radius: 0 10px 10px 0; }

.p-stat-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 3px;
}

.p-stat-label {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
}

/* ── SECTION ── */
.p-section {
  padding: 24px 20px 28px;
  background: white;
}

.p-section + .p-section {
  border-top: 1px solid #F0F0F0;
}

.p-section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #1A1A1A;
  margin-bottom: 20px;
}

/* ── STEPS ── */
.p-step {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.p-step:last-child { margin-bottom: 0; }

.p-step-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}

.p-step-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 2px;
}

.p-step-desc {
  font-size: 12px;
  color: #9E9E9E;
  line-height: 1.5;
}

/* ── BENEFIT LIST ── */
.p-benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #F5F5F5;
}

.p-benefit:last-child { border-bottom: none; }

.p-benefit-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.p-benefit-text {
  font-size: 13px;
  font-weight: 500;
  color: #1A1A1A;
}

/* ── FORM SECTION ── */
.p-form-section {
  padding: 24px 20px 32px;
  background: #F2F1EF;
}

.p-form-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #1A1A1A;
  margin-bottom: 4px;
}

.p-form-sub {
  font-size: 13px;
  color: #9E9E9E;
  margin-bottom: 20px;
  line-height: 1.5;
}

.p-form-group { margin-bottom: 12px; }

.p-form-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #757575;
  margin-bottom: 6px;
  display: block;
}

.p-input {
  width: 100%;
  background: white;
  border: 1.5px solid #E8E8E8;
  border-radius: 12px;
  padding: 13px 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: #1A1A1A;
  outline: none;
  transition: border-color 0.15s;
  -webkit-appearance: none;
  appearance: none;
}

.p-input::placeholder { color: #BDBDBD; }

.p-input-red:focus    { border-color: #D32F2F; }
.p-input-green:focus  { border-color: #2E7D32; }
.p-input-gold:focus   { border-color: #F59E0B; }

.p-textarea {
  width: 100%;
  background: white;
  border: 1.5px solid #E8E8E8;
  border-radius: 12px;
  padding: 13px 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: #1A1A1A;
  outline: none;
  resize: none;
  height: 100px;
  transition: border-color 0.15s;
}

.p-textarea:focus { border-color: #F59E0B; }

.p-submit {
  width: 100%;
  border: none;
  border-radius: 14px;
  padding: 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: white;
  cursor: pointer;
  margin-top: 8px;
  transition: transform 0.1s, box-shadow 0.15s, background 0.15s;
  letter-spacing: 0.02em;
}

.p-submit-red   { background: #D32F2F; box-shadow: 0 6px 20px rgba(211,47,47,0.35); }
.p-submit-green { background: #2E7D32; box-shadow: 0 6px 20px rgba(46,125,50,0.35); }
.p-submit-gold  { background: #F59E0B; color: #1A1A1A; box-shadow: 0 6px 20px rgba(245,158,11,0.35); }

.p-submit:hover { transform: translateY(-2px); }

.p-disclaimer {
  font-size: 11px;
  color: #BDBDBD;
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}

.p-success-msg {
  background: #E8F5E9;
  color: #2E7D32;
  border: 1px solid rgba(46,125,50,0.2);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  text-align: center;
}

/* ── PAGE-SPECIFIC COLOUR TOKENS ── */

/* Restaurant */
.p-red-bg      { background: linear-gradient(135deg, #2A1A1A 0%, #1A1A1A 50%, #1A1515 100%); }
.p-red-deco-1  { background: rgba(211,47,47,0.08); }
.p-red-deco-2  { background: rgba(211,47,47,0.12); }
.p-eyebrow-red { background: rgba(211,47,47,0.2); color: #EF5350; border: 1px solid rgba(211,47,47,0.3); }
.p-step-num-red    { background: #FFEBEE; color: #D32F2F; }
.p-benefit-icon-red { background: #FFEBEE; }

/* Driver */
.p-green-bg      { background: linear-gradient(135deg, #1A2E1C 0%, #111C14 50%, #0F1812 100%); }
.p-green-deco-1  { background: rgba(76,175,80,0.22); }
.p-green-deco-2  { background: rgba(76,175,80,0.12); }
.p-eyebrow-green { background: rgba(76,175,80,0.15); color: #66BB6A; border: 1px solid rgba(76,175,80,0.25); }
.p-step-num-green    { background: #E8F5E9; color: #2E7D32; }
.p-benefit-icon-green { background: #E8F5E9; }

.p-earnings-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(76,175,80,0.2);
  border-radius: 14px;
  padding: 16px;
  position: relative;
  z-index: 1;
}
.p-earnings-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
}
.p-earnings-items { display: flex; gap: 8px; }
.p-earnings-item {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 12px 10px;
  text-align: center;
}
.p-earnings-val {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #66BB6A;
  line-height: 1;
  margin-bottom: 3px;
}
.p-earnings-desc { font-size: 10px; color: rgba(255,255,255,0.4); line-height: 1.3; }

.p-req-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #F5F5F5;
}
.p-req-item:last-child { border-bottom: none; }
.p-req-icon { font-size: 20px; width: 36px; text-align: center; flex-shrink: 0; }
.p-req-text { font-size: 13px; font-weight: 500; color: #1A1A1A; }

/* Franchise */
.p-gold-bg      { background: linear-gradient(135deg, #1A1810 0%, #0D0D0D 50%, #0A0A0A 100%); border-bottom: 1px solid rgba(245,158,11,0.2); }
.p-gold-deco-1  { background: rgba(245,158,11,0.18); }
.p-gold-deco-2  { background: rgba(245,158,11,0.1); }
.p-eyebrow-gold { background: rgba(245,158,11,0.15); color: #FFC107; border: 1px solid rgba(245,158,11,0.25); }
.p-step-num-gold    { background: #FFF8E1; color: #D97706; }
.p-stat-gold { color: #FFC107; }

.p-cities-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.p-city-card {
  background: #F2F1EF;
  border-radius: 12px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.p-city-card-open {
  background: #FFF8E1;
  border: 1.5px dashed rgba(245,158,11,0.4);
}
.p-city-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.p-dot-active { background: #4CAF50; }
.p-dot-soon   { background: #F59E0B; }
.p-dot-gold   { background: #F59E0B; }
.p-city-name  { font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 700; color: #1A1A1A; }
.p-city-name-gold { color: #D97706; }
.p-city-status { font-size: 10px; color: #9E9E9E; }
