/* =========================================================================
   FLUID CULINARY RIVER & ORGANIC STORY CANVAS
   Completely removes rigid box shapes, card containers, and borders.
   Uses delicate organic arches, fluid silhouette masks, a continuous
   central thread, floating ingredient badges, and breathing typography.
   Strictly scoped to .res-organic-river to prevent global conflicts.
   ========================================================================= */

.res-organic-river {
  background: #fdfbf8;
  color: #1a1e24;
  font-family: var(--body-f, 'DM Sans', -apple-system, sans-serif);
  padding: 120px 0 150px;
  position: relative;
  overflow: hidden;
}

.res-organic-river * {
  box-sizing: border-box;
}

.res-organic-river .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Ambient warm backdrop light */
.res-organic-river::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 850px;
  background: radial-gradient(circle, rgba(202, 158, 78, 0.06) 0%, rgba(253, 251, 248, 0) 70%);
  pointer-events: none;
}

/* ── Section Header ── */
.res-river-head {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 90px;
}

.res-river-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 20px;
  background: rgba(202, 158, 78, 0.12);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #a3782b;
  margin-bottom: 20px;
}

.res-river-title {
  font-family: var(--display-f, 'Sora', Georgia, serif);
  font-size: clamp(38px, 5.2vw, 68px);
  font-weight: 300;
  line-height: 1.15;
  color: #111315;
  letter-spacing: -0.5px;
  margin: 0 0 20px;
}

.res-river-title strong {
  font-weight: 700;
  color: #111315;
}

.res-river-title span {
  font-style: italic;
  font-weight: 400;
  color: #ca9e4e;
}

.res-river-desc {
  font-size: 18px;
  line-height: 1.75;
  color: #5d6470;
  margin: 0;
}

/* ── 1. The Continuous Culinary Stream (Organic Flows) ── */
.res-river-stream {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 120px;
  margin-bottom: 130px;
}

/* Central subtle guiding thread */
.res-river-stream::before {
  content: '';
  position: absolute;
  top: 40px;
  bottom: 40px;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, rgba(202, 158, 78, 0) 0%, rgba(202, 158, 78, 0.35) 15%, rgba(202, 158, 78, 0.35) 85%, rgba(202, 158, 78, 0) 100%);
  transform: translateX(-50%);
  z-index: 1;
}

/* Alternating Fluid Story Rows */
.res-river-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Reversed layout on even rows */
.res-river-row.is-reversed {
  direction: rtl;
}

.res-river-row.is-reversed > * {
  direction: ltr;
}

/* Center Timeline Node Marker */
.res-row-node {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(202, 158, 78, 0.4);
  box-shadow: 0 4px 16px rgba(202, 158, 78, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display-f, 'Sora', sans-serif);
  font-size: 13px;
  font-weight: 700;
  color: #ca9e4e;
  z-index: 5;
}

/* Organic Portal (Arch & Fluid Silhouette) - Scaled to Wide Layout */
.res-river-portal {
  position: relative;
  width: 100%;
}

.res-river-row.is-reversed .res-river-portal {
  margin-right: 0;
  margin-left: auto;
}

.res-river-row:not(.is-reversed) .res-river-portal {
  margin-left: 0;
  margin-right: auto;
}

.res-portal-frame {
  position: relative;
  width: 100%;
  height: clamp(400px, 32vw, 460px);
  overflow: hidden;
  /* Sculptural Organic Arch */
  border-radius: 180px 180px 24px 24px;
  background: #eee8de;
  box-shadow: 0 30px 60px rgba(17, 19, 21, 0.08);
}

/* Inverted Arch on alternate rows for sculptural variety */
.res-river-row.is-reversed .res-portal-frame {
  border-radius: 28px 28px 200px 200px;
}

.res-portal-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.res-river-row:hover .res-portal-frame img {
  transform: scale(1.05);
}

/* Floating Organic Badge on photo */
.res-portal-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(17, 19, 21, 0.78);
  backdrop-filter: blur(8px);
  padding: 7px 18px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* River Typography Copy (No Boxes, Pure Editorial) - Flush Alignment */
.res-river-copy {
  max-width: 480px;
  width: 100%;
}

.res-river-row.is-reversed .res-river-copy {
  margin-right: auto;
  margin-left: 0;
}

.res-river-row:not(.is-reversed) .res-river-copy {
  margin-left: auto;
  margin-right: 0;
}

.res-river-time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: #ca9e4e;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.res-river-copy h3 {
  font-family: var(--display-f, 'Sora', Georgia, serif);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 600;
  color: #111315;
  line-height: 1.2;
  margin: 0 0 18px;
}

.res-river-copy p {
  font-size: 16px;
  line-height: 1.8;
  color: #555c68;
  margin: 0 0 24px;
}

/* Organic Pill Badges */
.res-river-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.res-river-tag {
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 16px;
  background: #f5eee4;
  color: #4b453d;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Organic Action Link */
.res-river-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #111315;
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

.res-river-cta::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #ca9e4e;
  transition: width 0.3s ease;
}

.res-river-cta:hover {
  color: #ca9e4e;
}

/* ── 2. Open-Air Culinary Manifesto (Completely Frameless) ── */
.res-river-manifesto {
  padding: 60px 0;
  border-top: 1px solid rgba(202, 158, 78, 0.25);
  border-bottom: 1px solid rgba(202, 158, 78, 0.25);
  margin-bottom: 90px;
}

.res-manifesto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.res-manifesto-item {
  text-align: left;
}

.res-manifesto-num {
  font-family: var(--display-f, 'Sora', sans-serif);
  font-size: 32px;
  font-weight: 300;
  color: #ca9e4e;
  margin-bottom: 8px;
  display: block;
}

.res-manifesto-item h4 {
  font-family: var(--display-f, 'Sora', sans-serif);
  font-size: 20px;
  font-weight: 600;
  color: #111315;
  margin: 0 0 10px;
}

.res-manifesto-item p {
  font-size: 14.5px;
  line-height: 1.7;
  color: #5d6472;
  margin: 0;
}

/* ── 3. Floating Organic Reservation Dock ── */
.res-river-dock {
  background: #111315;
  color: #ffffff;
  border-radius: 999px;
  padding: 18px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  box-shadow: 0 25px 60px rgba(17, 19, 21, 0.16);
  max-width: 900px;
  margin: 0 auto;
}

.res-dock-text h4 {
  font-family: var(--display-f, 'Sora', sans-serif);
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 4px;
}

.res-dock-text p {
  font-size: 13.5px;
  color: #a4abb8;
  margin: 0;
}

.res-dock-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.res-btn-dock-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: #ca9e4e;
  color: #ffffff;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.res-btn-dock-gold:hover {
  background: #dbb05f;
  color: #111315;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(202, 158, 78, 0.3);
}

.res-btn-dock-tel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.res-btn-dock-tel:hover {
  color: #ca9e4e;
}

/* ── Responsive Adaptations ── */
@media (max-width: 991px) {
  .res-river-stream::before,
  .res-row-node {
    display: none;
  }

  .res-river-row,
  .res-river-row.is-reversed {
    grid-template-columns: 1fr;
    gap: 40px;
    direction: ltr;
  }

  .res-river-row.is-reversed > * {
    direction: ltr;
  }

  .res-river-portal,
  .res-river-copy {
    max-width: 100%;
    margin: 0 !important;
  }

  .res-portal-frame {
    height: 340px;
  }

  .res-manifesto-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .res-river-dock {
    border-radius: 24px;
    flex-direction: column;
    text-align: center;
    padding: 30px 24px;
  }

  .res-dock-actions {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .res-organic-river {
    padding: 70px 0 90px;
  }

  .res-river-stream {
    gap: 60px;
  }

  .res-portal-frame {
    height: 260px;
    border-radius: 120px 120px 20px 20px !important;
  }
}
