/* SALSA — Catering Page Styles (Revamped) */

/* HERO */
.catering-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.catering-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.05);
  animation: slowZoom 20s ease-out forwards;
}

@keyframes slowZoom {
  to { transform: scale(1) }
}

.catering-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(38,38,38,0.4) 0%, rgba(38,38,38,0.85) 100%);
  z-index: 1;
}

.catering-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.catering-hero h1 {
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
}

.catering-hero h1 span {
  color: var(--red);
  text-shadow: 0 2px 10px rgba(192, 24, 46, 0.3);
}

.catering-hero p {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 650px;
  margin-inline: auto;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-btn-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  padding: 16px 32px;
  box-shadow: 0 8px 24px rgba(192, 24, 46, 0.4);
}

.hero-btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(5px);
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}

.hero-btn-wa:hover {
  background: rgba(255,255,255,0.2);
  border-color: var(--white);
}

/* HOW IT WORKS */
.how-it-works-section {
  padding: 80px 20px;
  background: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.step-card {
  text-align: center;
  padding: 30px 20px;
}

.step-icon {
  width: 64px;
  height: 64px;
  background: var(--cream);
  color: var(--red);
  font-size: 1.5rem;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.step-card p {
  color: var(--gray-text);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ESTIMATOR */
.estimator-section {
  padding: 80px 20px;
  background: var(--cream);
}

.estimator-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(38,38,38,0.06);
  padding: 48px;
}

.estimator-content {
  text-align: center;
}

.estimator-content h2 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.estimator-content p {
  color: var(--gray-text);
  margin-bottom: 40px;
  line-height: 1.5;
}

.estimator-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  text-align: left;
}

.est-group {
  margin-bottom: 20px;
}

.est-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.est-input-wrap {
  display: flex;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  height: 52px;
}

.est-btn {
  background: var(--gray-bg);
  border: none;
  width: 52px;
  height: 100%;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  cursor: pointer;
  transition: background 0.2s;
}

.est-btn:hover {
  background: var(--border);
}

.est-input-wrap input {
  flex: 1;
  height: 100%;
  border: none;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  color: var(--black);
}

.est-input-wrap input:focus {
  outline: none;
}

.est-hint {
  display: block;
  font-size: 0.8rem;
  color: var(--gray-text);
  margin-top: 8px;
}

.est-result {
  grid-column: 1 / -1;
  background: var(--black);
  color: var(--white);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  margin-top: 10px;
}

.est-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
  margin-bottom: 8px;
}

.est-price {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 12px;
}

#est-total {
  transition: opacity 0.15s ease;
}

.est-price .currency {
  font-size: 1.5rem;
  font-weight: 600;
  opacity: 0.8;
}

.est-note {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* CUSTOM FORMULE */
.custom-formule-section {
  padding: 80px 20px 80px;
  background: var(--white);
}

.custom-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--red);
  color: var(--white);
  border-radius: 20px;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: 0 16px 32px rgba(192, 24, 46, 0.2);
}

.custom-text h2 {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.custom-text p {
  opacity: 0.9;
  line-height: 1.5;
  font-size: 1.05rem;
}

.custom-cta .btn {
  background: var(--white);
  color: var(--red);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(38,38,38,0.1);
}

.custom-cta .btn:hover {
  background: var(--cream);
  transform: translateY(-2px);
}

/* FORM */
.catering-form-section {
  background: var(--gray-bg);
  padding: 80px 20px;
}

.catering-form-wrap {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  padding: 48px;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(38,38,38,0.05);
}

.catering-form-header {
  text-align: center;
  margin-bottom: 40px;
}

.catering-form-header .eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 12px;
}

.catering-form-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  margin-bottom: 12px;
}

.catering-form-header p {
  color: var(--gray-text);
  line-height: 1.5;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 1rem;
  font-family: 'Outfit', sans-serif;
  color: var(--black);
  transition: border-color 0.2s ease;
  background: var(--white);
}

.form-control:focus {
  outline: none;
  border-color: var(--red);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.phone-wrap {
  display: flex;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
  background: var(--white);
}

.phone-wrap:focus-within {
  border-color: var(--red);
}

.phone-prefix {
  padding: 14px 14px;
  font-weight: 700;
  color: var(--gray-text);
  border-right: 1px solid var(--border);
  background: var(--gray-bg);
  white-space: nowrap;
}

.phone-wrap input {
  border: none;
  outline: none;
  padding: 14px 14px;
  font-size: 1rem;
  font-family: 'Outfit', sans-serif;
  flex: 1;
  background: transparent;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .custom-card {
    flex-direction: column;
    text-align: center;
    padding: 30px 24px;
  }
}

@media (max-width: 768px) {
  .catering-hero {
    min-height: 70vh;
  }
  
  .hero-ctas {
    flex-direction: column;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .estimator-container {
    padding: 36px 24px;
  }
  
  .estimator-box {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .catering-form-wrap {
    padding: 40px 24px;
  }
}


/* Honeypot — off-screen rather than display:none, which some bots detect */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-error-banner {
  background: #fde8ea; border: 1.5px solid var(--red); color: var(--red);
  border-radius: 14px; padding: 14px 18px; margin-bottom: 20px;
  font-weight: 700; font-size: .92rem;
}
