/* ============================================================
   PALM BAY COMMISSARY — Home Page Styles (new structure)
   ============================================================ */

/* ── Shared utilities ───────────────────────────────────── */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-label-wrap { text-align: center; margin-bottom: 0.75rem; }

.section-pill {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 2rem;
}
.section-pill-light {
  background: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.95);
}

.section-title {
  text-align: center;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 3rem;
}
.section-title-white { color: white; }

/* ── HERO ───────────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  padding-top: 2rem;
  padding-bottom: 2rem;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 39, 68, 0.88) 0%,
    rgba(27, 94, 168, 0.72) 60%,
    rgba(125, 200, 232, 0.45) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem 6rem;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3rem;
  align-items: center;
  width: 100%;
}

/* Hero text */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(245, 167, 34, 0.2);
  border: 1px solid rgba(245, 167, 34, 0.5);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 2rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  color: white;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
.hero-highlight {
  color: var(--accent);
  display: inline-block;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: 2rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(245,167,34,0.4);
}
.btn-hero-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(245,167,34,0.5);
}

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: 2rem;
  border: 2px solid rgba(255,255,255,0.55);
  transition: all 0.25s ease;
}
.btn-hero-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: white;
  transform: translateY(-3px);
}

/* Hero floating card */
.hero-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 1.5rem;
  padding: 2rem;
  color: white;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.hero-card-header i { font-size: 1rem; }

.hero-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.hero-stat {
  text-align: center;
  padding: 1rem;
  background: rgba(255,255,255,0.08);
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.12);
}
.hero-stat strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 0.3rem;
}
.hero-stat span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

.hero-card-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.2s ease, gap 0.2s ease;
}
.hero-card-link:hover { color: var(--accent); gap: 0.65rem; }

/* Hero wave */
.hero-wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  z-index: 3;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: 80px; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fadeInUp { animation: fadeInUp 0.8s ease-out both; }

/* ── WHY US ─────────────────────────────────────────────── */
.whyus-section {
  background: var(--bg-white);
  padding: 6rem 0 5rem;
}

.whyus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.whyus-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.75rem;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  background: var(--bg-light);
  transition: all 0.3s ease;
}
.whyus-item:hover {
  border-color: var(--sky);
  background: var(--bg-white);
  box-shadow: 0 8px 28px var(--shadow-md);
  transform: translateY(-4px);
}

.whyus-icon-wrap {
  flex-shrink: 0;
  width: 3rem; height: 3rem;
  background: linear-gradient(135deg, var(--primary), var(--sky));
  border-radius: 0.875rem;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease;
}
.whyus-item:hover .whyus-icon-wrap {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  transform: rotate(6deg);
}
.whyus-icon-wrap i { color: white; font-size: 1.15rem; }

.whyus-text h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}
.whyus-text p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.65; }

/* ── SERVICES BENTO ─────────────────────────────────────── */
.services-bento-section {
  background: var(--bg-section);
  padding: 5rem 0;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1.25rem;
}

/* Big featured card spans 2 rows */
.bento-card {
  background: var(--bg-white);
  border-radius: 1.25rem;
  padding: 1.75rem;
  border: 1px solid var(--border);
  box-shadow: 0 3px 16px var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px var(--shadow-md);
  border-color: var(--primary-light);
}

.bento-featured {
  grid-column: 1;
  grid-row: 1 / 3;
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border: none;
}
.bento-featured h3 { color: #ffffff !important; }
.bento-featured p  { color: rgba(255,255,255,0.88) !important; }
.bento-featured .bento-link { color: var(--accent) !important; }
.bento-featured:hover { box-shadow: 0 18px 48px rgba(27,94,168,0.35); border: none; }

.bento-icon {
  width: 3.5rem; height: 3.5rem;
  background: rgba(255,255,255,0.15);
  border-radius: 1rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.bento-icon i { font-size: 1.5rem; color: var(--accent); }

.bento-icon-sm {
  width: 2.5rem; height: 2.5rem;
  background: var(--primary-light);
  border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}
.bento-card:hover .bento-icon-sm {
  background: linear-gradient(135deg, var(--primary), var(--sky));
}
.bento-icon-sm i { font-size: 1.1rem; color: var(--primary); }
.bento-card:hover .bento-icon-sm i { color: white; }

.bento-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}
.bento-card p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.6;
  flex: 1;
}

.bento-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  transition: gap 0.2s ease, color 0.2s ease;
}
.bento-link:hover { gap: 0.6rem; color: var(--accent); }

/* CTA card in bento */
.bento-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border: none;
  text-align: center;
  align-items: center;
  justify-content: center;
}
.bento-cta h3 { color: var(--text-dark); font-size: 1.1rem; }
.bento-cta p  { color: rgba(15,39,68,0.75); font-size: 0.85rem; }
.bento-cta-icon { font-size: 2rem; color: rgba(15,39,68,0.5); margin-bottom: 0.75rem; }
.bento-cta:hover { box-shadow: 0 14px 36px rgba(245,167,34,0.4); }

.btn-bento-all {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  background: var(--text-dark);
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.65rem 1.5rem;
  border-radius: 2rem;
  transition: all 0.25s ease;
}
.btn-bento-all:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* ── PROCESS ────────────────────────────────────────────── */
.process-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--sky) 100%);
  padding: 0;
  position: relative;
}

.process-wave-top,
.process-wave-bottom {
  line-height: 0;
  display: block;
}
.process-wave-top svg,
.process-wave-bottom svg {
  width: 100%;
  height: 60px;
}

.process-section .section-container {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.steps-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  justify-content: center;
}

.step-box {
  flex: 1;
  max-width: 300px;
  text-align: center;
  padding: 2.25rem 1.5rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 1.5rem;
  position: relative;
  transition: all 0.3s ease;
}
.step-box:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}

.step-num {
  position: absolute;
  top: -1rem; left: 50%; transform: translateX(-50%);
  background: var(--accent);
  color: var(--text-dark);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  letter-spacing: 0.04em;
}

.step-icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

.step-box h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.6rem;
}
.step-box p { font-size: 0.88rem; color: rgba(255,255,255,0.75); line-height: 1.65; }

.step-connector {
  display: flex;
  align-items: center;
  padding-top: 2rem;
  color: rgba(255,255,255,0.35);
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* ── CTA FINAL ──────────────────────────────────────────── */
.cta-final-section {
  background: var(--bg-white);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.cta-bg-shape {
  position: absolute;
  top: -80px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}

.cta-text h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.cta-text p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 540px;
}

.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-cta-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.9rem 2rem;
  border-radius: 2rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(245,167,34,0.35);
}
.btn-cta-gold:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(245,167,34,0.5);
}

.btn-cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.9rem 2rem;
  border-radius: 2rem;
  border: 2px solid var(--primary);
  transition: all 0.25s ease;
}
.btn-cta-ghost:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.cta-badges {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cta-badge {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
}
.cta-badge i { color: var(--accent); font-size: 1rem; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text  { display: flex; flex-direction: column; align-items: center; }
  .hero-sub   { text-align: center; }
  .hero-card  { max-width: 480px; margin: 0 auto; }
  .hero-title { font-size: 2.5rem; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-featured { grid-column: 1 / 3; grid-row: auto; }
  .cta-inner  { grid-template-columns: 1fr; }
  .cta-badges { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; }
}

@media (max-width: 768px) {
  .hero-section  { min-height: 100svh; }
  .hero-inner    { padding: 2rem 1.25rem 5rem; gap: 2rem; }
  .hero-title    { font-size: 1.875rem; }
  .hero-card     { display: none; } /* ocultamos la card en mobile para no saturar */
  .section-title { font-size: 1.625rem; margin-bottom: 2rem; }
  .whyus-section { padding: 4rem 0 3rem; }
  .whyus-grid    { grid-template-columns: 1fr; }
  .whyus-item    { padding: 1.25rem; }
  .services-bento-section { padding: 3.5rem 0; }
  .bento-grid    { grid-template-columns: 1fr; }
  .bento-featured { grid-column: 1; grid-row: auto; }
  .bento-card    { padding: 1.5rem; }
  .process-section .section-container { padding-top: 2rem; padding-bottom: 2rem; }
  .steps-row     { flex-direction: column; align-items: stretch; gap: 0.5rem; }
  .step-connector { display: none; }
  .step-box      { max-width: 100%; width: 100%; padding: 1.75rem 1.25rem; }
  .cta-final-section { padding: 4rem 0; }
  .cta-text h2   { font-size: 1.75rem; }
  .cta-badges    { flex-direction: row; flex-wrap: wrap; }
  .cta-badge     { white-space: normal; flex: 1; min-width: 140px; }
}

@media (max-width: 480px) {
  .hero-badge    { font-size: 0.72rem; }
  .hero-title    { font-size: 1.5rem; line-height: 1.2; }
  .hero-sub      { font-size: 0.9rem; }
  .hero-actions  { flex-direction: column; width: 100%; }
  .btn-hero-primary, .btn-hero-outline { width: 100%; justify-content: center; }
  .section-title { font-size: 1.4rem; }
  .whyus-icon-wrap { width: 2.5rem; height: 2.5rem; }
  .whyus-text h3 { font-size: 0.95rem; }
  .whyus-text p  { font-size: 0.85rem; }
  .bento-card h3 { font-size: 0.95rem; }
  .bento-card p  { font-size: 0.82rem; }
  .step-box h4   { font-size: 0.95rem; }
  .step-box p    { font-size: 0.82rem; }
  .cta-text h2   { font-size: 1.5rem; }
  .cta-actions   { flex-direction: column; }
  .btn-cta-gold, .btn-cta-ghost { width: 100%; justify-content: center; }
}
