/* ==================================================
   HOME PAGE — Landing sections
   ================================================== */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 24, 27, 0.55) 0%, rgba(20, 24, 27, 0.35) 45%, rgba(20, 24, 27, 0.85) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  color: #fff;
  padding-bottom: 64px;
}

.hero__content .eyebrow {
  color: var(--color-secondary);
}

.hero__content h1 {
  color: #fff;
  max-width: 780px;
  margin-inline: auto;
  margin-bottom: 20px;
}

.hero__content p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 40px;
  font-size: 1.05rem;
}

.hero__actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  justify-content: center;
  gap: 56px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.hero__stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
}

.hero__stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  opacity: 0.8;
}

.scroll-indicator i {
  animation: float 2s ease-in-out infinite;
}

/* ---------- Hero (split, agency-style layout) ---------- */
.hero--split {
  min-height: auto;
  position: static;
  overflow: visible;
  padding-top: calc(var(--header-height) + 56px);
  padding-bottom: 72px;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.hero-split {
  display: flex;
  align-items: center;
  gap: 56px;
}

.hero-split__text {
  flex: 1;
  text-align: left;
}

.hero-split__text h1 {
  color: var(--color-text);
  max-width: 560px;
  margin-bottom: 20px;
}

.hero-split__text > p {
  color: var(--color-text-muted);
  max-width: 480px;
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.hero-split__text .hero__actions {
  justify-content: flex-start;
}

.hero-split__text .hero__stats {
  justify-content: flex-start;
  margin-top: 48px;
}

.hero-split__text .hero__stat-value {
  color: var(--color-text);
}

.hero-split__text .hero__stat-label {
  color: var(--color-text-muted);
}

.hero-split__image {
  flex: 0 0 42%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-split__image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.text-accent { color: var(--color-primary); }

.section--tint { background: rgba(244, 162, 97, 0.14); }

@media (max-width: 900px) {
  .hero-split { flex-direction: column; }
  .hero-split__text { text-align: center; }
  .hero-split__text h1,
  .hero-split__text > p { margin-inline: auto; }
  .hero-split__text .hero__actions,
  .hero-split__text .hero__stats { justify-content: center; }
  .hero-split__image { flex-basis: auto; width: 100%; }
  .hero-split__image img { height: 300px; }
}

/* ---------- Trusted Restaurants ---------- */
.trusted {
  padding-block: 48px;
  border-bottom: 1px solid var(--color-border);
}

.trusted__label {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}

.trusted__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  opacity: 0.6;
}

.trusted__logos img {
  height: 32px;
  filter: grayscale(100%);
  transition: all var(--transition-base);
}

.trusted__logos img:hover {
  filter: grayscale(0%);
  transform: translateY(-2px);
}

/* ---------- Featured Dining ---------- */
.feature-grid {
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
}

.feature-grid .feature-card:first-child {
  grid-row: span 2;
  min-height: 100%;
}

@media (max-width: 992px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
  .feature-grid .feature-card:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 576px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .feature-grid .feature-card:first-child {
    grid-column: span 1;
  }
}

/* ---------- Categories ---------- */
.category-grid {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 992px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 576px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
}

.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.category-card:hover img {
  transform: scale(1.1);
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(38, 70, 83, 0.85), transparent 65%);
}

.category-card__label {
  position: relative;
  z-index: 2;
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-card__label i {
  color: var(--color-secondary);
}

/* ---------- Why Choose ---------- */
.why-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

@media (max-width: 992px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
  .why-grid { grid-template-columns: 1fr; }
}

.why-card {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.why-card__icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 20px;
}

.why-card h4 {
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.9rem;
}

/* ---------- Testimonials ---------- */
.testimonials {
  background: var(--color-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.testimonials .section-header h2,
.testimonials .eyebrow {
  color: #fff;
}

.testimonials .eyebrow {
  color: var(--color-secondary);
}

.testimonial-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}

.testimonial-track::-webkit-scrollbar {
  display: none;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testimonial-grid .testimonial-card {
  flex: none;
}

@media (max-width: 700px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

.testimonial-card {
  scroll-snap-align: start;
  flex: 0 0 min(420px, 85vw);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.testimonial-card .rating i { color: var(--color-secondary); }

.testimonial-card p {
  color: rgba(255, 255, 255, 0.8);
  margin-block: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author strong {
  display: block;
}

.testimonial-author span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

/* ---------- Mobile App CTA ---------- */
.app-cta {
  background: var(--gradient-dark);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 56px;
  gap: 40px;
  position: relative;
}

.app-cta__content {
  color: #fff;
  max-width: 460px;
}

.app-cta__content h2 { color: #fff; }
.app-cta__content p { color: rgba(255, 255, 255, 0.75); margin-block: 16px 28px; }

.app-cta__badges {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.app-cta__image {
  max-width: 280px;
}

@media (max-width: 768px) {
  .app-cta {
    flex-direction: column;
    text-align: center;
    padding: 40px 28px;
  }
  .app-cta__badges { justify-content: center; }
}

/* ---------- Location & Hours ---------- */
.location-cta {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 48px;
  background: var(--color-card);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}

.location-cta > div:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location-cta img {
  width: 480px;
  max-width: 45%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  align-self: stretch;
}

.hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 320px;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .location-cta {
    flex-direction: column;
    padding: 32px 24px;
    text-align: center;
  }
  .location-cta img { max-width: 100%; width: 100%; height: 220px; align-self: auto; }
  .hours-list { margin-inline: auto; }
}

/* ---------- Service badges (brand-colored icon cards) ---------- */
.badge-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 992px) {
  .badge-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
  .badge-grid { grid-template-columns: 1fr; }
}

.badge-card {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.badge-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.badge-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 18px;
}

.badge-card__icon--primary { background: var(--color-primary); }
.badge-card__icon--secondary { background: var(--color-secondary); }
.badge-card__icon--accent { background: var(--color-accent); }
.badge-card__icon--dark { background: var(--color-dark); }

.badge-card h4 { margin-bottom: 8px; }
.badge-card p { font-size: 0.88rem; }

/* ---------- Numbered steps (alternating text + image) ---------- */
.steps-split {
  display: flex;
  align-items: center;
  gap: 56px;
}

.steps-split__image {
  flex: 0 0 42%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.steps-split__image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.steps-list {
  flex: 1;
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps-list li {
  display: flex;
  gap: 18px;
  position: relative;
  padding-bottom: 32px;
}

.steps-list li:last-child { padding-bottom: 0; }

.steps-list li::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}

.steps-list li:last-child::before { display: none; }

.steps-list__num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.steps-list h4 { margin-bottom: 4px; }
.steps-list p { font-size: 0.9rem; }

@media (max-width: 768px) {
  .steps-split { flex-direction: column; }
  .steps-split__image { flex-basis: auto; width: 100%; }
  .steps-split__image img { height: 260px; }
}

/* ---------- About split (text + image, soft brand background) ---------- */
.about-split {
  display: flex;
  align-items: center;
  gap: 56px;
  background: var(--tint-surface);
  border-radius: var(--radius-xl);
  padding: 48px;
}

.about-split__image {
  flex: 0 0 40%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-split__image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.about-split__content { flex: 1; }
.about-split__content p { margin-top: 12px; }

@media (max-width: 768px) {
  .about-split { flex-direction: column; padding: 32px 24px; text-align: center; }
  .about-split__image { flex-basis: auto; width: 100%; }
  .about-split__image img { height: 240px; }
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  text-align: left;
}

.cta-banner h2, .cta-banner p { color: #fff; }
.cta-banner p { margin-top: 6px; opacity: 0.9; }

.cta-banner .btn-ghost {
  background: #fff;
  color: var(--color-primary);
}

.cta-banner .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.9);
}

@media (max-width: 576px) {
  .cta-banner { flex-direction: column; text-align: center; padding: 36px 24px; }
}

/* ---------- Team section (angled photo frames, staggered) ---------- */
.team-section {
  background: var(--gradient-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.team-section .eyebrow { color: var(--color-secondary); }
.team-section .section-header h2 { color: #fff; }
.team-section .section-header p { color: rgba(255, 255, 255, 0.65); }

.team-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 72px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.team-card {
  text-align: center;
  width: 180px;
}

.team-card--offset {
  margin-top: 56px;
}

.team-card__frame {
  width: 170px;
  height: 200px;
  margin: 0 auto 22px;
  clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.team-card__frame i {
  font-size: 3.75rem;
  color: rgba(255, 255, 255, 0.92);
}

.team-card__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h4 {
  color: #fff;
  margin-bottom: 4px;
  font-size: 1rem;
}

.team-card p {
  color: var(--color-secondary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.team-card__social {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.team-card__social:hover {
  color: var(--color-primary, var(--color-secondary));
  text-decoration: underline;
}

@media (max-width: 576px) {
  .team-grid { gap: 32px; }
  .team-card--offset { margin-top: 0; }
}
